File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Accessing Web Application from outside webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Accessing Web Application from outside webapps" Watch "Accessing Web Application from outside webapps" New topic
Author

Accessing Web Application from outside webapps

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

How can I keep a web application in an arbitrary directory in my HDD,say D:\coding\mysite and access that from Tomcat? I don't want to keep my codes during development in webapps dir of tomcat. I guess this should be stated somewhere in server.xml, if its feasible.
Any light? :roll:


Ashik Uzzaman
Senior Member of Technical Staff,
Salesforce.com, San Francisco, CA, USA.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

read up on 'docBase' and 'path' in this document:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html
Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

Thank you Mike. This is what I was looking for.
 
 
subject: Accessing Web Application from outside webapps
 
Threads others viewed
trouble with an example servlet
Problem: Beans with JSP in Tomcat
Tomcat WebApp Deployment
Error in Calling Bean from JSP
serve static HTML from app context rather than ROOT
IntelliJ Java IDE