Nic Ferrier wrote:

> 1. request/response object can be kept if you want (but I can't see
> why you would want)

In Tomcat, at least, keeping these objects will cause serious problems, because
the same request and response objects are reused on subsequent requests, often
from different users (recycling instead of creating new objects every time).
I'm sure that other servers use this same performance optimization.

If you need to keep something beyond the current request, you should save it in
a session or in the servlet context.

> Nic Ferrier
>

Craig McClanahan

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to