Monday, 27 June 2016

How to acquire a text stream for the response ?


Method of ServletResponse interface
  • PrintWriter getWriter()
    Returns a PrintWriter object that can send character text to the client


    Calling flush() on the PrintWriter commits the response.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.