well, you defined you servlet as MyExample, not HelloworldServlet - could
that be the problem? Another thing, where ar eyour jsp files being kept? is
you servlet in a package? did you compile you package? Why do you put .class
in the URL in your message - thats no necessary and will stop things
working.
chanoch
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE web-app
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd">
>
> <web-app>
> <servlet>
> <servlet-name>MyExample</servlet-name>
> <servlet-class>HelloWorldExample</servlet-class>
> <run-as>
> <description>Security role for anonymous access</description>
> <role-name>tomcat</role-name>
> </run-as>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>MyExample</servlet-name>
> <url-pattern>/sachar/servlet/snoop</url-pattern>
> <url-pattern>/servlet/*</url-pattern>
> </servlet-mapping>
>
>
> </web-app>
>
>
>
> _________________________________________________________
> Click below to visit monsterindia.com and review jobs in India or Abroad
> http://monsterindia.rediff.com/jobs
>
>
>
>