This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Work folder

 
Gajen Pingalkar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
some time, When i make some changes in JSP or JavaScript, these changes cant get reflect that time on Running mode. i need to manually stop Tomcat server and delete work folder and also need to Build project - Than these changes get reflect when i start tomcat and see in browser. Is there any way to automate this process or avoid problem. pls help this regards.

Thanks & Regards,
Gajendra
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Gazy",
Welcome to JavaRanch!

We're pleased to have you here with us here on the ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. You can change it here
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried using the Tomcat Manager to restart the web application? Seems to me that should force Tomcat to re-examine the JSP timestamps and recompile the pages that have changed.

A typical Tomcat installation will have a discussion of setting up and using the Manager in the tomcat-docs directory. Look for html-manager-howto.html and manager-howto.html files.

Bill
 
Gajen Pingalkar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks William Brogden,
How to change JSP compilation timestamp
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Gazy",
Please note:
After 3 warnings, accounts with invalid names are subject to closure.
This is your 4th warning.

Please use the links above to fix your screen name.
[ June 28, 2007: Message edited by: Ben Souther ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to change JSP compilation timestamp

Your JSP file gets a new timestamp every time you save it. The resulting class file gets a timestamp when created.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic