struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vasudevrao gupta" <>
Subject RE: img tag with action as src
Date Tue, 03 Feb 2004 18:50:47 GMT


Try using
<html:rewrite page="/some/dir/"/>

-----Original Message-----
From: news [] On Behalf Of Greg Blomquist
Sent: 03 February 2004 23:44
Subject: img tag with action as src

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:

Confidentiality Notice 

The information contained in this electronic message and any attachments to this message are
for the exclusive use of the addressee(s) and may contain confidential or privileged information.
you are not the intended recipient, please notify the sender at Wipro or
and destroy all copies of this message and any attachments.

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

View raw message