<bean-el:message key="${stringvar}"/>http://struts.apache.org/1.3.8/struts-el/index.html----- Original Message ----- From: "semaj.najraham" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Friday, July 13, 2007 5:49 AM
Subject: Re: How to display message from resource bundle using Struts EL tags



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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to