You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ayusman dikshit <Ay...@infosys.com> on 2006/05/30 05:41:00 UTC
Starting tomcat from different directory.
Hi All,
If I am creating a web-application need I put it only in the webapps
folder?
Can I put it somewhere else in my directory structure (out of the usual
tomcat installation directory) and point tomcat to consider this as
a valid web application.
Any suggestions will be highly appreciated.
Regards
Ayusman
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: Starting tomcat from different directory.
Posted by Markus Schönhaber <ma...@schoenhaber.de>.
Ayusman dikshit wrote:
> If I am creating a web-application need I put it only in the webapps
> folder?
Yes.
> Can I put it somewhere else in my directory structure (out of the usual
> tomcat installation directory) and point tomcat to consider this as
>
> a valid web application.
Yes. Setting an appropriate "docBase" on the <Context> description will do:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Since you didn't say which Tomcat version you are using you may need to adjust
the above URL.
Regards
mks
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org