aspose file tools*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Question about BufferedReader on Servlets" Watch "Question about BufferedReader on Servlets" New topic
Author

Question about BufferedReader on Servlets

Sheng Gu
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Question about BufferedReader on Servlets