Forums de discussion
bridge:inputFile and FileSizeLimitExceededException
PortletFaces Community Member, modifié il y a 12 années.
bridge:inputFile and FileSizeLimitExceededException
Regular Member Publications: 199 Date d'inscription: 03/04/12 Publications récentes
Hi there,
I limit the size of an upload with javax.faces.UPLOADED_FILE_MAX_SIZE in web.xml.
Now how do I catch the corresponding exception and tell the user of this limitation?
It tried using an exception handler and a filter but none is able to catch the exception.
It would also be nice to have an attribute fileSize for bridge:inputFile.
Regards,
Torsten
I limit the size of an upload with javax.faces.UPLOADED_FILE_MAX_SIZE in web.xml.
Now how do I catch the corresponding exception and tell the user of this limitation?
It tried using an exception handler and a filter but none is able to catch the exception.
It would also be nice to have an attribute fileSize for bridge:inputFile.
Regards,
Torsten
Neil Griffin, modifié il y a 12 années.
RE: bridge:inputFile and FileSizeLimitExceededException
Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
Looks like we're swallowing the error in the org.portletfaces.bridge.context.map.RequestParameterMapMultiPartImpl constructor. Maybe you could submit a feature request at issues.liferay.com? Thanks, Neil
Neil Griffin, modifié il y a 12 années.