You can create application specific web-inf
dir so that the class files & lib will be organized neatly.
For example the following additional code
helps Tomcat to pick up classfiles and lib from c:/abc/infodir/codebase/web-inf
dir.
Add the following lines
in Server.xml
<Context path="/infodir" docBase="c:/abc/infodir/codebase" crossContext="true" debug="0" reloadable="true" trusted="false" > </Context> ...other <Context....> [docBase tells the web-inf dir for "infodir"] And you should have the following directory structure c:\abc\infodir\codebase\Web-Inf\classes \lib The web.xml specific to the servlet
should be in the same
directory
c:\abc\infodir\codebase\Web-Inf\web.xml Harish
|
- organization JeremyRayYoo
- Re: organization Milt Epstein
- Re: organization Rob Tanner
- Harish K Kottarathil