reloading of jsp page...

2002-10-10 Thread Padhu Vinirs


Tomcat 4.1.12

I have a jsp page that compiles fine. Then I make a change and try to 
access the page again. The page is not recompiled. I am still getting 
back the old value. I do have reloadable=true for my context. I have to 
restart Tomcat to get the new page. Anybody else notice this ?

-- padhu


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




Re: reloading of jsp page...

2002-10-10 Thread Padhu Vinirs


Reloading of jsp works if I start a new browser window. But on same 
window ( Ctrl-r or reload ) doesnt show the new changes.

-- padhu

Padhu Vinirs wrote:


 Tomcat 4.1.12

 I have a jsp page that compiles fine. Then I make a change and try to 
 access the page again. The page is not recompiled. I am still getting 
 back the old value. I do have reloadable=true for my context. I have 
 to restart Tomcat to get the new page. Anybody else notice this ?

 -- padhu


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





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




Re: reloading of jsp page...

2002-10-10 Thread Chris Wolcott

This may be caused by your browser cacheing the existing page.  Try 
clearing the browser cashce and see what happens.  I know RELOAD is 
supposed to actually RELOAD from the server, but. . . .

Padhu Vinirs wrote:


 Reloading of jsp works if I start a new browser window. But on same 
 window ( Ctrl-r or reload ) doesnt show the new changes.

 -- padhu

 Padhu Vinirs wrote:


 Tomcat 4.1.12

 I have a jsp page that compiles fine. Then I make a change and try to 
 access the page again. The page is not recompiled. I am still getting 
 back the old value. I do have reloadable=true for my context. I have 
 to restart Tomcat to get the new page. Anybody else notice this ?

 -- padhu


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





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





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




Re: reloading of jsp page...

2002-10-10 Thread Sam Seaver

I had this problem with galeon and simple html files, it should be in the
settings somewhere in your browser, that you can force it to actually reload
the page rather than look in the cache, even though I was pressing the
RELOAD button. once i made the change, RELOAD really RELOADed...

Sam


