struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <David.K...@wamu.net>
Subject RE: A <bean:define> question
Date Tue, 01 Apr 2003 16:14:59 GMT
This might work:

<bean:define id="varName">
	<bean:message key='<%= request.getParameter("httpParameter") +
                             ".name" %>'/>
</bean:define>

> -----Original Message-----
> From: Binaghi Mauro [mailto:mauro.binaghi@vtin.it]
> 
> Hi
> I have the "user.name" property in my "ApplicationResource.properties"
> file.
> Can I take its value with the following instrucition in my JSP page?
> 
> <bean:define id="varName">
> 	<bean:message key="<%= request.getParameter("httpParameter")
> %>.name"/>
> </bean:define>
> 
> Of course, I call my JSP with this URI
"/myPage.jsp?httpParameter=user"

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


Mime
View raw message