We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Java Web Applications
|
| Subject: |
|
HTTP Status 404 - /onjava/servlet/com.onjava.login |
| Date: |
|
2007-07-23 12:42:56 |
| From: |
|
RaviKA
|
Response to: HTTP Status 404 - /onjava/servlet/com.onjava.login
|
|
Add the below servlet mapping to your web.xml. The servlet mapping should be given under the servlet. And the example should work.
<servlet-mapping>
<servlet-name>login</servlet-name>
<url-pattern>/servlet/com.onjava.login</url-pattern>
</servlet-mapping>
|