SmartGWT Server File Browser

Posted by jluzwick on Stack Overflow See other posts from Stack Overflow or by jluzwick
Published on 2011-01-31T23:21:36Z Indexed on 2011/01/31 23:26 UTC
Read the original article Hit count: 265

Filed under:
|
|
|

Hi All:

I have been looking for a SmartGWT example that would show me how to build a File Browser widget that takes the files from the local server's root directory. The user would be shown the files through the browser which they could then select to perform some processing operations.

So far I have thought of using SmartGWT's Tree->Data Binding->Load from Local Data Widget and then grabbing a list of the directories using:

new File("\").listFiles();

My Question is: Is there a better way to do this? Has someone already thought of this and has an example of their code that I can see?

PS: I'm fairly new to GWT and Web Services but fairly competent with Java. If you believe there is a better way to do this (while still doing this through the web and not using Applets, please tell me).

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about web-applications