, and the contractor assures me that POST requests work OK on
her machine. However, POST requests on my machine result in the following
error page from Tomcat:
HTTP Status 405 - HTTP method POST is not supported by this URL
-
5, 2001 1:22 AM
> To: Tomcat Users List
> Subject: Re: HTTP method POST is not supported by this URL
>
>
> > The service() method in HttpServlet checks the request HTTP
> > method and calls doGet(), doPost(), doHead(), etc. The
> > default implementations in HttpServlet
method POST is not supported by this URL
- Original Message -
From: "Jim Urban" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 4:07 PM
Subject: RE: HTTP method POST is not supported by this URL
> > So,
On Wed, 5 Dec 2001, Nikola Milutinovic wrote:
> Date: Wed, 5 Dec 2001 07:19:28 +0100
> From: Nikola Milutinovic <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: HTTP method
> The service() method in HttpServlet checks the request HTTP
> method and calls doGet(), doPost(), doHead(), etc. The
> default implementations in HttpServlet simply output a
> message to let the world know you messed up. For
> GenericServlet you override service() and provide your
> own
> YourServlet extends javax.servlet.http.HttpServlet, and
> javax.servlet.http.HttpServlet extends javax.servlet.GenericServlet,
> the following is from HttpServlet in jakarta-servletapi-4-src.zip in
> www.Apache.org:
>
> ...
> protected void doPost(HttpServletRequest req, HttpServletR
> yeah I fat fingered that...take the doPost out of doPost and it works...This
> is taken form Core Servlets by Hall.
One question - why would you need a HttpServlet? The only time I needed it what when I
nedded HttpResponse object, so I could send redirect. And I didn't override doPost(),
n
- Original Message -
From: "Bo Xu" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 6:41 PM
Subject: Re: HTTP method POST is not supported by this URL
> - Original Message -
> From: "J
- Original Message -
From: "Jim Urban" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 4:07 PM
Subject: RE: HTTP method POST is not supported by this URL
> > So, doPost calls itself in an endless loo
out
of control.
Jim
-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 2:21 PM
To: Tomcat Users List
Subject: Re: HTTP method POST is not supported by this URL
Chad Alan Prey wrote:
> Holy Smoke...I know this one...you need to have
the HTTP method, if desired.
Larry
> -Original Message-
> From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 04, 2001 3:19 PM
> To: Tomcat Users List
> Subject: Re: HTTP method POST is not supported by this URL
>
>
> Larry Isaacs wrote:
- Original Message -
From: "Nikola Milutinovic" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 3:18 PM
Subject: Re: HTTP method POST is not supported by this URL
> Larry Isaacs wrote:
>
>
yeah I fat fingered that...take the doPost out of doPost and it works...This
is taken form Core Servlets by Hall.
-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 12:21 PM
To: Tomcat Users List
Subject: Re: HTTP method POST is not
Chad Alan Prey wrote:
> 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 (HttpServletReq
Larry Isaacs wrote:
> If you POST to a servlet which extends HttpServlet and that
> servlet doesn't override the doPost() method, the default
> doPost() method outputs this error message.
Why? I thought that the default "doPost()" just calls "service()". I didn't have
to override anything in Ge
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
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
, 2001 2:29 PM
> 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
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
servle
01 17:59
> To: 'Tomcat Users List'
> Subject: RE: Error 405: HTTP method POST is not supported by this URL
> Prob On NT?
>
>
> phew - glad you figured it out because I was pretty stumped : )
>
> Thats odd though, because tomcat should auto reload your
> servlet
To: 'Tomcat Users List'
> Subject: RE: Error 405: HTTP method POST is not supported by this URL
> Prob On NT?
>
>
> Paul, your reply triggered a thought and subsequent solution!
> What I had done was to run the servlet first using the GET
> method, then
> changed
t'
Subject: RE: Error 405: HTTP method POST is not supported by this URL
Prob On NT?
Hi,
Have you implemented the doPost() method in your servlet or the doGet()?
It needs to be doPost if you're posting from a form.
> -Original Message-
> From: Gary Fix [mailto:[EMAIL PROTEC
> To: '[EMAIL PROTECTED]'
> Subject: Error 405: HTTP method POST is not supported by this URL Prob
> On NT?
>
>
> Hi!
> I'm just beginning to experiment with Tomcat on Windows NT
> 4.0 Workstation,
> SP6, with PWS and Tomcat 3.2.3...
> I am able to run the exa
> created that uses
> the jdbc-odbc...
> I can also run a servlet that uses the GET method...
> My problem is when I try to run a servlet using the POST method...
> I get "Error 405: HTTP method POST is not supported by this URL"...
> probably a configuration problem...I h
run a servlet using the POST method...
I get "Error 405: HTTP method POST is not supported by this URL"...
probably a configuration problem...I have searched the docs,
FAQs and archives with no luck...I have not created any PWS/IIS virtual
directories except for "jakarta" as per th
25 matches
Mail list logo