The following is the code that i had used - i override the service method in my servlet that extends HttpServlet.
The lines have been commented since it resulted in a compilation error otherwise.
Besides, what ever the action method other than
POST i specify in my
jsp page calling this servlet, the first log statement gives me an output of
GET.Don't understand why it works this way.