Hi.
I'm using current validation on my HTTPServlet to check if the user
uploads big files:
int contentLength = req.getContentLength();
if (contentLength < 0 || contentLength > maxSize) {
res.sendError(509, "CHAP@: "+contentLength+" BYTE-a");
}
else {
}
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.