I've been using the struts logic tags to determine whether or not an img 
tag should be placed.

I have the following

<logic:equal name="foo" property="bar" value="val">
   <img src="images/foo.jpg">
</logic:equal>

The page source shows the following
   <img src="images/foo.jpg">

However my log files say the following is being requested.

   /context/do/images/foo.jpg

As a result the images aren't loaded on my pages.  So i modified the img 
tag path to compensate.

   <img src="../images/foo.jpg">

This works but it's kind of dirty, is there a way around this?

Thanks.

Rob


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

Reply via email to