Hi arun
U can use GwtSwfExt lib for uploading files(gmail style file upload).
This lib is wrapper on SWFUpload .
http://code.google.com/p/gwtswfext/
Thanks
Dug
On Apr 9, 12:58 am, "
arun.r...@gmail.com" <
ashwinkva...@gmail.com>
wrote:
> Hi All,
>
> I am getting multipart false on server side even i am setting it
> (ENCODING_MULTIPART) on client side.
>
> My Code
> ------------------------------------------------------------------------------------
>
> 1.GWTwidget: FormHandle
> DiskFileUploadupload= new DiskFileUpload();
> try {
> List items =upload.parseRequest(request);
> Iterator it = items.iterator();
> while (it.hasNext()) {
> FileItem item = (FileItem) it.next();
> if(!item.isFormField()){
> File fullFile = new File(item.getName());
> File savedFile = new File(parentPath,fullFile.getName());
> item.write(savedFile);}
> }
> } catch (FileUploadException fUE) {
>
> System.out.println("file not found");} catch (Exception e){
>
> System.out.println("unknown exception");
>
> }
> }
> }
> }
>
> ------------------------------------------------------------------------------------------------------------