DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28983>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28983

Unimplemented Servlet 2.3 methods in MultipartRequestWrapper





------- Additional Comments From [EMAIL PROTECTED]  2004-06-09 21:20 -------
In my need to solve the issues with Bug 17583  (multipart request params not
forwarded on) as Niall pointed out above, i suppose i came up with what i think
is a good fix to this issue as well (which now that i've read through this
thread, he suggested the same approach i took).  

You can read my full comments there and view my code as well, but the
appreviated version is that i simply created a small subclass of the
RequestProcessor and configured struts to use that one instead of the default. 
The new RequestProcessor in turn uses a new subclass of MultipartRequestWrapper
that implements the Servlet 2.3 methods.  This prevents the need to do any
reflection or compile time switches...  if you need Servlet 2.3, then simply
compile those 2 classes against the latest servlet jar, and bundle them in a new
jar file.  No need to recompile struts or modify any of the existing jar files.

To directly responde to Niall's post above i would recommend against the
reflection aproach and simply document the configuration change needed to
"upgrade" to Servlet 2.3, of course provided that you choose to include an
additional jar with the necessary classes to conform to Servlet 2.3 or above.

eric

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

Reply via email to