* @param config, the servlet config that contains init params such as the path location of the XML configuration file for
* the WebUI framework
*/
public PortalApplication(ServletConfig config) {
sconfig_ = config;
ApplicationResourceResolver resolver = new ApplicationResourceResolver();
resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext(), "war:"));
resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext(), "app:"));
resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext(), "system:"));
resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext().getContext("/eXoResources"),
"resources:"));
setResourceResolver(resolver);
}