Endle, Cory wrote:

> Can anyone help me with this one? 
> 
> I am running a simple servlet that that has a form that does a "post".  When
> the form is submitted, I get the error
> message HTTP method POST is not supported by this URL
> 
> Do I need something in my web.xml file?  My web.xml file just defines the
> servlet and does some simple servlet mapping.

Nope. Just define a servlet and the URL mapping to it, like this:

<servlet>
   <servlet-name>PartManager</servlet-name>
   <servlet-class>PartManagerServlet</servlet-class>
</servlet>
<servlet-mapping>
   <servlet-name>PartManager</servlet-name>
   <url-pattern>/servlet/PartManager</url-pattern>
</servlet-mapping>

Nix.


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to