[jboss-user] [JBoss Seam] - <s:fileUpload> and "maxRequestSize" exceptions in 1.2.1

JakeC do-not-reply at jboss.com
Tue Nov 6 19:40:14 EST 2007

I'm reposting this because I messed up the Subject line previously.

Seam 2.0 has this nifty @Filter(within) that allows wrapping the MultipartFilter within the ExceptionFilter, so you can handle the new FileUploadException that MultipartRequest now throws instead of the RuntimeException that it used to throw.

Unfortunately, Seam 1.2.1 doesn't have this attribute. I have modified Seam 1.2.1 to throw FileUploadException, but since MultipartFilter is @Intercept(NEVER), I can't intercept that exception to go to a pretty error page, but always get a 500 error page.

Is there any way via xml configuration to set up the "within" relationship in 1.2.1 that you can do in 2.0 annotations?

There has to be SOME way to handle the error. What IS it?

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

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

More information about the jboss-user mailing list