permaculture playing cards*
The moose likes Servlets and the fly likes Tomcat Server problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat Server problems" Watch "Tomcat Server problems" New topic
Author

Tomcat Server problems

Tom Diamond
Ranch Hand

Joined: May 10, 2001
Posts: 98
Hello people,
I am testing my .jsp pages with Apache Tomcat Server ver. 4.0 Beta 5. But if I make a change to a page and try to reload it the server sends the old one. Where does it store old pages (so I can clear them every time I make a change)?
Any ideas?
Thanx,
Tom.
kichu kichu
Ranch Hand

Joined: May 10, 2001
Posts: 59
Hi tom,
The old pages are stored in "tomcat\work" folder.Delete the contents of this folder and try again.
alternatively you may also clear your browser cache and history.
regards,
kichu
Tom Diamond
Ranch Hand

Joined: May 10, 2001
Posts: 98
Ok, I tried that (clearing the work dir) but the server reloads only the .jsp page. If I use another class in my page (jsp:useBean) and change that class the server keeps the old one.
Anything I can do for that?
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi!
Because Tomcat's ClassLoader loads the beans and classes called in jsp at starting (same thing with an application).
The jsp is loaded each time that it modified.
kichu kichu
Ranch Hand

Joined: May 10, 2001
Posts: 59
Hi,
I have been using tomcat 3.2.1 now for a long time.I tried the new beta version for some time,but i found out that the older version was more stable.
I think you should not do any development work using a beta version as it is bound to have a number of bugs.
Install an older version from==>
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.3/bin/
regards,
kichu(the choice is yours!)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Server problems