The error is as follows:
type Status
Message HTTP method Get isn't supported by this URL
Description The specified HTTP method isn't allowed for the requestedresource.
Reason:
For http/1.1, the default implementation of methods such as Doget or Dopost of the parent class HttpServlet is to return the HTTP error representation of the status Code 405, source profiling:
protected void Doget (HttpServletRequest req, HttpServletResponse resp)
throws Servletexception, IOException
{
String protocol = Req.getprotocol ();
String msg = lstrings.getstring ("http.method_get_not_supported");
if (Protocol.endswith ("1.1"))
Resp.senderror (405, msg);
else
resp.senderror (msg);
The request method for the specified resource is not allowed.
Workaround:
Do not invoke methods such as Doget or Dopost of the parent class httpservlet by overriding methods such as Doget or Dopost in an extended servlert to process requests and responses, i.e. remove Super.doget (request, response) and Super.dopost (request, response);