aspose file tools*
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
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