[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1329) Fileupload contentLength > maxRequestSize throws RuntimeException
Kenneth Christensen (JIRA)
jira-events at lists.jboss.org
Wed May 16 13:34:02 EDT 2007
Fileupload contentLength > maxRequestSize throws RuntimeException
-----------------------------------------------------------------
Key: JBSEAM-1329
URL: http://jira.jboss.com/jira/browse/JBSEAM-1329
Project: JBoss Seam
Issue Type: Feature Request
Affects Versions: 1.2.1.GA
Reporter: Kenneth Christensen
Priority: Minor
Because it's a RuntimeException I can't tell the user about the problem, e.g. file is too big. I can only show the user a standard error page :-(
What about a MaxRequestSizeException? If I have a MaxRequestSizeException I can show the user a non-standard error page.
e.g.
Code:
<pages>
<exception class="org.jboss.seam.MaxRequestSizeException">
<redirect view-id="/uploadError.xhtml">
<message>File is too big</message>
</redirect>
</exception>
</pages>
Will it be possible to implement above feature in the fileupload component?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list