struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "semaj.najraham" <semaj.najra...@hotmail.com>
Subject Re: How to display message from resource bundle using Struts EL tags
Date Fri, 13 Jul 2007 05:49:35 GMT

Any idea, guys!!

semaj.najraham wrote:
> 
> I have the following jsp:
> 
> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
> <%@ page import="com.messages.Constants" %>
> 
> <bean:message key="<%=Constants.SECTION_TITLE %>" />
> 
> where Constants.java contains the following containts
> 
> public static final String SECTION_TITLE = "section.title";
> 
> and key/value is defined in MessageResources.properties file as
> section.title=Add User
> 
> How can I get the same functionality using Struts EL tag?
> 
> Thank you,
> semaj
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-display-message-from-resource-bundle-using-Struts-EL-tags-tf4069659.html#a11573783
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message