This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes what does getWriter() do ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

what does getWriter() do ??

Acid Burn
Greenhorn

Joined: Jun 18, 2001
Posts: 4
Can someone explain PrintWriter out = response.getWriter(); ?
Also, what are the other objects available for say, logging to file or writing to system console ?
Thnx
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
We prefer real names here in JavaRanch.
Please use yours instead of a "handle".
We'll be happy to comment on your question after you re-register with your name.
Thanks
---
Sheriff Tony


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: what does getWriter() do ??