RE: sessionId and html:img

2001-08-29 Thread Debasish Ghosh

It doesn't work. Actually I face the same problem for
Struts example application as well. There the image
Powered By Struts does not come the first time, but
comes if I hit a Refresh.

Maybe, it has got something to do with the container
(Tomcat 3.2.2). But I need some help URGENTLY !!

Cheers.


--- Jay Patel [EMAIL PROTECTED] wrote:
 You may want to try using pageKey instead of srcKey.
 It should not make a
 difference but something to check on!
 
 
 Jay Patel
 972-701-9773
 972-849-0373 Mobile
 [EMAIL PROTECTED]
  
 
 
 -Original Message-
 From: Debasish Ghosh [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, August 28, 2001 10:25 PM
 To: [EMAIL PROTECTED]
 Subject: sessionId and html:img
 
 
 Hi -
 
 I am using Struts 1.0 and Tomcat 3.2.2. I am using
 the internationalization
 feature of Struts to render an image as follows :
 
 html:img srcKey=image.logotop/
 
 The first time the page appears, the image is not
 rendered on screen and if I do a Refresh, then the
 image somes properly. 
 
 If I do a view source the first time, the tag gets
 translated with a session id attached. The session
 id
 does not come in subsequent requests. 
 
 I realize that this is due to URL rewriting, but can
 anyone help me out on the problem of image rendering
 the first time the screen is displayed ? However,
 the
 problem does not arise if I turn off the
 internationalization feature and include the gif
 file
 directly with the img tag.
 
 Please Help !!!
 
 Regards.
 
 - Debasish
 
 __
 Do You Yahoo!?
 Make international calls for as low as $.04/minute
 with Yahoo! Messenger
 http://phonecard.yahoo.com/


__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com



RE: sessionId and html:img

2001-08-28 Thread Jay Patel

You may want to try using pageKey instead of srcKey. It should not make a
difference but something to check on!


Jay Patel
972-701-9773
972-849-0373 Mobile
[EMAIL PROTECTED]
 


-Original Message-
From: Debasish Ghosh [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 28, 2001 10:25 PM
To: [EMAIL PROTECTED]
Subject: sessionId and html:img


Hi -

I am using Struts 1.0 and Tomcat 3.2.2. I am using the internationalization
feature of Struts to render an image as follows :

html:img srcKey=image.logotop/

The first time the page appears, the image is not
rendered on screen and if I do a Refresh, then the
image somes properly. 

If I do a view source the first time, the tag gets
translated with a session id attached. The session id
does not come in subsequent requests. 

I realize that this is due to URL rewriting, but can
anyone help me out on the problem of image rendering
the first time the screen is displayed ? However, the
problem does not arise if I turn off the
internationalization feature and include the gif file
directly with the img tag.

Please Help !!!

Regards.

- Debasish

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/