Upload large file error

Hi,

Whenever I try to upload a file larger than the size defined in web.xml, I get an error
message (see attachment). As you noticed, the portlet is no longer showned.

Since the error occurs before my code is executed, I can’t catch it and throw a customized
error message (as done with the BaseFacesBean.error method) , without my portlet disappearing…

Any ideas how to customize this error?

Regards,
Rui Cabete

Could you have a quick look at this post? http://tech.forums.softwareag.com/viewtopic.php?t=23188&highlight=upload&sid=4cd67d4d7ee18e807dc949f9b0f488ad

If you set the MWS max file size larger than the allowed file size, your code should be able to handle this error condition with your own UI.

With any luck this workaround will be sufficient for your requirements.

Regards,
–mark

Hi Mark,

Thanks for the reply, but the suggested workaround won’t do the job!

If an user uploads a file larger than the MWS max file size, (and users don’t know the MWS max file size, and even if they know, they won’t care!) we’ll have the same problem again.

Regards,
Rui Cabete

I’m sorry, but there isn’t a more comprehensive workaround available at this time. I’d recommend opening a Support Incident.

Regards,
–mark