GWT FileUpload Error

2014-12-08 Thread Kesavan Kumar
hello all, Currently i am working with GWT. I need to convert the uploaded file into byte array using Servlet . i have done that coding, when i run the code in loacal machine i am getting the request type as HttpServletRequest. when i run the code using JBoss 4.2 i am getting t

Re: GWT FileUpload with Progress Listener

2013-11-28 Thread confile
Yes, but I do not get how to use it. Can you help me with this please? Am Donnerstag, 28. November 2013 12:20:21 UTC+1 schrieb Thomas Broyer: > > Have you checked Elemental? AFAICT, everything's there already. > http://www.gwtproject.org/articles/elemental.html > > On Wednesday, November 27, 2013

Re: GWT FileUpload with Progress Listener

2013-11-28 Thread Thomas Broyer
Have you checked Elemental? AFAICT, everything's there already. http://www.gwtproject.org/articles/elemental.html On Wednesday, November 27, 2013 4:02:48 PM UTC+1, confile wrote: > > want to observe the upload percentage of a file upload from GWT. > > In JavaScript you can use a XMLHttpRequest an

Re: GWT FileUpload with Progress Listener

2013-11-27 Thread confile
I did not seen how to implement the progress listener in this post. Could you please post an example? Am Mittwoch, 27. November 2013 18:49:42 UTC+1 schrieb Juan Pablo Gardella: > > See https://code.google.com/p/google-web-toolkit/issues/detail?id=624 comment > 23

Re: GWT FileUpload with Progress Listener

2013-11-27 Thread Juan Pablo Gardella
See https://code.google.com/p/google-web-toolkit/issues/detail?id=624 comment 23 . I've implemented a file upload with a listener and had this problem and solved it using the workaround described there. Juan 2013/11/27 confil

Re: GWT FileUpload with Progress Listener

2013-11-27 Thread confile
Hi Jens, thanks for your help. I know the concept but did not fully understand you. 1. What do you mean by: "Don't forget to cleanup the event listener after you are done."? 2. Did I get you right on the following. Since I use the progress for file upload I have to use a FormPanel. my prog

Re: GWT FileUpload with Progress Listener

2013-11-27 Thread Jens
Well if you already know the concept of JSNI then you can use it to add a listener to GWT's XMLHttpRequest as its an ordinary JavaScriptObject. You either extend it or create a utility method. Something along these lines (probably not fully correct): public native void setProgressListener(MyPro

GWT FileUpload with Progress Listener

2013-11-27 Thread confile
want to observe the upload percentage of a file upload from GWT. In JavaScript you can use a XMLHttpRequest and add an event listener like this: var oReq = new XMLHttpRequest(); oReq.upload.addEventListener("progress", updateProgress, false); // progress on transfers from the server to the c

gwt fileupload filter extension

2013-01-04 Thread Giorgio D.
Hi all, how can i filter the extension file with simple fileUpload in GWT. EX: I would like make upload file only jpg file. thank's Giorgio. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https

Re: GWT FileUpload

2012-09-21 Thread Niki
Thanks Thad! You've really helped me with your post.I've had no clue this method transforms the server response. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/goo

Re: GWT FileUpload

2012-09-04 Thread Thad
g. You might have success with something other than angle brackets (<, >), but you'd better test it thoroughly. For example, in one circumstance, I found that "*FOO*bar@baz*FOO*" worked--extract the text between *FOO* and split on @ On Thursday, August 30, 2012 5:18:0

GWT FileUpload

2012-09-03 Thread Bobby
Hello, I have issues with GWT fileUpload in Internet Explorer. in the onSubmitComplete ,event.getResult() is not giving me the XML with values.It is just giving me the XML skeleton without valuse. It works fine in Chrome,but failing in InternetExplorer. Does anyone have this kind of issue

