File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using fmt:message in place of bean:message with modules