On 12/15/06, Scott Carr <[EMAIL PROTECTED]> wrote:
Hm, the reason I asked, is because of a test I ran.  strLine is always null.

Here's the simple test method I used:

   protected void doPost(HttpServletRequest request,
                        HttpServletResponse response)
                throws ServletException, java.io.IOException
        {       
                BufferedReader reader = request.getReader();
                String line;
                while ( (line = reader.readLine()) != null )
                {
                        System.out.println(line);       
                }
                
                RequestDispatcher rd =
this.getServletContext().getRequestDispatcher("/WEB-INF/jsp/screen/screen-post.jsp");
                rd.forward(request, response);          
        }
}

POSTed content is written to catalina.out as I'd expect.

--
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to