My problem is that getServletContext always returns null.
I've also tried to put in a overridden init() but didn't help.
ciosbel.
On May 19, 9:23 am, Lorris lorris.cou...@gmail.com wrote:
Thank you for your answer,
This is my solution if another people need it :
This is the content of my
Nevermind. I called the getServletContext() inside the constructor
rather that inside an rpc method.
ciosbel.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To
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
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,