Holy Smoke...I know this one...you need to have doGet call doPost like this:

public void doGet (HttpServletRequest req, HttpServletResponse res)
        throws ServletException
        {
        doPost(req, res);
        }

        public void doPost (HttpServletRequest req, HttpServletResponse res)
        throws ServletException
        {
        doPost(req, res);
        }

pretty slick eh?

-----Original Message-----
From: Endle, Cory [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 11:29 AM
To: 'Tomcat Users List'
Subject: HTTP method POST is not supported by this URL


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.

Thanks!

Cory Endle
Seagate/XIOtech
E-mail: [EMAIL PROTECTED]


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

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


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

Reply via email to