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