Problem with FileUpload

2010-02-25 Thread Nils
Hi, my English is not very good, please be understanding I try to make an FileUpload when I press the submitbutton, the server code is called and executed, but it did not get the file that I want to upload I tested it with a normal htmlformular whether any data arriving as they arrive in this

Re: Problem with FileUpload

2010-02-25 Thread Nils
it does work now i dont know what exactly was the error but it works -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-18 Thread GWT-Newbie
Thanks for your answer! My html file has the correct type and I am using the correct method on your form. In the Client, the special chars of the FormPanel items are still ok, before it's submitted. (e.g. Grüße) If I get the Strings of the submitted items in the servlet (item.getString()), the

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-18 Thread Martin Trummer
what does request.getCharacterEncoding() show? if you use commons-file upload, you could try to manually set the encoding upload.setHeaderEncoding(encoding) -- to the same value you use in your meta tag On 18 Nov., 10:18, GWT-Newbie manuel.krann...@fun.de wrote: Thanks for your answer! My

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-18 Thread GWT-Newbie
Yes, I'm using commons-file upload. My meta tag is: meta http-equiv=content-type content=text/html; charset=UTF-8 request.getCharacterEncoding() shows UTF-8 upload.getHeaderEncoding() now also shows UTF-8 But still getting the wrong result. -.- On 18 Nov., 11:40, Martin Trummer

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-18 Thread Martin Trummer
hm - works for me maybe you should make a simple testapplication and post the entry point class and a minimal version of your servlet On 18 Nov., 13:20, GWT-Newbie manuel.krann...@fun.de wrote: Yes, I'm using commons-file upload. My meta tag is: meta http-equiv=content-type content=text/html;

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-18 Thread GWT-Newbie
Solved the problem :) It wasn't the GWT making complications, the chars arrived at the server correctly, but were misinterpreted by Apache Commons Fileupload reading the items with the filItem.getString()-Method. In addition to upload.setHeaderEncoding(UTF-8), I had to add a argument to every

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-17 Thread GWT-Newbie
On the client side, I did uploadForm.setEncoding (FormPanel.ENCODING_MULTIPART); In the server code, I have nothing like a encoding or a charset setting. I have no idea to fix it, dan anyone help me? On 13 Nov., 16:33, Thomas Broyer t.bro...@gmail.com wrote: On Nov 13, 10:46 am, GWT-Newbie

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-17 Thread GWT-Newbie
I tried request.setCharacterEncoding(text/hmtl; UTF-8 and got the same result. -.- On 17 Nov., 10:31, GWT-Newbie manuel.krann...@fun.de wrote: On the client side, I did uploadForm.setEncoding (FormPanel.ENCODING_MULTIPART); In the server code, I have nothing like a encoding or a charset

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-17 Thread Martin Trummer
check that your html file has the correct content type: meta http-equiv=content-type content=text/html; charset=UTF-8 then put a breakpoint in your servlet and check if the special chars are still ok and make sure, to use the correct method on your form setMethod(FormPanel.METHOD_POST) On 13

Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-13 Thread GWT-Newbie
Hey there, using the FormPanel with the FileUpload widget, the strings from the TextBoxes and TextAreas of my FormPanel don't support some special characters and german umlauts. On the client-side everything is okay, but arriving at the server, the characters and umlauts (like ä ü ö) were

Re: Problem: FormPanel / FileUpload - special characters and german umlauts

2009-11-13 Thread Thomas Broyer
On Nov 13, 10:46 am, GWT-Newbie manuel.krann...@fun.de wrote: Hey there, using the FormPanel with the FileUpload widget, the strings from the TextBoxes and TextAreas of my FormPanel don't support some special characters and german umlauts. On the client-side everything is okay, but

Re: problem with FileUpload

2009-09-04 Thread El Mentecato Mayor
No. What you want is only possible with an applet (be it a flash, java, activex, etc applet which will request more permissions from the user to do what you need). Search for multiple file uploads in this group if you want to get into that. On Jul 17, 1:20 pm, jucimarjr

problem with FileUpload

2009-07-17 Thread jucimarjr
Hi, I'm dealing with the following problem: I'm using the class FileUpload to upload a photo file. But I would like that, when I open a dialog box to the user choose his picture, the file formats appear only image formats. Now is showing All files. Is it possible do that? Regards, Jucimar

a problem with FileUpload in IE8

2009-01-29 Thread yb.chen
i use FileUpload to upload the file. when i test it in ie8 , i find a problem: after selecting a file , i put the mouse to the upload button, it appears shadow of the file name in textarea. --~--~-~--~~~---~--~~ You received this message because you are