Hello,

I'd like to know if it's possible with GWT to get files on server but
without known their names but with a pattern (like "menus*.xml" for
example).

I did this with success but that need to know the file name to get

RequestBuilder requestBuilder = new RequestBuilder(RequestBuilder.GET,
                "fileName.xml");
        try {
            requestBuilder.sendRequest(null, new RequestCallback() {
                public void onError(final Request request, final
Throwable exception) {
                }

                public void onResponseReceived(final Request request,
final Response response) {
                    String text = response.getText();
//Do anything
                }
            });
        } catch (RequestException ex) {
        }


But i don't know if I can get all the files matching to my pattern or
maybe get the list of file name and test my pattern for each of them.

Thank you for your time. (and sorry for my english)

-- 
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