Skip to Content
0
Former Member
Mar 21, 2006 at 05:53 AM

HTML form doesn't call Servlet

169 Views

Hi all,

Have a small problem. I have a an html form that calls a servelt from its action line e.g.

<FORM name="passwordReset" ACTION="/ZChangePassword/mainServlet"

For some reason I'm getting the "The requested resource does not exist" error when I hit submit. I've checked my web.xml file and all looks ok e.g.

<web-app>

<display-name>DoC-Change-Password</display-name>

<description>This web appplication allows users to reset their SAP passwords</description>

<servlet>

<servlet-name>ZChangePassword</servlet-name>

<servlet-class>changepassword.ZChangePassword</servlet-class>

</servlet>

<servlet-mapping>

<servlet-name>ZChangePassword</servlet-name>

<url-pattern>/ZChangePassword/mainServlet</url-pattern>

</servlet-mapping>

</web-app>

Can anybody see what I'm doing wrong?

Many thanks