tushar attar wrote:
That's not an override but an overload. The arguments should be HttpServletRequest and HttpServletResponse. Right now there is no doPost implementation, which means the default implementation kicks in. Guess what? That returns a 405 error.
Here's a tip: annotate all your overridden methods with
@Override. If it's not a proper override (or interface method implementation), you'll get a compiler error, and you'll know immediately you did something wrong.