In my Lotus Notes web application, I have file upload functionality. Here I want to validate the attachment file size before uploading which I did through webquerysave. My problem is that whenever the attached file size exceeds the limitation, which is configured in server document, it throws the server error page like “HTTP: 500 Invalid POST Request Exception”.
I tried some methods to resolve this, but they’re not working:
- In domcfg.nsf, I mapped the target form called "CustomGeneralErrorForm".
- I created "$$ReturnGeneralError" from to show error page.
- In Notes.ini, I added "HTTPMultiErrorPage=/error.html"
How can I resolve this issue?