This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

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