- Original Message -
From: Chris Wolcott [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 8:37 AM
Subject: Re: reloading of jsp page...


 This may be caused by your browser cacheing the existing page.  Try
 clearing the browser cashce and see what happens.  I know RELOAD is
 supposed to actually RELOAD from the server, but. . . .

 Padhu Vinirs wrote:

 
  Reloading of jsp works if I start a new browser window. But on same
  window ( Ctrl-r or reload ) doesnt show the new changes.
 
  -- padhu
 
  Padhu Vinirs wrote:
 
 
  Tomcat 4.1.12
 
  I have a jsp page that compiles fine. Then I make a change and try to
  access the page again. The page is not recompiled. I am still getting
  back the old value. I do have reloadable=true for my context. I have
  to restart Tomcat to get the new page. Anybody else notice this ?
 
  -- padhu
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
 
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 



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


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




Re: reloading of jsp page...

2002-10-10 Thread Padhu Vinirs


I have done this, and it is not helping. I saw in the apache bug list ( 
2885 )  in 4.0.4 which has been resolved. I reopened it.

-- padhu



Sam Seaver wrote:

I had this problem with galeon and simple html files, it should be in the
settings somewhere in your browser, that you can force it to actually reload
the page rather than look in the cache, even though I was pressing the
RELOAD button. once i made the change, RELOAD really RELOADed...

Sam


- Original Message -
From: Chris Wolcott [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 8:37 AM
Subject: Re: reloading of jsp page...


  

This may be caused by your browser cacheing the existing page.  Try
clearing the browser cashce and see what happens.  I know RELOAD is
supposed to actually RELOAD from the server, but. . . .

Padhu Vinirs wrote:



Reloading of jsp works if I start a new browser window. But on same
window ( Ctrl-r or reload ) doesnt show the new changes.

-- padhu

Padhu Vinirs wrote:

  

Tomcat 4.1.12

I have a jsp page that compiles fine. Then I make a change and try to
access the page again. The page is not recompiled. I am still getting
back the old value. I do have reloadable=true for my context. I have
to restart Tomcat to get the new page. Anybody else notice this ?

-- padhu


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





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


  


--
To unsubscribe, e-mail:


mailto:[EMAIL PROTECTED]
  

For additional commands, e-mail:


mailto:[EMAIL PROTECTED]
  


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


  




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




Re: reloading of jsp page...

2002-10-10 Thread Padhu Vinirs


I have also tried loading this page from 2 different client machines. 
Still get only old code...I have to restart Tomcat, cleanup the 
java/class files and only then this works.

-- padhu



Sam Seaver wrote:

I had this problem with galeon and simple html files, it should be in the
settings somewhere in your browser, that you can force it to actually reload
the page rather than look in the cache, even though I was pressing the
RELOAD button. once i made the change, RELOAD really RELOADed...

Sam


- Original Message -
From: Chris Wolcott [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 8:37 AM
Subject: Re: reloading of jsp page...


  

This may be caused by your browser cacheing the existing page.  Try
clearing the browser cashce and see what happens.  I know RELOAD is
supposed to actually RELOAD from the server, but. . . .

Padhu Vinirs wrote:



Reloading of jsp works if I start a new browser window. But on same
window ( Ctrl-r or reload ) doesnt show the new changes.

-- padhu

Padhu Vinirs wrote:

  

Tomcat 4.1.12

I have a jsp page that compiles fine. Then I make a change and try to
access the page again. The page is not recompiled. I am still getting
back the old value. I do have reloadable=true for my context. I have
to restart Tomcat to get the new page. Anybody else notice this ?

-- padhu


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





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


  


--
To unsubscribe, e-mail:


mailto:[EMAIL PROTECTED]
  

For additional commands, e-mail:


mailto:[EMAIL PROTECTED]
  


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


  




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




Re: reloading of jsp page...

2002-10-10 Thread Padhu Vinirs


I think I founf out what the problem is. My jsp page is on Linux. I have 
this drive shared through samba to my windows machine. Looks like 
windows is not updating the time stamp. When I saved the file from 
Linux, the reload worked fine. I saw that the 2885 bug was also related 
to this. Anybody know any solution on how to change the timestamp on 
windows 98 when saving - maybe there is a win fix ?

-- padhu



Chris Wolcott wrote:

 This may be caused by your browser cacheing the existing page.  Try 
 clearing the browser cashce and see what happens.  I know RELOAD is 
 supposed to actually RELOAD from the server, but. . . .

 Padhu Vinirs wrote:


 Reloading of jsp works if I start a new browser window. But on same 
 window ( Ctrl-r or reload ) doesnt show the new changes.

 -- padhu

 Padhu Vinirs wrote:


 Tomcat 4.1.12

 I have a jsp page that compiles fine. Then I make a change and try 
 to access the page again. The page is not recompiled. I am still 
 getting back the old value. I do have reloadable=true for my 
 context. I have to restart Tomcat to get the new page. Anybody else 
 notice this ?

 -- padhu


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





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





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





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




Re: reloading of jsp page...

2002-10-10 Thread Sam Seaver

maybe even a samba fix...


- Original Message -
From: Padhu Vinirs [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 8:59 AM
Subject: Re: reloading of jsp page...



 I think I founf out what the problem is. My jsp page is on Linux. I have
 this drive shared through samba to my windows machine. Looks like
 windows is not updating the time stamp. When I saved the file from
 Linux, the reload worked fine. I saw that the 2885 bug was also related
 to this. Anybody know any solution on how to change the timestamp on
 windows 98 when saving - maybe there is a win fix ?

 -- padhu



 Chris Wolcott wrote:

  This may be caused by your browser cacheing the existing page.  Try
  clearing the browser cashce and see what happens.  I know RELOAD is
  supposed to actually RELOAD from the server, but. . . .
 
  Padhu Vinirs wrote:
 
 
  Reloading of jsp works if I start a new browser window. But on same
  window ( Ctrl-r or reload ) doesnt show the new changes.
 
  -- padhu
 
  Padhu Vinirs wrote:
 
 
  Tomcat 4.1.12
 
  I have a jsp page that compiles fine. Then I make a change and try
  to access the page again. The page is not recompiled. I am still
  getting back the old value. I do have reloadable=true for my
  context. I have to restart Tomcat to get the new page. Anybody else
  notice this ?
 
  -- padhu
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
 
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
 
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 



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


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




RE: reloading of jsp page...

2002-10-10 Thread Pooleery, Manoj

I don't know if updating your clock is going to save you from this problem.
I had faced a similar issue with JSP, where IE was the culprit.  it used to
cache the page the first time it is loaded and wouldn't refresh it even if
it is changed on disk.  What I did was to put the meta tags for refreshing
in the header of my JSP page.  I put
meta http-equiv=Cache-Control content=no-cache and this solved the
problem for me.  Everytime, I forced IE to refresh the page.

-Manoj.

-Original Message-
From: Padhu Vinirs [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 12:25 PM
To: Tomcat Users List
Subject: Re: reloading of jsp page...



ok. Found the problem. My Linux machine clock was ahead by 10 mins. 
timestamp problem resolved. :-)

Thanks

-- padhu


Sam Seaver wrote:

maybe even a samba fix...


- Original Message -
From: Padhu Vinirs [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 8:59 AM
Subject: Re: reloading of jsp page...


  

I think I founf out what the problem is. My jsp page is on Linux. I have
this drive shared through samba to my windows machine. Looks like
windows is not updating the time stamp. When I saved the file from
Linux, the reload worked fine. I saw that the 2885 bug was also related
to this. Anybody know any solution on how to change the timestamp on
windows 98 when saving - maybe there is a win fix ?

-- padhu



Chris Wolcott wrote:



This may be caused by your browser cacheing the existing page.  Try
clearing the browser cashce and see what happens.  I know RELOAD is
supposed to actually RELOAD from the server, but. . . .

Padhu Vinirs wrote:

  

Reloading of jsp works if I start a new browser window. But on same
window ( Ctrl-r or reload ) doesnt show the new changes.

-- padhu

Padhu Vinirs wrote:



Tomcat 4.1.12

I have a jsp page that compiles fine. Then I make a change and try
to access the page again. The page is not recompiled. I am still
getting back the old value. I do have reloadable=true for my
context. I have to restart Tomcat to get the new page. Anybody else
notice this ?

-- padhu


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


  


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





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


  


--
To unsubscribe, e-mail:


mailto:[EMAIL PROTECTED]
  

For additional commands, e-mail:


mailto:[EMAIL PROTECTED]
  


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


  




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



Re: reloading of jsp page...

2002-10-10 Thread Lindomar

Try in your page:

meta http-equiv=Pragma content=no-cache
meta http-equiv=expires content=0
body
...


- Original Message -
From: Padhu Vinirs [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 10, 2002 12:19
Subject: Re: reloading of jsp page...



 Reloading of jsp works if I start a new browser window. But on same
 window ( Ctrl-r or reload ) doesnt show the new changes.

 -- padhu

 Padhu Vinirs wrote:

 
  Tomcat 4.1.12
 
  I have a jsp page that compiles fine. Then I make a change and try to
  access the page again. The page is not recompiled. I am still getting
  back the old value. I do have reloadable=true for my context. I have
  to restart Tomcat to get the new page. Anybody else notice this ?
 
  -- padhu
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 



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




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




Re: reloading of jsp page...

2002-10-10 Thread Glenn Nielsen

If you have the develop init paramter for the JspServlet in $CATALINA_HOME/conf/web.xml
set to false JSP page recompiles happen in the background no more frequently than
the time set in the JspServlet init paramter checkInterval.

The Context/Host reloadable flag is only for performing class reloading checks
for jar's in /WEB-INF/lib and classes in /WEB-INF/classes, it does not have
any affect on JSP pages.

Make sure that your web browser is not showing you a cached version of the page.

Regards,

Glenn

Padhu Vinirs wrote:
 
 Tomcat 4.1.12
 
 I have a jsp page that compiles fine. Then I make a change and try to 
 access the page again. The page is not recompiled. I am still getting 
 back the old value. I do have reloadable=true for my context. I have to 
 restart Tomcat to get the new page. Anybody else notice this ?
 
 -- padhu
 
 
 -- 
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]




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