You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/09/23 19:51:45 UTC
DO NOT REPLY [Bug 23359] New: -
MessageResources Caching
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23359>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23359
MessageResources Caching
Summary: MessageResources Caching
Product: Struts
Version: 1.1 Final
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Utilities
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: john.pitchko@shell.ca
Although it is possible to get Struts to read data from a source other than
a .property file for use in the MessageResources, it is impossible to change
this information once it has been read. That is, the data is not dynamic and
cannot be changed unless the application is recycled.
I am suggesting (and I think I might be able to help) that the getMessage
(Locale, String, Object []) method has an option to disable caching so that all
MessageResources messages are read as they are requested.
Example - we already have a web application in place with Struts. I am looking
into the possibility of building an extension to this application where users
can change the data in this application (e.g. the content which is rendered via
<bean:message> tags), but I cannot because once the data is read initially, it
cannot be altered.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org