What information does ServletRequest allow access to?
Information such as the names of the parameters passed in by the client, the protocol (scheme) being used by the client, and the names of the remote host that made the request and the server that received it. Also the input stream, as ServletInputStream.Servlets use the input stream to get data from clients that use application protocols such as the HTTP POST and GET methods.
Related Questions
- What is the difference between RequestDispatchers forward(ServletRequest request, ServletResponse response) method and HttpServletResponses sendRedirect(String location) method?
- What is D difference between RequestDispatchers forward(ServletRequest request, ServletResponse response) method N HttpServletResponses sendRedirect(String location) method?
- What information that the ServletRequest interface allows the servlet access to?