I would like to keep my .html files in a seperate folder from the language
files and I was wondering how to do this? I keep my html files in
html/main/*.html and my language .properties files in
language/(languageName)/*.properties. I tried adding the following to my
MyWebApp. When I try and run my app there is a location error about not
being able to find my .properties file. I was wondering if anyone knew how
to fix/resolve this or if it would be better just to keep the .properites
file in the same directory as the html file.

    @Override
    protected void init()
    {
        super.init();
        IResourceSettings resourceSettings = getResourceSettings();
        resourceSettings.addResourceFolder("html/main");
        resourceSettings.addResourceFolder("language/en-us");
        resourceSettings.addResourceFolder("language/esp");
          .............
        resourceSettings.setResourceStreamLocator(new
PathStripperLocator());

    }

-- 
Eric Reagan

Reply via email to