Code for uploading file in JSP/
Servlet using DataInputStream works well on Windows 7 running Apache
Tomcat 7.0 (7.0.23) and uploads file correctly. But the same code when run on Apache Tomcat 5.0 in Linux platform is creating file of 0 bytes. The ownership and permissions of the folder to which files are getting uploaded have also been set but still gives the same problem. Please help.