File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Question about BufferedReader on Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Question about BufferedReader on Servlets" Watch "Question about BufferedReader on Servlets" New topic

Question about BufferedReader on Servlets

Sheng Gu

Joined: Sep 27, 2005
Posts: 12
Hi all,

I have a question about servlet bufferReader. I have a method as follows:

This method works on Tomcat 4.0.3. The bufReader can get all transfered String. However, it doesn't work on Tomcat 5.5.9, and it only gets a partial String. When I changed the method as follows, it works on both Tomcat 4.0.3 and Tomcat 5.5.9. Anybody can tell me why? Thank you in advance.
I agree. Here's the link:
subject: Question about BufferedReader on Servlets