hi
 
    When we use SonyErisson K618 & W850 mobile phone to upload file via
xhtml-mobile page
we get a exception as below:
 
org.apache.commons.fileupload.MultipartStream$MalformedStreamException:
Stream ended unexpectedly
 at
org.apache.commons.fileupload.MultipartStream.readHeaders(MultipartStream.ja
va:542)
 at
org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.findNextIt
em(FileUploadBase.java:859)
 at
org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(Fil
eUploadBase.java:825)
 at
org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.
java:323)
 at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.jav
a:341)
 at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.jav
a:302)
 at
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(Common
sMultipartRequestHandler.java:193)
 at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:442)
 at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
ava:816)
 at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 at
com.liusoft.dlog4j.servlet.DLOG_ActionServlet.process(DLOG_ActionServlet.jav
a:113)
 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
 
but other mobile phone such as Nokia , works well. 
 
we try to use cos fileupload api, also the same exception.
 
Can anyone help me with this problem ?
 
Thanks.
 
Winter Lau
[EMAIL PROTECTED]
http://www.dlog.cn
 

Reply via email to