My assumption is that you are using a form and did not specify any method in which case it is GET by default or either the method specified is GET. In which case the
servlet serving the req has to have a doGet() method. Probably you have a doPost() method without a doGet().