You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "tomcat@bilbao.com" <to...@bilbao.com> on 2002/02/26 11:15:17 UTC
Tomcat: Servlets in another directory
Hi.
I would like to serve my servlets in another directory
(not in $TOMCAT_HOME/webapps/examples/WEB-INF/classes).
+ I created a directory called '/myfoo'.
+ I changed $TOMCAT_HOME/conf/server.xml:
<Context path="" docBase="/myfoo" debug="0" reloadable="true" >
+ I compiled 'HelloWorld.java' into '/myfoo'
+ I changed startup:
set CLASSPATH=%CLASSPATH%;/myfoo
But when trying to access: http://localhost:8080/HelloWorld ,
I get a '404 Error'.
What am I doing wrong?
Regards and thank you very much.
---------------------------------------------------------
This mail was sent through TJGROUP Webmail: http://webmail.tjgroup.dk
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>