Women in Technology

Hear us Roar



Article:
  Java Web Applications
Subject:   Http 404 error the resource is not found
Date:   2006-01-09 02:03:37
From:   nitinchoube
i have register the servlet class file in web.xml file.
<servlet>
<servlet-name>check</servlet-name>
<servlet-class>LoginCheckServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>check</servlet-name>
<url-pattern>/LoginCheckServlet</url-pattern>
</servlet-mapping>


my directory structure is:
root directory:webapps
web application directory:examples
images:contains all images
Jsp:jsp files
servlets:html files
WEB-INF:web.xml
classes:servlet .class files


i have stored Login.html file in servlets folder and call the LoginCheckServlet by action attribute in form tag.


http://localhost:8080/examples/servlets/Login.html



HTTP Status 404 - /LoginCheckServlet


--------------------------------------------------------------------------------


type Status report


message /LoginCheckServlet


description The requested resource (/LoginCheckServlet) is not available.



--------------------------------------------------------------------------------


Apache Tomcat/4.1.31


plz reply it it urgent.
thanks
regards,
nitin choube