daiyna wrote:
im sorry this is wrong:

<s:url var="imgURL" value="/imageview"/><
        img src="${imgURL}" alt="img" width="40", height="40"/>

its like:
<
img src="/imageview/somepath" alt="img" width="40", height="40"/>

where somepath is the absolute path for the generated image. imageservlet
was supposed to retrieve the local image to the page

I'm still not clear what /imageview is supposed to do/return, or what the URL in the generated <img> tag is meant to look like. What do you expect to see in your browser if you access the following URLs directly:

1. http://host:port/context/imageview
2. http://host:port/context/imageview/somepath
3. http://host:port/context/somepath

How does that differ, in each case, from what you are seeing?

L.


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

Reply via email to