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 supported by this URL 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 (HttpServletRequest req, HttpServletResponse res) > throws ServletException > { > doPost(req, res); > } > > pretty slick eh? So, doPost calls itself in an endless loop, sending the servlet into oblivion... And doPost, doGet and others are "protected" not "public" methods. Nix. -- 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]>