Want to run servlets from other directory than webapps

2005-05-11 Thread Raueber Hotzenplotz
Hi I've got Tomcat-5.0.27-r5 installed. Running servlets (localhost) located in /opt/tomcat5/webapps/ROOT/WEB_INF/classes is no problem. What do I need to do to run servlets from my user directory (e.g. /home/user/myapp)? I've tried to use http://localhost:8080/admin to add an additional

Re: Want to run servlets from other directory than webapps

2005-05-11 Thread Oto Bossert
Yoo, Do you use tomcat stand-alone? Or with Apache Putting a context in server.xml should work, but this is not the prevered way in tomcat 5! Greetings O. On 5/11/05, Raueber Hotzenplotz [EMAIL PROTECTED] wrote: Hi I've got Tomcat-5.0.27-r5 installed. Running servlets (localhost)

Re: Want to run servlets from other directory than webapps

2005-05-11 Thread Patrick Thomas
Hi Rudi, Here's how I do it, and this also seems to be the 'correct' way of doing it with Tomcat5 (as it doesn't mean messing with any container-level files). Into {tomcathome}\conf\Catalina\localhost\ I place a correctly formed context file, for example ApplicationName.xml (very minimal for

Re: Want to run servlets from other directory than webapps

2005-05-11 Thread Raueber Hotzenplotz
I'm running Tomcat as standalone server at the moment - that could change later on. What's the preferred way in Tomcat 5? Thanks! --- Oto Bossert [EMAIL PROTECTED] wrote: Yoo, Do you use tomcat stand-alone? Or with Apache Putting a context in server.xml should work, but this is not

Re: Want to run servlets from other directory than webapps

2005-05-11 Thread Raueber Hotzenplotz
Thanks PST! Will try it out tomorrow. Rudi --- Patrick Thomas [EMAIL PROTECTED] wrote: Hi Rudi, Here's how I do it, and this also seems to be the 'correct' way of doing it with Tomcat5 (as it doesn't mean messing with any container-level files). Into