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

refering files in other directory from one webapps

2003-06-25 Thread Lee Peik Feng
webapps http://ip:8080/music/ and play mp3 files in other directory? I have written a JSP that stream the mp3 files as below and it works, but is it possible that Tomcat can refer to the mp3 files in other directory directly? or any other ways? % String filename = C:\\my.mp3

RE: refering files in other directory from one webapps

2003-06-25 Thread Shapira, Yoav
Howdy, but is it possible that Tomcat can refer to the mp3 files in other directory directly? or any other ways? snip % String filename = C:\\my.mp3; File file = new File(filename); snip What happens if you do String filename = c:\\someOtherDirectory\blah.mp3; ... ? Yoav Shapira

Re: refering files in other directory from one webapps

2003-06-25 Thread Lee Peik Feng
No prob, can still get the file - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 8:59 PM Subject: RE: refering files in other directory from one webapps Howdy, but is it possible that Tomcat can

Re: in other directory

2001-01-23 Thread Landaluze Produktions IS - Carlos
i dont see howe to start tomcat form another directory., can you help me more? can you say me where is it? thansk Carlos - Original Message - From: "Grobe, Gary" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 22, 2001 10:35 PM Subject: RE: in other directory I

in other directory

2001-01-22 Thread Landaluze Produktions IS - Carlos
how can i say to tomcat that the webs home directory doesn't the /opt/tomcat/webapps/ROOT and is the /usr/local/httpd/htdocs directory? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL

RE: in other directory

2001-01-22 Thread Grobe, Gary
lto:[EMAIL PROTECTED]] Sent: Monday, January 22, 2001 3:16 PM To: [EMAIL PROTECTED] Subject: in other directory how can i say to tomcat that the webs home directory doesn't the /opt/tomcat/webapps/ROOT and is the /usr/local/httpd/htdocs directo

How to find classes in an other directory than WEB-INF/classes ?

2001-01-19 Thread Gattaz, Olivier
.jar;%JAVA_HOME%\lib\tools.jar set CLASSPATH=%CP%;%CLASSPATH% echo --Using CLASSPATH: %CLASSPATH% I read standardClassLoader.java and I understand (?) that the class loader try to find the classes in a list of "repositories". How to add "repository" in the standardClassLoader

How to add repository to allow the standardClassLoader to find classes in an other directory than WEB-INF/classes ?

2001-01-18 Thread Gattaz, Olivier
SSPATH% echo --Using CLASSPATH: %CLASSPATH% How to add "repository" in the standardClassLoader to allow it to find classes in an other directory than WEB-INF/classes ? I have not found the documentation of the node "loader" of the configuration file "server.xml".

How to add repository to allow the standardClassLoader to find classes in an other directory than WEB-INF/classes ?

2001-01-18 Thread Gattaz, Olivier
r set CLASSPATH=%CP%;%CLASSPATH% echo --Using CLASSPATH: %CLASSPATH% How to add "repository" in the standardClassLoader to allow it to find classes in an other directory than WEB-INF/classes ? I have not found the documentation of the node "loader" of the configuration