| 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 |
||
Showing messages 1 through 2 of 2.





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.