Why do I get the "405 Method Not Allowed" error when I try to POST to a JSP page?

Kameswari Jyosyula

You typically get a "405 Method Not Allowed" error if you have not started your servlet container. For instance, you may be using an Apache server, but may not have started Tomcat or some other servlet container in the background. Make sure the servlet container is listening in the background and restart Apache before you try again.