struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bar³omiej Paw³owski <bpawlow...@supermedia.pl>
Subject Re: Problem with <html:img>.. Please Help !!
Date Fri, 31 Aug 2001 08:37:07 GMT
Hi
Use <img src="image.logotop"> instead of <html:img srcKey=""/>

Bartek

Debasish Ghosh wrote:

> Hi all -
>
> This is my second attempt at the problem. I could not
> fix it. Please help !!
>
> I am using Tomcat 3.2.2. When I use an html tag as
> <html:img srcKey="image.logotop"/> (I am using
> Struts), the first time the page comes, the tag gets a
> sessionId. The cookies are enabled in my browser. For
> all subsequent requests, the session id never comes. I
> guess this is the expected behavior of encodeURL()
> (for URL rewriting), which is used by the html:img
> tag. In fact the tag is rendered as: <img
> src="images/logotop.gif;jsessionid=7flhvbc4f1">.
>
> The problem is that the image is not rendered on the
> page. For all subsequent requests (when I hit the
> Refresh button), the session id stops coming (since
> cookies are enabled) and the images are rendered
> properly.
>
> In fact if I disable cookies, then the image never
> gets rendered. I know this may not be a problem of
> Struts directly, but I really cannot find any pointer
> to the solution ... Please help !!
>
> Regards.
>
> - Debasish
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com


Mime
View raw message