I try to implement a servlet that reads files from a ServletInputStream(multipart/formdata).
To do this i use the readLine-Method which appeared to be exactly what i needed.
I've tested it on the two webservers; one is Javawebserver1.1.3 for win95;the other is Apache1.3.4 webserver for solais which inclued Apache Jserv.
 
But now i ran into a problem on the Apache web server(no problems on the javawebserver for win95);
When i upload files, somtimes a java.lang.ArrayIndexOutOfBoundsException is thrown inside the
readLine-Method!
[17/04/1999 07:16:10 GMT]: java.lang.ArrayIndexOutOfBoundsException: 8192: 8192
java.lang.ArrayIndexOutOfBoundsException: 8192
        at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:69)
        at FileUploadServlet.doPost(FileUploadServlet.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.apache.jserv.JServConnection.run(JServConnection.java:349)
Did anyone see this before?
In advance, I'll appreciate.
 
--^_^----^_^----^_^----^_^--
Korea Telecom Chungbuk Office
Chaehwan Im
[EMAIL PROTECTED]
----------------------------

Reply via email to