[ 
https://issues.apache.org/jira/browse/FILEUPLOAD-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656561#action_12656561
 ] 

vaishali dolas commented on FILEUPLOAD-170:
-------------------------------------------

I'm using commons-fileupload 1.2.1 version
Some one told me that This most commonly happens when the request has already 
been parsed, or processed in some other way. Since the input stream has aleady 
been consumed by that earlier process, it is no longer available for parsing by 
Commons FileUpload.

Am i required to write my own MultiPartRequest handler to get solution.But i'm 
very new to this struts2.
Can you tell me is it will solve my problem.& if so then how to implement that 
class?

> problem in parseRequest method of 
> ----------------------------------
>
>                 Key: FILEUPLOAD-170
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-170
>             Project: Commons FileUpload
>          Issue Type: Bug
>         Environment: OS: fedora7
> IDE:Netbeans
>            Reporter: vaishali dolas
>
> I'm facing problem to build progressbar while file uploading
> the code snippet is here
> // Create a factory for disk-based file items
> FileItemFactory factory = new DiskFileItemFactory();
> // Create a new file upload handler
> ServletFileUpload upload = new ServletFileUpload(factory);
> // Parse the request
> List   items = upload.parseRequest(request);
> In items i'm always getting null

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to