This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line! See this thread for details.
HttpServletRequest object is created when the container calls the service method. COntainer wraps the request in this type of object. This object is destroyed whenservice method for the called servlet ends.
The extremely important implication of what Mahesh said is that you must NEVER try to keep a request object past the end of a single request/response cycle. Managing request objects is the servlet engine's job. Bill
Bring me the box labeled "thinking cap" ... and then read this tiny ad: