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.
It's fun to be me, and still legal in 9 states! Wanna see my tiny ad?
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 395 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 23, 2018 04:02:12.