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.
Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
Thread Boost - a very different sort of advertising

This thread has been viewed 380 times.

All times above are in ranch (not your local) time.
The current ranch time is
Apr 20, 2018 06:55:56.