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=24638>.
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=24638

upload-utf8.jsp doesn't work with bea weblogic server 7.0 - 8.1

           Summary: upload-utf8.jsp doesn't work with bea weblogic server
                    7.0 - 8.1
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Example
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hello,
when I Install struts-upload.war onto a BEA Weblogic server (tried on 7.0 and 
8.1), the example file upload-utf8.jsp doesn't work:
When I put accentuated caracters (like é, ö, ä, ...), I only see bullshit 
(YY..) instead of these caracters on the result page. On the other side, file 
upload works.
On Tomcat it works with no problems.

The problem can be an implicit conversion done in struts:
last year I developp my own UTF-8 fileupload library and when I install it on 
BEA I hat to modify a line in this way:
Original (only working on Tomcat)
--------
Byte byteArray[] = ...; // retrieve parameters from the request
String s = byteArray.toString();

Second version (working on Tomcat and on BEA)
--------------
Byte byteArray[] = ...; // retrieve parameters from the request
String s = byteArray.toString("UTF-8");

Thanks in advance
--
Franck

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

Reply via email to