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
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>.
<form name="loginForm" method="post" action="servlet/login">
It will work sure....