The situation is this -
I have a
struts app which I have to provide a file upload facility. Because I have my Form using enctype="multipart/form-data" the Struts framework generates this warning -
"One of the getParameter family of methods called after reading from the
ServletInputStream. Not merging post parameters"
This is because I beleive Struts use's getParameter() in it's standard framework. This however has no adverse effect in my app but obviously I would prefer it not to happen. So hence trying to do the upload using a
Servlet cutting out Struts. This works fine except for the error handling!
From my session facade I throw an Exception when there is a problem with the uploaded file i.e InvalidZIPFileException extends Exception. It's this InvalidZIPFileException that I want to pass to my error page & display a custom error message.
I hope this makes some sense?
harry