You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by pkumar <pr...@gmail.com> on 2007/03/15 08:39:02 UTC

JSP page not updated on each request

Hello, The JSP pages in my project is not showing the updated one upon each
request..Its showing the old one and only when i press the refresh, its
showing the updated one...I believe this is the problem with Tomcat..Can
someone help. 
Thanks in advance 
Pradeep

-- 
View this message in context: http://www.nabble.com/JSP-page-not-updated-on-each-request-tf3406783.html#a9489775
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JSP page not updated on each request

Posted by or...@kewlstuff.co.za.
Mmmm, dont know I think the browser should be picking up file changes, but 
if you want to make sure the browser doesnt cache, then if I remember 
correctly search for NO-CACHE and set the headers returned, the browser will 
reload every time. Note that headers are different for different browsers so 
you have to set a few headers... google will tell you.

Note that when you developing, I've noticed if you leave the browser open, 
it may still display previous page... but it doesnt happen once deployed.

Other thing that maybe catching you is that you changing something in the 
servlet INIT routine... and that somehow impacts on your JSP pages say thru 
a bean. That wont reflect until you stop and start tomcat..INIT runs once at 
start up.

good luck

----- Original Message ----- 
From: "pkumar" <pr...@gmail.com>
To: <us...@tomcat.apache.org>
Sent: Thursday, March 15, 2007 9:39 AM
Subject: JSP page not updated on each request


>
> Hello, The JSP pages in my project is not showing the updated one upon 
> each
> request..Its showing the old one and only when i press the refresh, its
> showing the updated one...I believe this is the problem with Tomcat..Can
> someone help.
> Thanks in advance
> Pradeep
>
> -- 
> View this message in context: 
> http://www.nabble.com/JSP-page-not-updated-on-each-request-tf3406783.html#a9489775
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org