0

I am using rich:fileUpload for uploading multiple files. It works just fine when I have allowFlash="true" but, when I set allowFlash="false" it doesn't work anymore. It just doesn't do anything.

Could someone please help me understand why this doesn't work.

1
  • It would be good if you post the error StackTrace Commented Jun 28, 2012 at 14:13

2 Answers 2

0

I had similar problem. There was an error in the server.log:

org.richfaces.exception.FileUploadException: Exception parsing multipart request: Request prolog cannot be read

The problem has something to do with Glassfish 3.1.2 (see the bug report). The solution is to download web-core.jar from the top of the site and overwrite the old file in glassfish.

Sign up to request clarification or add additional context in comments.

Comments

0

To solve this problem, simply add the following to your components.xml to disable the Seam multipart filter and the rich:fileUpload will work. Not sure if this will break any other Seam features.

web:multipart-filter disabled="true" 

1 Comment

For Glassfish where does this line go as there is no components.xml?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.