Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploying jsps and servlets to tomcat

 
Ryan G Johnson
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running tomcat at home to learn how to use it. When I deploy a new servlet or jsp version to tomcat, I find i have to shutdown tomcat and restart it to get tomcat to pick up on the new version.

is there a way to get tomcat to auto-detect when a newer version of a jsp or a servlet is deployed?
 
Joyce Lee
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bobbie,

For servlet, you can do that by setting the reloadable=true. For more info, please refer to this thread and this thread. For JSP files, simply refresh the web browser.

Joyce
[ November 12, 2004: Message edited by: Joyce Lee ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic