I am not able to run Servlet on Tomcat 5.0.24
my web.xml fragment (location is webapps/SG/WEB-INF)
<servlet>
<servlet-name>passAuthen</servlet-name>
<servlet-class>passAuthen</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>passAuthen</servlet-name>
<url-pattern>/passAuthen</url-pattern>
</servlet-mapping>
I'm calling the sevlet like this
http://localhost:8080/SG/passAuthen
and my servlet class is in webapps/SG/WEB-INF/classes
Its not running, error is - The requested resource (/SG/passAuthen) is not
available.
Do i have to make changes to server.xml in conf, or any other changes required.
Could you please help me.