Re: GWT FileUpload Help :-(

2012-07-11 Thread Luis O.
I think this may be the problem. In GreetingServiceImpl.java:38 File temp = new File("C:\\Users\\Alex\\Desktop\\temp.txt"); <= It should be a directory Regards, Luis On Mon, Jul 9, 2012 at 5:45 AM, Alexander Bonzo Supertramp wrote: > Hi all, > i'm working o

Re: GWT FileUpload Help :-(

2012-07-11 Thread JoseM
interfere with what GWT expects the servlet to do. On Monday, July 9, 2012 8:45:55 AM UTC-4, Alexander Bonzo Supertramp wrote: > > Hi all, > i'm working on GWT FileUpload. I have two side, clinet and server. In > client there are a form with FileUpload widget and a submit button that

Re: GWT FileUpload Help :-(

2012-07-11 Thread Vasu
ander Bonzo Supertramp wrote: > > Hi all, > i'm working on GWT FileUpload. I have two side, clinet and server. In > client there are a form with FileUpload widget and a submit button that > send a file to server side. The problem is that the check > if (ServletF

GWT FileUpload Help :-(

2012-07-10 Thread Alexander Bonzo Supertramp
Hi all, i'm working on GWT FileUpload. I have two side, clinet and server. In client there are a form with FileUpload widget and a submit button that send a file to server side. The problem is that the check if (ServletFileUpload.isMultipartContent(request)) {} is

Re: GWT FileUpload - Servlet options and handling response

2012-03-21 Thread learning coding
Hi Ashish. Even i wan t to upload file on server and send back to client. I found the follwing link which is working fine. http://stackoverflow.com/a/606/780393 Regards On Tue, Mar 20, 2012 at 4:39 PM, kim young ill wrote: > > > On Fri, Mar 16, 2012 at 10:27 PM, Ashish wrote: > >> I am ne

Re: GWT FileUpload - Servlet options and handling response

2012-03-20 Thread kim young ill
On Fri, Mar 16, 2012 at 10:27 PM, Ashish wrote: > I am new to GWT and am trying to implement a file upload > functionality. Found some implementation help over the internet and > used that as reference. But have some questions related to that: > > The actual upload or writing the contents of file

Re: GWT FileUpload - Servlet options and handling response

2012-03-17 Thread Andrea Boscolo
Check out the http://code.google.com/p/gwtupload/ project. Easy to use and extend. On Friday, March 16, 2012 10:27:39 PM UTC+1, Ashish wrote: > > I am new to GWT and am trying to implement a file upload > functionality. Found some implementation help over the internet and > used that as referen

Re: GWT FileUpload - Servlet options and handling response

2012-03-16 Thread Jim Douglas
Search for fileupload in this group; there are several posts that discuss the subject. On Friday, March 16, 2012 2:27:39 PM UTC-7, Ashish wrote: > > I am new to GWT and am trying to implement a file upload > functionality. Found some implementation help over the internet and > used that as refe

GWT FileUpload - Servlet options and handling response

2012-03-16 Thread Ashish
I am new to GWT and am trying to implement a file upload functionality. Found some implementation help over the internet and used that as reference. But have some questions related to that: The actual upload or writing the contents of file on server(or disk) will be done by a servlet. Is it necess

Re: Problem with gwt fileUpload in GWT 2.4

2011-12-08 Thread karim duran
Hi James, You can also use Apache commons fileupload library, it's easy to use and to integrate with GWT. http://commons.apache.org/fileupload/ Regards. Karim Duran. 2011/12/8 James Drinkard > Okay, after doing more searching I found you can't do RPC with this > widget, so I opted to create a

Re: Problem with gwt fileUpload in GWT 2.4

2011-12-08 Thread James Drinkard
Okay, after doing more searching I found you can't do RPC with this widget, so I opted to create a regular httpServlet and that worked. Hope this helps someone! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on t

Problem with gwt fileUpload in GWT 2.4

2011-12-07 Thread James Drinkard
Hello All, I have a requirement to get a file, upload it to the server and then get the stream of bytes back in some server-side code. I have to pass an inputStream from the file to a calculator module. So I opted to use the fileUpload widget which appears to work fine on the client-side. I s

gwt : fileUpload servlet

2010-04-26 Thread laurent
Hello, I use a FileUpload Widget in a FormPanel and a button that doing 'formPanel.submit()' when i clicked on but not come in my servlet. TopPanel.ui.xml : [...] [...] TopPanel.java : [...] formPanel.setAction(GWT.getModuleBaseURL() + "SampleUploadServlet"); formPanel.setEncoding(FormPan

Re: GWT FileUpload crashes on Mac in Safari (and Hosted Mode), works in Firefox

2009-12-15 Thread Shawn Brown
> Has anyone experienced something similar to the below post? Safari crash? Yeah after the most recent upgrade it crashed everytime on Leopard. The apple java dev. list suggested using a nightly build of web kit which worked. http://code.google.com/p/google-web-toolkit/issues/detail?id=4220#c2

Re: GWT FileUpload crashes on Mac in Safari (and Hosted Mode), works in Firefox

2009-12-15 Thread Greg
Has anyone experienced something similar to the below post? Thanks, Greg On Nov 16, 12:53 pm, Greg wrote: > Hi, > > I have been trying to get a local file upload to work in a tab panel. > It works fine in Firefox using a vanilla servlet on the backend, but > in Safari, when I click the button to

GWT FileUpload crashes on Mac in Safari (and Hosted Mode), works in Firefox

2009-11-17 Thread Greg
Hi, I have been trying to get a local file upload to work in a tab panel. It works fine in Firefox using a vanilla servlet on the backend, but in Safari, when I click the button to submit, it freezes every time. The structure of my page is a little unique, so I will describe it. I have my entry

Re: GWT fileupload in jetty?

2009-06-26 Thread flyingb...@gmail.com
Oh... freaking a. I forgot to also import commons-io file. Seems like that was the problem. made me wasted a few hours trying to find alternative ways :/ On Jun 26, 4:19 pm, "flyingb...@gmail.com" wrote: > Hi, I  tried using the commons-fileupload-1.2.1.jar in jetty and I get > this problem > >

Re: GWT fileupload problem

2009-04-09 Thread Nickelnext
You can't use the RPC (RemoteServlet) to upload a file. You need to use a plain Servlet. Do some googling for more information. - Nickelnext --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

GWT fileupload problem

2009-04-08 Thread arun.r...@gmail.com
Hi All, I am getting multipart null even it is set (ENCODING_MULTIPART) on client side. - My Code - 1. GWT widget: FormHandle RootPanel rootPanel = RootPanel.get(); final FormPanel form = new FormPanel(); rootPanel.add(form); form.setAction(GWT.getModuleBaseURL()+"MyF

Re: GWT FileUpload

2009-02-11 Thread ken.d...@googlemail.com
On 11 Feb., 21:30, shgwh wrote: > >                 form.setAction("GameService"); > > Here i think you should change it to:form.setAction > (GWT.getModuleBaseURL()+"GameService"); > And then it can find the right servlet. Hi thanks for the answer. I catched the error! I had to use: form.setAc

Re: GWT FileUpload

2009-02-11 Thread shgwh
>                 form.setAction("GameService"); Here i think you should change it to:form.setAction (GWT.getModuleBaseURL()+"GameService"); And then it can find the right servlet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: GWT FileUpload

2009-02-11 Thread ken.d...@googlemail.com
There is no more error during start, but I can't send anything to my server. I do: GameService /GameService And in my client code (package org.itech.client.content.games;): @Override public void buildContent() { // Create a FormPanel and point it at

Re: GWT FileUpload

2009-02-11 Thread Ben Tilford
It should be GameService /GameService On Wed, Feb 11, 2009 at 12:45 PM, ken.d...@googlemail.com < ken.d...@googlemail.com> wrote: > > Thanks I found somthing useful, but one thing doesn't work for me: > > My Servlet: org.itech.server.games.GameService > I wrote the following to the we

Re: GWT FileUpload

2009-02-11 Thread ken.d...@googlemail.com
Thanks I found somthing useful, but one thing doesn't work for me: My Servlet: org.itech.server.games.GameService I wrote the following to the web.xml of my apache tomcat (like in the example): GameService org.itech.server.games.GameService GameService

Re: GWT FileUpload

2009-02-11 Thread El Mentecato Mayor
Yes, and your question kdahm has been answered in this same forum. Just search and you'll find even sample code to do both client and server sides. On Feb 10, 4:29 pm, Ben Tilford wrote: > I think the apache commons file upload project is usually > used.http://commons.apache.org/fileupload/usin

Re: GWT FileUpload

2009-02-10 Thread Ben Tilford
I think the apache commons file upload project is usually used. http://commons.apache.org/fileupload/using.html On Tue, Feb 10, 2009 at 4:08 PM, ken.d...@googlemail.com < ken.d...@googlemail.com> wrote: > > Hi guys, > > i've got some trouble with FormPanel and FileUpload. On the client > side I w

GWT FileUpload

2009-02-10 Thread ken.d...@googlemail.com
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 ar