[Logo]
Forums Register Login
Request and Response methods
I have started HF Servlets and JSP.

I wanted to know in which class are the implementation of the methods of the HTTPServletRequest and HTTPServletResponse (say getParameter(String arg),getParameterValues(String args))? I downloaded the jar file containing the source of the servlet-api.jar(V 2.5). I see the ServletRequest Interface with declaration of the methods of the request but not the implementation of these methods.
Since HttpServletRequest and HttpServletResponse are interfaces, it could be anything. One way to find out is to set a breakpoint in your servlet

For example, on Tomcat it is org.apache.catalina.connector.RequestFacade.
The point is, of course, that it doesn't matter.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Oct 22, 2017 23:05:53.