This isn't really doable because at the point in time where the file upload request is
parsed there is no FacesContext, no view root, etc. What you could possible do though is
configure multiple filters with different paths, each with their own max-request-size
parameter.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046377#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...