You make your own directory which, if you put it under TOMCAT_HOME/webapps, 
automatically gets a context created for it with the path of the directory 
name you provided.

Now, just create a structure like:

myapp/    (put any static pages, images, styles, scripts, etc... here... 
you can also create new directories for those if you want)
     WEB-INF/   (put your web.xml here)
         lib/   (put all your app specific .jar libraries here)
         classes/   (put all your classes here in their respective packages)

That's all you need.  Just look at the "examples" directory and see how it 
is set up.  Use that as a guide.

jake

At 03:45 PM 7/11/2002 -0400, you wrote:
>I have installed Tomcat version 4.0.4 and have set Java_home, to my 
>jdk1.3.1_02 directory. To run my servlet, where do i have to load the 
>classes. i am confused since there are 2 web_inf directories,
>structures as
>1) webapps/ROOT/WEB_INF  ( there is no "classes" directory, do i have to 
>make it?)
>2)webapps/examples/wWEB_INF/classes
>
>
>
>thanks
>shakir
>
>
>
>
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to