Article:
 |
|
Deploying Web Applications to Tomcat
|
| Subject: |
|
Facing Problem as the servlet is not being Loaded |
| Date: |
|
2004-12-01 02:05:53 |
| From: |
|
DeeptiChhabra
|
|
|
|
I have follwed each and every step that described in the article. When i enter the username and the password and click on the submit button, i get the following error.
HTTP Status 404 - /onjava/onjava/servlet/com/onjava/login
--------------------------------------------------------------------------------
type Status report
message /onjava/onjava/servlet/com/onjava/login
description The requested resource (/onjava/onjava/servlet/com/onjava/login) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.25
Even the web.xml has both the entries for <servlet> and <servlet-mapping>.
<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/login</url-pattern>
</servlet-mapping>
</web-app>
Please let me know where am i making mistake.
Help would be highly appreciated.
Regards,
Deepti Chhabra
|
Showing messages 1 through 1 of 1.
-
Facing Problem as the servlet is not being Loaded
2006-09-16 07:35:34
Vish_DEL
[View]
<form name="loginForm" method="post" action="servlet/login">
It will work sure....