Home | Techie Talk | Story Time | About | Contact

Friday, December 28, 2007

Method get is not defined in RFC 2068 and is not supported by the Servlet API.

We are working in a web based software product, and we make lot of AJAX calls in the application. Today, while making an AJAX call to an servlet, the application started throwing the following strange exception:

Method get is not defined in RFC 2068 and is not supported by the Servlet API.

More interestingly this error occurred only in one particular computer and the program worked fine in all other computers!!!

After nearly one day of analysis and debugging, finally we found the error :

In our code we had marked the request as "get", when we changed it to "GET" it worked like a charm!!!


Likewise, if you get the similar error message for "post" then changing it as "POST" should solve the problem.

Method get is not defined in RFC 2068 and is not supported by the Servlet API, Servlet, Java, Troubleshooting, Web Application Problems, Apache Tomcat problem, Ajax Call, Ajax Problems

Labels: , , , , , , ,