[jboss-user] [JBoss Portal] - Re: Where is the portal properties file for PortalContext, o

PeterJ do-not-reply at jboss.com
Wed Feb 27 11:37:31 EST 2008


One possibility. Place your properties file in server/xxx/conf, and then access it in the portlets using the jboss.server.config.url system property. Something like this:

String propfFile = System.getProperties("jboss.server.config.url") + "myportlet.properties";
Properties prop = Properties.load(new FileInputStream(propFile));

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132571#4132571

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132571



More information about the jboss-user mailing list