try doing it without a struts tag first...
do request.setAttribute("header","global.commandinformation.title") in the
calling jsp
and String somestring = request.getAttribute("header"); in the
CommandSaveIncludeHeader.jsp
 
although if global.commandinformation.title is already defined in your
ApplicationResources.properties, why don't you directly use <bean:message
key="global.commandinformation.title"> in your CommandSaveIncludeHeader.jsp

-----Original Message-----
From: Naresh Sharma [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 8:26 AM
To: Struts Users Mailing List
Subject: JSP:include page + Resource bundle



 

HI,

 

Please suggest, I wish to pass 'header' parameter to
CommandSaveIncludeHeader.jsp, the value inside 'header' parameter is
actually a key in Resource bundle.

See ex.

<jsp:include page="CommandSaveIncludeHeader.jsp"> 
        <jsp:param name="header" value="global.commandinformation.title" /> 
</jsp:include> 

I am not sure if any Struts tag is there for above statement. But this
scheme is also not working, on CommandSaveIncludeHeader.jsp page I am
getting header as

global.commandinformation.title1, not from the resource bundle.

 

Please suggest.

 

Regards

Naresh

 

Reply via email to