Very good (I posted the question before, so I decided to go with a short version this time ;-).

The problem: during the FileUpload, parse(...) throws a FileUploadException if the file exceeds maxsize. In order to handle this situation I want to do a forward/redirect, but for the URL I need a field value.

In steps:
- upload.jsp?id=XXXX, in the jsp a hidden field contains the id
- UploadServlet gets file and id
- upon error I want to forward to upload.jsp, with an error and the id

So I need the ID in the servlet when the FileUploadException is thrown.

Better? :-)

Many thanks!

Tom


Dakota Jack wrote:
Not sure what this question is, Tom.  If you can enunciate what you
are asking, I probably can answer the question.

On 4/20/05, Tom Eugelink <[EMAIL PROTECTED]> wrote:

Is it possible to access the form fields upon a file too large exception?

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to