jsf - loading resource bundle from another java project -


I want to load I18 resource bundles from any other project, I have 189 messages from the resource directory in my webApp project I've been able to load the properties, but what do I need to do to keep all of my configuration files in another project?

Here are my face-config:

  & lt; Faces-config xmlns = "http: //java.sun.com/xml/ns/javaee" xmlns: xsi = "http://www.w3.org/2001/XMLSchema -instance" xsi: schema location = "http : //java.sun.com / Xml / ns / javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd "version =" 2.1 "& gt; & Lt; Application & gt; & Lt; Resource Bundle & gt; & Lt; Base Name & gt; Messages & lt; / Base name & gt; & Lt; On & gt; Msgs & lt; / Var & gt; & Lt; / Resource bundle & gt; & Lt; Location-config & gt; & Lt; Default-Location & gt; Fr & lt; / Default-location & gt; & Lt; / Location-config & gt; & Lt; / Application & gt; & Lt; / Face-config & gt;  

Message files are locations in my webpage resource directory.

Just add jar of other project in the square path of project you. That jar should have the property file.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -