Hi,

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

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Greg Blomquist
Sent: 03 February 2004 23:44
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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 [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to