I am redirecting to a servlet using res.sendRedirect("ValidUserServlet");
Below given is the servlet.
I get the below given error.
HTTP Status 405 - HTTP method GET is not supported by this URL
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).
I have not used HTTP method GET.
Why does this happen?