struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STR-3128) put SizeLimitExceededException into request to get the details
Date Thu, 05 Jun 2008 03:50:05 GMT

    [ https://issues.apache.org/struts/browse/STR-3128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44027#action_44027
] 

Paul Benedict commented on STR-3128:
------------------------------------

Why can't you just catch the exception?

> put SizeLimitExceededException into request to get the details
> --------------------------------------------------------------
>
>                 Key: STR-3128
>                 URL: https://issues.apache.org/struts/browse/STR-3128
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.3.9
>         Environment: all
>            Reporter: Ralf Hauser
>             Fix For: 1.3.11
>
>
> SizeException(String message, long actual, long permitted) caught in org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest
has three interesting parameter that may help me assemble a decent error message. Unfortunately,
all this is ignored (not even a "log.debug").
> Therefore please create a "MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEEDED_EXCEPTION"
where I could retrieve the details
> see also issue STR-1750

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message