[jboss-user] [JBoss Seam] - Re: reading properties from seam.properties file??

asookazian do-not-reply at jboss.com
Wed Aug 22 19:39:35 EDT 2007


This worked!

in Java class/method:

String myAppName = FacesContext.getCurrentInstance().getExternalContext().getInitParameter("ApplicationName");

in web.xml:

<context-param>
        <param-name>ApplicationName</param-name>
        <param-value>CoxTemplate</param-value>
</context-param>

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

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



More information about the jboss-user mailing list