[jboss-user] [JBoss Seam] - Restrict file upload size individually

codest do-not-reply at jboss.com
Wed Jun 27 07:02:30 EDT 2007


Hi there,

is there a possibility to check the size of a file when uploading with s:fileUpload? I know about the configuration directive maxRequestSize, but I have different limits in an application, depending on which files I want to upload (e.g. a foto vs. a pdf document).

So how can I check the size of an uploaded file to reject it if necessary?

Thanks in advance,
regards,
Jörg

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

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




More information about the jboss-user mailing list