struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Anderson" <>
Subject Re: img tag with action as src
Date Tue, 03 Feb 2004 18:41:24 GMT
if <img src="/some/dir/">doens't work for you,
then adding an <base> tag isn't going to help you.
You just need to add your application context in there.  Check out:

Also here's another archive site:


>From: Manfred Wolff <>
>To: Struts Users Mailing List <>
>Subject: Re: img tag with action as src
>Date: Tue, 03 Feb 2004 19:27:03 +0100
>use the <html:base/> Tag. Then Struts appends the base uri like
>to your relative path. Your image might be then
><img src="/some/dir/mypicture.jpg">
>Greg Blomquist wrote:
>>I apologize in advance if this question has already been answered 
>>Looks like basebeans is down so I can't search the struts-user archives.
>>I'm trying to do the following:
>><img src="/some/dir/">
>>The only problem is that it doesn't like the relative path.  I have to 
>>the absolute path:
>><img src="http://localhost:0000/MyApp/some/dir/">
>>Which is fine until I move to production.
>>Is there a way to use a relative path when using an action for the src
>>attribute of an image tag?
>>Btw, I'm running WSAD 5.1 and the error message I get when trying a 
>>path is:
>>Virtual Host/WebGroup Not Found : The web group
>>/secure/isa/performance/ has not been defined
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:
>Dipl.-Inf. Manfred Wolff
>phone neusta  : +49 421 20696-27
>phone         : +49 421 534522
>mobil         : +49 178 49 18 434
>eFax          : +49 1212 6 626 63 965 33
>Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich 
>geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder 
>diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den 
>Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die 
>unbefugte Weitergabe dieser Mail ist nicht gestattet.
>This e-mail may contain confidential and/or privileged information. If you 
>are not the intended recipient (or have received this e-mail in error) 
>please notify the sender immediately and destroy this e-mail. Any 
>unauthorised copying, disclosure or distribution of the material in this 
>e-mail is strictly forbidden.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Find high-speed ‘net deals — comparison-shop your local providers here.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message