run servlet on localhost
HjavaOct 5 2012 — edited Oct 19 2012I 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).