Thank for you reply.
 My problem is solved. One of the reasons is that the server who sends the
file with damaged format.
thank you again.



-----Original Message-----
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 6:16 PM
To: Tomcat Users List
Subject: RE: How to Display a byte array (contents of a MS DOC fie,
Excel, ..) in web browser


What do you want to see? Hex digits?

-----Original Message-----
From: Daxin Zuo [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 9:12 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: How to Display a byte array (contents of a MS DOC fie, Excel,
..) in web browser

I receive a byte array from a remote server, and the servlet will
display it on the browser. The byte array contains a MS DOC file. If I
simply convert it to a String, the contents will be meaningless.
Please forward instruction.


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


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


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

Reply via email to