Agreed. I am well-known for answering questions that were not asked. :)
On Apr 8, 2009, at 7:25 AM, Muthu Velappan wrote:
I believe the question is more about whether any tool available to
split his
current bulk properties into a small package/action specific
properties. I
think there is no tool to do that, It has to be manually split into
different properties file based on either package or action class as
specified by Terry..
~Muthu
Terry Gardner-2 wrote:
.properties file can be looked up based on the current Action, or a
hierarchy is used to search for a key. If the Action is named
EnterEmployeeAction, then the .properties files are all preceded by
EnterEmployeeAction, viz, EnterEmployeeAction_en.properties, and so
forth. There is also a package.properties file for an entire package,
and global properties that can be configured in struts.xml:
<constant name="struts.custom.i18n.resources"
value="globalMessages" />
The above can also be a list:
<constant name="struts.custom.i18n.resources"
value="globalMessages,moreGlobalMessages" />
On Apr 8, 2009, at 6:54 AM, walki2 wrote:
Hi,
I am new to Struts. I have a website that uses Struts (.properties
files) to
show the website's content in either english, french or german.
SomeFileName.properties
SomeFileName_en.properties
SomeFileName_fr.properties
SomeFileName_de.properties
Unfortunately all the text is stored in one big properties file!! Is
there
an easy way to make a .properties file for every jsp? Or do I have
to make
it manually using copy and paste for about 80 JSP's?
Greetings,
walki2
--
View this message in context:
http://www.nabble.com/Change-single-.properties-file-to-one-.properties-file-for-every-JSP-tp22947889p22947889.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
======
terry.gard...@sun.com
Blog: http://blogs.sun.com/terrygardner
Blog: http://dtfar.blogspot.com
Twitter: http://twitter.com/tgardner
SLAMD: http://slamd2.dev.java.net
”The knights are dust, and their good swords rust”
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
View this message in context:
http://www.nabble.com/Change-single-.properties-file-to-one-.properties-file-for-every-JSP-tp22947889p22948309.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
==
terry.gard...@sun.com
Blog: http://blogs.sun.com/terrygardner
Blog: http://dtfar.blogspot.com
Twitter: http://twitter.com/tgardner
SLAMD: http://slamd2.dev.java.net
"It is not every question that deserves an answer."
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org