Or do the lookup in CommandSaveIncludeHeader.jsp.

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

CommandSaveIncludeHeader.jsp:
-----------------------------
<bean:parameter id="headerKey" name="headerKey"/>
<bean:message name="headerKey"/>

Quoting Bill Siggelkow <[EMAIL PROTECTED]>:

> Perhaps this would work:
> 
> <bean:define id="title">
>    <bean:message key="global.commandinformation.title"/>
> </bean:define>
> 
> <jsp:include page="CommandSaveIncludeHeader.jsp">
>    <jsp:param name="header" value="<%= title %>" />
> </jsp:include>
> 
> Naresh Sharma wrote:
> 
> >  
> > 
> > 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

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to