Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Status 405 error plz help

 
dhana rangu
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic