Hello,

My customer would like to be able to change i18n messages easily (without 
requirement to redeploy webapp or edit files
in context/WEB-INF/classes/...)

We suggested to put messages in database, and use a custom Struts 
messageResource impl to retrieve them, according to
http://wiki.apache.org/struts/StrutsMessageResourcesFromDatabase

We want to use EL in our JSP, and AFAIK it requires the 
"javax.servlet.jsp.jstl.fmt.localizationContext" servlet-context
init param to be set to a LocalizationContext implementation or to a 
ResourceBundle path.
How can I configure JSTL to use a custom Message source ? I don't know how to 
build a ResourceBundle (as required by
LocalizationContext) from database messages (ResourceBundle is full of private 
static method I cannot override)



Thanks for any suggestion



Nico.






This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to