hi, natu. i haven't got a time to make test code to verify my opinion, but post this message if it helps.
i assume request means HttpServletRequest. have you tried to examine what is uploeded by looking at the content of request.getInputStream() ? if the html form is like below -- html start ------- <form action="/servlet/UploadServlet" enctype="multipart/form-data" method="POST"> <input type="hidden" name="submitter" value=username><br> <input type="file" name="Uploaded file"><br> <input type="submit" value="Send"> </form> -- html end ------- then the content sent to server would be -- content start ------ Content-Type: multipart/form-data; boundary= ---------------------------10265533117308 -----------------------------10265533117308 content-disposition: form-data; name="submitter" username -----------------------------10265533117308 content-disposition: form-data; name="Uploaded file"; filename="abc.xls" [... contents ...] -----------------------------10265533117308 -- content end ----- and in your case, the excel binary fo abc.xls is only the part of [... contents ..] usually people use some kind of framework or libray such as struts not to take care of handling plain data sent by browser. i hope this helps you. regards ichy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta POI Project: http://jakarta.apache.org/poi/