This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Error while parsing Multipart Request multiple times (oreilly's MultipartParser) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Error while parsing Multipart Request multiple times (oreilly Watch "Error while parsing Multipart Request multiple times (oreilly New topic
Author

Error while parsing Multipart Request multiple times (oreilly's MultipartParser)

N Dave
Greenhorn

Joined: Mar 31, 2006
Posts: 4
Hi All
I am trying to introduce a filter for multipart request.
The filter parses the request using oreilly's MultipartParser. It validates the file content & then forward it to application code.<br>
When application tries to parse the request again, we get following error...
java.io.IOException: Corrupt form data: premature ending at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:156) at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:83)
I would like to know if i can parse a multipart request without corrupting the original request & if it can be parsed again.
Thanks in adavnce,
Cheers
Dave
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Error while parsing Multipart Request multiple times (oreilly's MultipartParser)
 
Similar Threads
Linkage error
file upload problem..urgent please
Unable to upload big file
Upload file and fetch other parameters as well...
problem while posting data