Hi,
I am using Apache + Tomcat 5.
My java/jsp/struts application takes many "file-uploads" or "content from textareas" and does some processing.
I have several struts action classes for the same.
I want to put one "central" gate-level check to see the size of the request - if it is more than some specified size, return a polite 500 message to the user otherwise proceed with normal processing.
How do I configure/code such a filter?
Hope this is not RTFM.
Thank you.
I am using Apache + Tomcat 5.
My java/jsp/struts application takes many "file-uploads" or "content from textareas" and does some processing.
I have several struts action classes for the same.
I want to put one "central" gate-level check to see the size of the request - if it is more than some specified size, return a polite 500 message to the user otherwise proceed with normal processing.
How do I configure/code such a filter?
Hope this is not RTFM.
Thank you.
Comment