Hello

I want to set a limit for uploaded files. So my struts-config.xml looks like
this:

<controller maxFileSize="1M" contentType="text/html" locale="true"/>


But howto do I recognize, that a file larger than 1M was uploaded.
Can I catch the MaxLengthExceededException or
can I overload CommonsMultipartRequestHandler to add some information to the
request!
Or is there already any information in the request.
Whats the best way to handle this?

Thanks

Bernhard Oberndorfer
xpecto AG
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to