> From: "Ashish Jain" <[EMAIL PROTECTED]> > Sent: Friday, January 24, 2003 1:29 PM > Subject: Deploying servelts
> 1) I have installed the apache/tomcat4.1.12 on Unix machine. > 2) Then I have created rps subdirectory in directory webapps. > 3) RPS subdirectory contains two folders first "grasite" containing html > files. I have copied WEB-INF directory in "examples" directory to RPS. > 4) Now I have added all my servlets in classes folder in rps/WEB-INF Make sure that you have the proper <servlet> and <servlet-mapping> tags in the web.xml file. <servlet> <servlet-name>YourServlet</servlet-name> <servlet-class>com.pkg.YourServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>YourServlet</servlet-name> <url-pattern>/YourServlet</url-pattern> </servlet-mapping> Ensure your classes are in the WEB-INF/classes directory, and be happy. You should look at the documentation about how to structure your application on the Tomcat site and perhaps reorganize your project if practical to suit it. Regards, Will Hartung ([EMAIL PROTECTED]) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
