File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

what does getWriter() do ??

Acid Burn

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 ?
Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
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.
Sheriff Tony

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
I agree. Here's the link:
subject: what does getWriter() do ??
It's not a secret anymore!