s:fileUpload ... fileSize=#{foo.fixeSize} /
Then check the fileSize in your action method.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058085#4058085
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058085
Thank you very much, Pete.
Is this missing in the docs? I can't find it there (I'm using version 1.2.1.GA).
Regards,
Jörg
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058096#4058096
Reply to the post :
Is there a way to make s:fileUpload throw FileUploadException on a per case
basis before reading the whole stream? I don't want uploading a file happens if
I'll discard it anyway.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058125#4058125
Reply to the post
Yes it is, I'll update them :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058115#4058115
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058115
___
jboss-user mailing list
Well http will post the file data to the server before invoking any JSF stuff -
so its uploaded whatever. If you point data at a InputStream, then fileUpload
doesn't read in the stream, you do in your backing bean.
View the original post :
If I have this in my components.xml
component class=org.jboss.seam.web.MultipartFilter
| property name=maxRequestSize100/property
| /component
then the filter just checks the Content-Length of the HTTP request and throws
the exception before reading the HTTP content if the length is