Concerning a
.properties file, do I need to define the .properties file in my
faces-config.xml:
<application>
<locale-config>
<default-locale>en_US</default-locale>
</locale-config>
<message-bundle>com.dtn.petro2.petro_admin.tbrowser</message-bundle>
</application>
<locale-config>
<default-locale>en_US</default-locale>
</locale-config>
<message-bundle>com.dtn.petro2.petro_admin.tbrowser</message-bundle>
</application>
*AND* in the
.jsp page:
<f:loadBundle
basename="com.dtn.petro2.petro_admin.tbrowser" var="tb"/>
I return the
following error if I don't have the .properties file defined in my
faces-config.xml and only have it defined in my jsp file:
[#|2006-05-10T10:50:12.168-0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=12;|ApplicationDispatcher[/transactionbrowser]
Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException: null MessageFactory
Thanks,
--Todd

