Skip to Main Content

Java Programming

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!

run servlet on localhost

HjavaOct 5 2012 — edited Oct 19 2012
I have tomcat 7.027 on local
I am able to see
1)http://localhost/
2)http://localhost/MyProject/index.jsp
3)http://localhost/MyProject/Hello ( servlet)
4)My other servlet did not have either doGet or doPost but it can run on other servers, I would like to let them run on localhost, but I get 405 error, what do I miss?
type Status report

message HTTP method GET is not supported by this URL

description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 16 2012
Added on Oct 5 2012
19 comments
952 views