This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Tomcat Server problems  RSS feed

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!)
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!