PrintWriter in HttpServletResponse does not send string content to client
-------------------------------------------------------------------------

                 Key: FELIX-3266
                 URL: https://issues.apache.org/jira/browse/FELIX-3266
             Project: Felix
          Issue Type: Bug
          Components: Lightweight HTTP Service
            Reporter: Ken Gilmer



The following snippet will fail to send "Hello" to HTTP client:

       protected void doGet(HttpServletRequest req, HttpServletResponse resp) 
throws ServletException, IOException {

                resp.getWriter().print("Hello");
        }

Only resp.getOutputStream() will work in version 0.1.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to