> Only thing, working is <%= request.getParameter(\"configKey\")%>

you can tru OGNL
#parameters[\'configKey\']


On 1/27/08, Ashish Jain <[EMAIL PROTECTED]> wrote:
I am new to struts2
> I am struggling to include jsp in a jsp.
> I am passing an param to included jsp and I want to access that param
> in included jsp.
>
> I tried different combinations.. none is seem to be working.
>
> Only thing, working is <%= request.getParameter(\"configKey\")%>
> But how to use this param in struts tags?
>
>
> here is my code
> in main jsp
> ========
> <s:include value=\"inc/settingsRow.jsp\">
>   <s:param name=\"configKey\" value=\"%{\'domainName\'}\"/>
> </s:include>
>
>
> included jsp
> =========
> <%@ include file=\"/tagDefinitions.jsp\" %>
> <s:set name=\"configKey1\" value=\"#request.configKey\"></s:set>
>  <tr>
>  <td><s:text name=\"label.%{configKey1}\"/></td>
> </tr>
>
>
> --
> Thanks
> Ashish
>
> ---------------------------------------------------------------------
> 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