jboss-as-7.1.1/modules/Myproperties/main/Myjar.jar/TRHBundle.properties
我的应用程序服务器位置有一个属性文件。现在我如何从.xhtml
页面访问它?当我在我的项目源文件夹中使用了 proerties 文件时,然后在faces-config.xml
<resource-bundle>
<base-name>com.edfx.trh.common.i18n.TRHBundle</base-name>
<var>trhBundle</var>
</resource-bundle>
并从.xhtml
页面中使用它
`<h:outputText value="#{trhBundle['home']}" />`
任何帮助将不胜感激。提前感谢您的回复。