aspose file tools*
The moose likes Servlets and the fly likes HTTP Status 405 error plz help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTTP Status 405 error plz help" Watch "HTTP Status 405 error plz help" New topic
Author

HTTP Status 405 error plz help

dhana rangu
Ranch Hand

Joined: Oct 01, 2003
Posts: 65
Hi ALL

MY CODE IS THIS

HTML CODE



Servlet code




I am using TOMCAT server. I am unable to run this simple servlet..I am getting the following error

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

The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).


ANY HELP is highly appreciated...

plz help
dhana

[ June 07, 2004: Message edited by: dhana rangu ]
[ June 07, 2004: Message edited by: dhana rangu ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5

Your problem may lie in the use of "/servlet" - which implies that the "invoker" servlet is turned on. See the Ranch FAQ on the invoker.
Another possibility is that you have not define a web.xml file for the "lakexamples" web application.
If you will browse the last week or so of posts here or the tomcat forum you will find that MANY people have had the same problem.
Bill
dhana rangu
Ranch Hand

Joined: Oct 01, 2003
Posts: 65
hi thank you very much for ur kind reply

1)I had web.xml file in my "lakexamples"

2)I had gone thru the link regarding invoker and made necessary changes..Even then i am getting the same..

COuld u plz list any other possibilities...

thanka a lot
dhana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Status 405 error plz help