| Author |
how can i add new servlet path in tomcat???
|
Leo Tien
Ranch Hand
Joined: Sep 10, 2002
Posts: 156
|
|
my tomcat version is 4.0, when i want to use servlet , i must put it into ROOT/WEB-INF/classes/ now, i want put it into another directory. what should id do ??? please help me !!! thanks a lot!
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 11863
|
|
Look at the way server.xml defines the context for the examples servlets for one approach. You don't even have to get that complicated, when Tomcat 4 starts it looks for directories under webapps - if it finds a WEB-INF that has a web.xml in the right place it considers that directory to house a web application. You might want to upgrade to Tomcat4.1.24 before getting too deeply involved in a new project. Bill
|
Java Resources at www.wbrogden.com
|
 |
 |
|
|
subject: how can i add new servlet path in tomcat???
|
|
|