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.
Posted on: June 9, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles