This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Tomcat and the fly likes changing webapps in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "changing webapps in tomcat" Watch "changing webapps in tomcat" New topic
Author

changing webapps in tomcat

John Smith
Greenhorn

Joined: Oct 07, 2003
Posts: 15
I want to place jsp/servlet files in other directory instead of Tomcat\webapps directory. is there any way to do this? or any documentation?

thanks in advance...
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

It's easy.

check out the server.xml documentation.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: changing webapps in tomcat