Portlet Factory, Version 6.1.2
Error: Exception is thrown out when upload a file which size is exceed the limit
With the Process Upload Errors input enabled, you can choose to handle the errors yourself. Any exception that occured during file upload will be placed into a request attribute named "bowstreet.fileUploadException". For example:
javax.servlet.http.HttpServletRequest request = webAppAccess.getHttpServletRequest(); if ( request.getAttribute("bowstreet.fileUploadException") != null ) Throwable ex = (Throwable)request.getAttribute("bowstreet.fileUploadException"); // Handle error..Parent topic: File Upload builder
Library | Support |