Hi, I would like to add one more query here.
I created one servlet called AddDispServlet.class, which I copied to /webapps/examples/WEB-INF/classes directory. And to deploy that, I added the following lines in /WEB-INF/web.xml file: <servlet> <servlet-name>AddDispServlet</servlet-name> <servlet-class>AddDispServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>AddDispServlet</servlet-name> <url-pattern>AddDispServlet</url-pattern> </servlet-mapping> Reran apache, and tomcat, and tried to access that servlet with "localhost:8080/examples/servlet/AddDispServlet", it did not work. After updating web.xml file with the above lines, I even cannot run "localhost:8080/examples". Have I missed some points in deploying the servlet? Any pointers would be highly appreciated. Thanks again. Damar damar thapa wrote: > Hi, > > I followed John Turner's Apache1.3.26 version of howto to > install/setup/configure the captioned packages. > > All went fine: > Apache is ok on its own, > tomcat is ok on its own, > and "localhost/examples" can access the html file located at > /webapps/examples, but when I try to run servlet or jsp, I get > internal error message. To be precise, I can run > "http://localhost:8080/examples/servlet/HelloWorldExample" but not > "http://localhost/examples/servlet/HelloWorldExample" > > I would appreciate, if any one out there can point me what I have not > done. > > regards, > > Damar > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>