On 4/3/06, Tp <[EMAIL PROTECTED]> wrote: > Remy Maucherat schrieb: > But you said that the connection will not close, when the doGet() or > doPost() method returns, which of course make a lot of sense. Otherwise > Persistent connections would not be possible at all. > > So if that's true, then I should be able to write to the OutputStream of > the HttpResponse at a time, when the doGet() and doPost() method has > returned. > > Why would it not work?
The connection would not close, but all the objects provided by the Servlet API are only accessible during the execution of the service method of the Servlet. For example, in Tomcat's case, these are recycled. -- xxxxxxxxxxxxxxxxxxxxxxxxx Rémy Maucherat Developer & Consultant JBoss Inc xxxxxxxxxxxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]