File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes deploying jsps and servlets to tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "deploying jsps and servlets to tomcat" Watch "deploying jsps and servlets to tomcat" New topic

deploying jsps and servlets to tomcat

Ryan G Johnson
Ranch Hand

Joined: Nov 11, 2004
Posts: 33
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

Joined: Jul 11, 2003
Posts: 1392
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.

[ November 12, 2004: Message edited by: Joyce Lee ]
I agree. Here's the link:
subject: deploying jsps and servlets to tomcat
It's not a secret anymore!