Create your own App directory structure under webapps

For example:

webapps/myapp
webapps/myapp/WEB-INF
webapps/myapp/WEB-INF/classes
webapps/myapp/WEB-INF/lib

put your web.xml in WEB-INF
put your class file in classes dir
put your third party jars in lib ( eg jdbc driver)
put your servlets,jsp in myapp

and a entry in server.xml like this
<Context path="/myapp" docBase="myapp" debug="0"       reloadable="true">

Thanks
Prem











[EMAIL PROTECTED] wrote:

> Hello,
>
>
>
> I am using Apache TomCat 4.01. I am doing some test code.
>
>
>
> I want to know:
>
>
>
> 1. Where I need to put my class files for my web applicaiotn. I see many
> class folders in the install directory.
>
> 2. Also, please specify the changes I need to make in the class path.
>
>
>
> I appraciate your help, in advance.
>
>
>
>
>
> /KK
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to