struts-user mailing list archives

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

Hi,

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

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Greg Blomquist
Sent: 03 February 2004 23:44
To: struts-user@jakarta.apache.org
Subject: img tag with action as src


I apologize in advance if this question has already been answered
somewhere.
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/myAction.do">

The only problem is that it doesn't like the relative path.  I have to
code
the absolute path:
<img src="http://localhost:0000/MyApp/some/dir/myAction.do">

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?

Thanks!

Btw, I'm running WSAD 5.1 and the error message I get when trying a
relative
path is:
Virtual Host/WebGroup Not Found : The web group
/secure/isa/performance/graph.do has not been defined




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Confidentiality Notice 

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

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message