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
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
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
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
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
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
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
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
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
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
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);
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
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
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
14 matches
Mail list logo