gwt upload help

2011-09-06 Thread Marcin Stolarski
While uploading a file with gwt upload I get this message(tomcat logs): ERROR gwtupload.server.UploadServlet - UPLOAD-SERVLET (CB0A5EE1566FA657D493E30FA442E7F8) getUploadStatus: GWTMU-07928628389164111 finished with error: No new data received after 20 seconds I use the newest version (0.6.3

Understanding of GWT Upload

2010-12-02 Thread snehil parekh
Hi All, I have a requirement where I have to support upload of around 500MB files (zip file), so wanted to understand how GWTUpload work: 1) Does it chunk the data, or it sends the data as a continuous stream and keep it in memory ? If yes then it would lead to out-of-memory. 2) Is it a reliable

Re: gwt upload

2010-07-20 Thread rajendra dasari
Actually for normal applications we have to make one serial number for storing the files, because with the same file name having different data. So we have to rename file to some serial number, then you can store your actual name in database, map those two columns. As per your concern if you want d

gwt upload

2010-07-20 Thread ibouakl
i use gwtupload to upload files on the server and it works fine. Question: How Check if the file exists before uploading? if the file exists, how can we give for user the permission to replace or rename or override the file Thx for your help. -- You received this message because you a

Re: GWT Upload not working in server

2010-01-01 Thread Anoop John
Hello tomasm, thanx for the information. request.getRealPath ("uploads") will not work in the linux machine. I moved into another method, thats works fine. On Dec 29 2009, 12:46 pm, tomasm wrote: > If the folder "uploads" exists inside a war file I won't be supprised > if request.getRealPath("upl

Re: GWT Upload not working in server

2009-12-30 Thread tomasm
If the folder "uploads" exists inside a war file I won't be supprised if request.getRealPath("uploads") returns null, and you get a NPE. The javadoc [1] for getRealPath says "[...] This method returns null if the servlet container cannot translate the virtual path to a real path for any reason

GWT Upload not working in server

2009-12-28 Thread Anoop
Hi I am Anoop. I am new in GWT. Its pretty nice. Congrats Google for a good work. Here i am facing a problem with gwtupload. This code is working in the local server. But when i uploaded in to the real server its not working. A nullpointer exception occurred at the line "File fileup = new File(requ

Re: GWT upload file handle exception

2009-06-23 Thread Thomas Broyer
On 23 juin, 15:29, Petein wrote: > hi I have a form which sends a request to a servlet for uploading a > file. How can i handle the exceptions? THe exceptions are caught in > the doPost method of the servlet. The form in my app looks like: > > form = new FormPanel(); >                 form.setE

Re: GWT upload file

2009-06-23 Thread waf
Hi, As far a I know, you can't get server exceptions at FileUpload/ FormPanel because here you are using regular http/post. There can sit anything on the server that such form/post will talk to, not just java servlet. You can catch the exception in servlet and return http status code that fits t

Re: GWT upload file

2009-06-23 Thread Petein
And how can i handle exceptions when an exception is thrown from my servlet? On 22 Ιούν, 23:55, waf wrote: > Petein, > > Try to change form.add(vPanel);  with vPanel.add(form); > maybe that helps a little. > > -- > waf --~--~-~--~~~---~--~~ You received this messa

GWT upload file handle exception

2009-06-23 Thread Petein
hi I have a form which sends a request to a servlet for uploading a file. How can i handle the exceptions? THe exceptions are caught in the doPost method of the servlet. The form in my app looks like: form = new FormPanel(); form.setEncoding(FormPanel.ENCODING_MULTIPART);

Re: GWT upload file

2009-06-22 Thread waf
Petein, Try to change form.add(vPanel); with vPanel.add(form); maybe that helps a little. -- waf --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Goo

GWT upload file

2009-06-22 Thread Petein
hi i created a second form which will let be choose a file and then there is a button for uploading the file which communicates with a servlet for the upload. Here are the 2 sources: Why the file doesnt upload? Any ideas? Anyone to give me a working example? package faceRecognition.client; impo

GWT upload file

2009-06-22 Thread Petein
hi i created a second form which will let be choose a file and then there is a button for uploading the file which communicates with a servlet for the upload. Here are the 2 sources: Why the file doesnt upload? Any ideas? Anyone to give me a working example? package faceRecognition.client; impo