On Mar 25, 2004, at 4:55 AM, Andrey Almirov wrote:


Hello dear Cocoon users!

When user tries upload the big file the corresponding error screan appears.
"Problem in creating the Request
Content length exceeds maximum upload size"


I can not understand how to I can controll this exception?
I have tried to use the the
<map:handle-errors>

and

<map:selector logger="sitemap.selector.exception" name="exception" src="org.apache.cocoon.selection.ExceptionSelector">
<exception name="not-found" class="org.apache.cocoon.ResourceNotFoundException"/>
<exception class="java.lang.Throwable" unroll="true"/>
</map:selector>

I think you want to catch java.io.IOException.


~ mark


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



Reply via email to