Hi guys, i've got some trouble with FormPanel and FileUpload. On the client side I would like to provide a possibility to upload .jar files. But the thing I don't understand: How can I send this .jar file to my server? Is there any possibility to send a file to a servlet on server side or what are my options?
My current code fragment looks like the follows: final FormPanel form = new FormPanel(); form.setAction("/uploadHandler"); form.setEncoding(FormPanel.ENCODING_MULTIPART); form.setMethod(FormPanel.METHOD_POST); visualComponent.add(new FileUpload()); // Add an event handler to the form. form.addFormHandler(new FormHandler() { public void onSubmit(FormSubmitEvent event) { } public void onSubmitComplete(FormSubmitCompleteEvent event) { } }); I would be very glad if anybody can help me. Thanks. kdahm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---