The web.xml entry refers to a servlet path, which is what comes after
the context path in your url.  The form action is going to post to a url
with that path off the server root, i.e., without the app's context
path.  You need to put your app's context path in before "/registerX" in
the form action.

Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
 


-----Original Message-----
From: Leonard Deschamps [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 11, 2004 4:51 PM
To: [EMAIL PROTECTED]
Subject: HELPPPPPPPPP !!!!!!!!!!! Please, anybody can tell me what 's
wrong here ?? 


When I do call a servlet from the action of the FORM, in a line like
this...
        <form name="ibilform" action="/register_x" method=POST>

I got this error message from the server :

        Not Found
        The requested URL /register_x was not found on this server.

But in my web.xml, I have this


  <servlet>
    <servlet-name>RegisterAll</servlet-name>
    <servlet-class>com.hegany.ServRegisterAll</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>RegisterAll</servlet-name>
    <url-pattern>/register_x</url-pattern>
  </servlet-mapping>

Please, anybody can tell me what 's wrong here ??

Leo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to