Click here to Skip to main content
15,888,006 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I deployed my web application which expose some rest services in tomcat 6, but sometimes in the production when application trying to read from input stream for POST type webservice, the input stream returning 0, Input stream is of type CoyoteInputSream, please check the part of code that i am using to read from input stream,

Below input is of type CoyoteInputStream provided by container. .

n = input.read(buffer);
// sometimes n is zero. .
I deployed my app in linux environment
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900