We are trying to use the Oreilly servlet package to service requests from a
form that is used to upload files. The form contains buttons, checkboxes,
radio buttons, and several 'file' fields.
When request size is larger than the max size we allow, the constructor
new MultipartParser(req, 100000, true, true)
throws an exception, reporting about the size violation.
This is fine but when this happens, we cannot access the values of fields
and buttons that were submitted. This significantly reduce our ability to to
provide the user with a graceful error handling and all we can indicate in
the error message that the total request size was above the limit and any
setting of checkboxes and radio buttons is lost.
Are we missing something ? Any idea how to improve the error handling and to
recover field values ?
From: Mike Campbell [mailto:mike...@s1.com]
Sent: Thursday, January 04, 2001 11:37 AM
Subject: RE: Session Problem
Craig (or anyone),
> You might want to turn your thinking inside out on how to
> handle this problem
I came in on this discussion thread mid-strand, and have a question. Your
code snipped on session handling made perfect sense, and really made the
session-handling issue finally "click" for me. My question is about
timeouts; where is the timeout value set?