How to handle
java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException: The field fileName exceeds its maximum permitted size of 3145728 bytes.
This happens after uploading a file which is bigger than maxFileSize limit in servlet @MultipartConfig. Is there a way to load in browser custom error page or something else because after that client recievs
The connection was reset