Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about BufferedReader on Servlets

 
Sheng Gu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic