This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes Display ActionMessage in JSP using fmt:message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Display ActionMessage in JSP using fmt:message" Watch "Display ActionMessage in JSP using fmt:message" New topic
Author

Display ActionMessage in JSP using fmt:message

Songezo Nkukwana
Ranch Hand

Joined: Nov 27, 2008
Posts: 51
How do i display a message from resource bundle using ActionMessages?


action class


the output displays "${0}" , not the value ... ApplicationResources.properties has delta.page={0}
Songezo Nkukwana
Ranch Hand

Joined: Nov 27, 2008
Posts: 51
Ok figure out something



header_msg was saved in the following action




But now i would like to use JSTL instead of html:messages .... How do i retrieve the property header_msg using fmt:messages?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Display ActionMessage in JSP using fmt:message
 
It's not a secret anymore!