This content has been marked as final.
Show 1 reply
-
1. Re: Where is the portal properties file for PortalContext, o
peterj Feb 27, 2008 11:37 AM (in response to jjandrorr)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));