zujee schrieb:

> How to read a file from client side. I need to pass the file name as
> parameter. So otherthan annotation is there any other way?

You have to use the file-upload-widget and a FormPanel. This
procedure has been discussed a couple of times, so e.g.
http://www.google.de/search?q=gwt+upload+file
should lead you to a couple of examples.

The filename is sent to the server together with the data,
but it's the including the absolute path, so on the server-
side you should do a new File(filename).getName() if you
just want to use the name.


Regards, Lothar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to