upload file with GWT (MVP pattern)

2011-08-15 Thread GWT and Web Services
i want to add upload file on my application, i implemented it like you
did, but it doesnt work, when i debug i found that items is null.

PS: i use MVP pattern , so is there another way to implement upload
file.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: upload file with GWT (MVP pattern)

2011-08-15 Thread Thad
Did you call setName(String) on the FileUpload object? If you do not,
org.apache.commons.fileupload.servlet.ServletFileUpload won't list
your field in parseRequest(HttpServletRequest).

On Aug 15, 8:47 am, GWT and Web Services loubar.bil...@gmail.com
wrote:
 i want to add upload file on my application, i implemented it like you
 did, but it doesnt work, when i debug i found that items is null.

 PS: i use MVP pattern , so is there another way to implement upload
 file.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.