Thank you for your quick response. That makes sense. I'll check server configs.
Thanks!! Ryo Tsunoda 2022年6月9日(木) 21:07 Martin Terra <[email protected]>: > Hi! > > I would assume that you should set the form levele restriction stricter > than application or server level to allow the form to be processed and thus > give way for the onFileUploadException to be invoked. > > ** > Martin > > to 9. kesäk. 2022 klo 14.57 Ryo Tsunoda ([email protected]) > kirjoitti: > > > Hi. > > > > Looking at Form#onFileUploadException, I see that it sets an error > message > > (resource key: uploadTooLarge), is there any way to display this error in > > the browser? > > > > I use Form#setMaxSize and ApplicationSettings#setDefaultMaximumUploadSize > > methods. > > When I upload a file that exceeds these settings, I would like to return > a > > response with an error message and display it on browser. However, the > > browser displays [ERR_CONNECTION_RESET] now. > > > > > > Regards, > > Ryo Tsunoda. > > >
