You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/07/14 02:21:07 UTC
DO NOT REPLY [Bug 21486] -
NoSuchMethodError: MultipartStream.setHeaderEncoding
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=21486>.
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=21486
NoSuchMethodError: MultipartStream.setHeaderEncoding
ecarmich@alumni.rice.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
OS/Version|Linux |All
Resolution| |WORKSFORME
------- Additional Comments From ecarmich@alumni.rice.edu 2003-07-14 00:21 -------
I wasn't able to reproduce this with the struts-upload.war from Struts 1.1
Final running on Tomcat 4.1.24.
>From the stack trace it seems your problem is with Commons FileUpload rather
than Struts itself (the missing
org.apache.commons.fileupload.MultipartStream.setHeaderEncoding is called from
another Commons FileUpload method,
org.apache.commons.fileupload.FileUploadBase.parseRequest). The fact that you
don't get the problem with Struts 1.1b3 doesn't necessarily indicate
otherwise; Struts 1.1 Final calls
org.apache.commons.fileupload.DiskFileUpload.parseRequest, and Struts 1.1b3
calls org.apache.commons.fileupload.FileUpload.parseRequest, so a sufficiently
broken Commons FileUpload would be consistent with what you're seeing.
But that said, I don't see anything wrong with the Commons FileUpload code
that would explain your problem. So what I would suggest is that you check
again that the commons-fileupload.jar you're using is the 1.0 release
(unmodified), and if that doesn't fix the problem, raise the issue with the
Commons FileUpload folks.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org