Women in Technology

Hear us Roar



Article:
  Java Web Applications
Subject:   404 Error - resolution
Date:   2003-01-29 08:34:04
From:   anonymous2
I have noted that the only way to get around the 404 Error when trying to load servlets is to place the following code in web.xml before the servlet initialisation, inside <web-app></web-app>:
"
<servlet-mapping>
<servlet-name>YourServlet</servlet-name>
<url-pattern>/YourServlet</url-pattern>
</servlet-mapping>
"
This should solve the 404 error. Cheers, Shannon
Main Topics Newest First

Showing messages 1 through 2 of 2.

  • 404 Error - resolution
    2006-01-09 03:31:16  nitinchoube [View]

    plz send me the proper way to ur done to remove the 404 error.
    plz send it is urgent.
    thanks
    regards
    nitin
  • 404 Error - resolution
    2006-05-05 07:03:16  Sree_nice [View]

    I tried all those tips mentioned but still I am unable to get the servlets executed. Whatever changes I make it is showing :

    Requested resources /Myfolder/Servlet_Name not available.

    Can anyone give me detailed explanation where to place my .html, .class and .java files so that i can compile them successfully.

    Please reply asap.