Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
jQuery in Action, 2nd edition
 
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