DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8732>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8732 Fileupload with Bea Weblogic 6.1 Sp2 throws an exception Summary: Fileupload with Bea Weblogic 6.1 Sp2 throws an exception Product: Struts Version: 1.1 Beta 1 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: File Upload AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, when you use struts in combination with a Weblogic servlet container and you would like to use multipart forms for a file upload, you get a 500 error :o( . But it's easy to fix ! In package "org.apache.struts.action" class "RequestProcessor" method "doForward(...)" add the follwing code as the first lines: if (request instanceof MultipartRequestWrapper) { request = ((MultipartRequestWrapper) request).getRequest(); } Reason: Bea checks the request like this: if(servletrequest instanceof HttpServletRequestWrapper) { .... } else { throw new ServletException("Original request not available"); } Ciao... R. Reinicke -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>