I need to read a properties file in the server-side of a GWT application.
I’ve tried to put the file in the root of the application and into the src folder. However, in both tries, A FileNotFound exception is thrown.
I create the file using the following code:
File file = new File("errors.properties");
Is it wrong? Where should I put the file?
into your
warfolder. I suppose you use Eclipse and integrated Google plugin to generate the app and also to run it.