2 Replies Latest reply on Jun 30, 2009 11:50 AM by blabno

    s:fileUpload and FileUploadException

    parag talekar Newbie

      First of all, congratulations on the new website.

      I have a page with the s:fileUpload tag, and I have configured components.xml to limit the size to 1024Kb. I also have an exception handler defined in pages.xml.

      When I try to upload a file greater than 1024Kb I get the FileUploadException and the user is redirected to the error page defined in pages.xml.

      How can I configure Seam so that the user is NOT redirected but stays on the same page and the file size error message appears on top?