wood burning stoves 2.0*
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
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
 
Similar Threads
Mapping of Webapps
Adding virtual directory
Error on my first aplication
Proper use of /shared/lib
Tomcat 4.0.4 directory for servlets