Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Using fmt:message in place of bean:message with modules Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using fmt:message in place of bean:message with modules" Watch "Using fmt:message in place of bean:message with modules" New topic
Author

Using fmt:message in place of bean:message with modules

Ken Pelletier
Ranch Hand

Joined: Aug 01, 2002
Posts: 54
For a Struts webapp with modules, each module's struts-config file declares the messages-resource param to name the file to use for resolving messages in that module context.

I would like to use the JSTL <CODE><fmt:message.../></CODE> tag instead of <CODE><bean:message.../></CODE>

What is the proper way to configure the module-specific messages-resource files.

I would like to configure the bundle per module, and not use the "bundle" attribute of the <CODE><fmt:message.../></CODE> tag in my pages.
 
 
subject: Using fmt:message in place of bean:message with modules
 
Similar Threads
accessKey and optionsCollection
Struts Modules and message resources
Confirmation reg Properties file
How to do share message-resources?
serveral ApplicationResources .properties for one project?