Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HTTP Status 405 - HTTP method POST is not supported by this URL

843841Aug 4 2006 — edited Jun 1 2007
How do I over come this problem?

My Servlet has been designed to handle the POST request
public void doPOST(HttpServletRequest req, HttpServletResponse res)throws  ServletException, IOException
	{	

		doGet(req,res);


	}
My Html is fine:
<form method="POST" action="verifylogin">
but i get this error:
Status report

message HTTP method POST is not supported by this URL

description The specified HTTP method is not allowed for the requested resource (HTTP method POST is not supported by this URL).
But the thing was working perfectly for a GET request!

Please Help!

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 29 2007
Added on Aug 4 2006
7 comments
1,201 views