1 2 3 4 5 6 7 8 9 10 11 12
| public java.io.PrintWriter getWriter() throws java.io.IOException
Returns a PrintWriter object that can send character text to the client. The
character encoding used is the one specified in the charset= property of the
setContentType(java.lang.String) method, which must be called before calling
this method for the charset to take effect.
If necessary, the MIME type of the response is modified to reflect the
character encoding used.
Either this method or getOutputStream() may be called to write the body,
not both. |