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 <[email protected]> Date: Tue, Apr 30, 2013 at 7:47 AM Subject: Re: JPassion.com javax.servlet.ServletResponse.getWriter To: "JPassion.com Support" <[email protected]> what is the class alias? On Mon, Apr 29, 2013 at 3:53 PM, JPassion.com Support <[email protected]>wrote: > On 4/29/2013 1:06 PM, Joao wrote: > > Name Joao Email [email protected] 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! > ------------------------------------------------------------------- > > -- You received this message because you are subscribed to the Google Groups "JPassion.com: Java Programming" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/jpassion_java?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
