Women in Technology

Hear us Roar



Article:
  Deploying Web Applications to Tomcat
Subject:   HELP!!! Error: The requested resource /onjava/login.jsp) is not available.
Date:   2005-04-02 20:25:56
From:   GoTarheels
Response to: HELP!!! Error: The requested resource /onjava/login.jsp) is not available.

Try this for your servlet-mapping. There is a small difference. I struggled with this myself for weeks and finally looked at one of the examples and trial and error - - it worked.


<web-app>
<servlet>
<servlet-name>login</servlet-name>
<servlet-class>com.onjava.login</servlet-class>
</servlet>


<servlet-mapping>
<servlet-name>login</servlet-name>
<url-pattern>/servlet/com.onjava.login</url-pattern>
</servlet-mapping>
</web-app>

Full Threads Newest First

Showing messages 1 through 2 of 2.

  • HELP!!! Error: The requested resource /onjava/login.jsp) is not available.
    2005-08-23 20:25:13  Suyog_ [View]

    It worked..Thanks a lot...I had a doubt on absence of server mapping the moment I saw the xml file...but your help confirmed my doubt..I think Oreilly guys must make this correction in the tutorial
  • HELP!!! Error: The requested resource /onjava/login.jsp) is not available.
    2006-10-06 04:14:20  kapild [View]

    thnx .... this helped me alot