Re: Get file on server with a pattern

2010-05-19 Thread Lorris
Thank you for your answer, This is my solution if another people need it : This is the content of my RPC method in server side. String realPath = getServletContext().getRealPath(/).concat(gwtModuleName); // Or other folder you want to access File f = new File(realPath); for

Get file on server with a pattern

2010-05-18 Thread Lorris
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,

Get file on server with name template.

2010-05-18 Thread Lorris
Hi, I'm trying to get many files from the server but the problem is I don't know their name, the only thing I know is the template of their name (menus.*.xml). I build a requestbuilder to get a file but this method needs the really name of the file. So i am searching a way to get file matching