I am a new Tomcat user and I am having trouble accessing my servlet classes.
I am getting the following error:

"The requested resource (/servlets/authenticate.jsp) is not available"

Any help you can give would be appreciated.

Thanks

#### Background info #####

I have the directory structure that looks correct...
     app
     app\login
     app\login\login.jsp
     app\WEB-INF
     app\WEB-INF\web.xml
     app\WEB-INF\classes
     app\WEB-INF\classes\authenticateUser.class

Then in my web.xml file I have:

<web-app>

  <!-- Servlet for authenticating WebAtlas login -->
  <servlet>
    <servlet-name>authenticateUser</servlet-name>
    <servlet-class>authenticateUser</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>authenticateUser</servlet-name>
    <url-pattern>/servlets/authenticateUser</url-pattern>
  </servlet-mapping>

</web-app>

Then in my jsp code I have:

<form action="../servlets/authenticateUser" method="post">
        USERNAME : <input type="text" name="usrname" size="25">
        <p>
        PASSWORD : <input type="password" name="usrpass" size="25">
        <p>
        <input type="submit" value="LOGIN">  <input type="reset"
value="CLEAR">
/form>

Reply via email to