Did you copy and paste that code, so that the parameters of doPost() are in a different order from the parameters of doGet()? Or did you retype it in such a way that both methods have their parameters in the same order?
posted 4 years ago
Hi, Paul. Thanks.
My post method was
When I swap the order of HttpServletRequest and HttpServletResponse, it returns POST method not supported error.
Police line, do not cross. Well, this tiny ad can go through:
Devious Experiments for a Truly Passive Greenhouse!