2 Replies Latest reply on May 16, 2007 1:32 PM by Kenneth Christensen

    Fileupload contentLength > maxRequestSize throws RuntimeExce

    Kenneth Christensen Novice

      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 MaxRequestSizeException I can show the user a non-standard error page.


      <exception class="org.jboss.seam.MaxRequestSizeException">
      <redirect view-id="/uploadError.xhtml">
      <message>File is too big</message>

      Will it be possible to implement above feature in the fileupload component?