[jboss-user] [JBoss Seam] - Re: Simplest <s:fileUpload> usage

evl123 do-not-reply at jboss.com
Mon Jun 4 20:20:50 EDT 2007


Hi Shane,
I'd like to report an error and apologize to user evl123.  My userid is landrew but for some reason, there's a mix-up that started happening when I submitted an instant reply a few days ago.  Since then, my replies were submitted in evl123 userid.  I didn't really pay attention to this error (thinking that it could be a temporary alias for my postings because I just joined the forum).  Until a few minutes ago when I clicked on profile of evl123 and found that the userid belongs to another user.  Again, I'd like to inform this error to the forum and hope this would be corrected soon (if this reply still goes in as evl123 user's.)

On the s:fileUpload, now I have an issue regarding the file size exceeding a configured limit.  When that happens, an HTTP code 500 returns with the following message:
java.lang.RuntimeException: Multipart request is larger than allowed size

I could not find a way to catch this exception and customize it.  I found this page (which mentions the same issue):
http://jira.jboss.com:8080/jira/browse/JBSEAM-1239?page=all&decorator=printable

However, I have no idea how to resolve this exception.

The following is my configuration in components.xml
    <web:multipart-filter create-temp-files="true" 
                          max-request-size="10000" 
                          url-pattern="*.seam" />


I would appreciate any advice on how to handle this exception.

Thanks again,
landrew


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051148#4051148

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051148



More information about the jboss-user mailing list