HttpServletRequest interface is defined in "javax.servlet.http" and is used to retrieve parameters from the request, HTTP request header information, cookies from the request, getting session object to maintain session for the request etc. This interface extends the ServletRequest interface to provide request information for HTTP servlets. The HttpServletRequest object is created by the servlet container and is passed as an argument to the servlet's service, doGet, doPost methods etc.
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: Java httpservletrequest
Post your Comment