struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Blomquist" <greg.blomqu...@railinc.com>
Subject img tag with action as src
Date Tue, 03 Feb 2004 18:13:36 GMT
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


Mime
View raw message