Skip to main content

how to set max content-length in glassfish

No replies
lu_jihua
Offline
Joined: 2012-07-31

Hi, my app wants to limit the upload file size. i wrote a servlet, but when i get the size of content, it's already uploaded.
is there a way to set max content-length in glassfish to avoid un-necessary file transfer