Fwd: JPassion.com javax.servlet.ServletResponse.getWriter

20 views
Skip to first unread message

Joao Coelho

unread,
Apr 30, 2013, 10:50:21 AM4/30/13
to jpassi...@googlegroups.com
A co-worker told me that when we open a printwriter that we should not close it since the container does that. In your servlet examples you close the printwriter and Chapter four of the Oracle tutorial shows both ways, opening printerwriter and closing and not closing it. Can you clarify?

---------- Forwarded message ----------
From: Joao Coelho <joao...@gmail.com>
Date: Tue, Apr 30, 2013 at 7:47 AM
Subject: Re: JPassion.com javax.servlet.ServletResponse.getWriter
To: "JPassion.com Support" <sup...@jpassion.com>


what is the class alias?


On Mon, Apr 29, 2013 at 3:53 PM, JPassion.com Support <sup...@jpassion.com> wrote:
On 4/29/2013 1:06 PM, Joao wrote:
     
Name   Joao
Email   joao...@gmail.com
Subject   javax.servlet.ServletResponse.getWriter
Message   A co-worker told me that when we open a printwriter that we should not close it since the container does that. In your servlet examples you close the printwriter and Chapter four of the Oracle tutorial shows both ways, opening printerwriter and closing and not closing it. Can you clarify?
Attachment  
     

Can you post technical question to the class alias so that
we can keep track of them there?  Thanks.

-- 
-------------------------------------------------------------------
             JPassion.com Support team
              Learn with JPassion!
-------------------------------------------------------------------


Reply all
Reply to author
Forward
0 new messages