Exposing the values you want as action properties is probably the easiest
way, but you should be able to use OGNL as values, so I would have thought
that "%{#parameters.lang}" (or whatever it is) would have worked.
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I need to pass a request parameter value to a form action. If using a
> hidden
> fild, I can do it like <s:hidden name="lang" value="${lang}"/> as the tag
> doesn't allow an experssion as its value. How can I get around it?
>
> Another question is how to use <s:if ...> or other struts tag to do this
> logic:
>
> <%
>
> if ("en".equals(request.getParameter("lang")) {
>
> ...
>
> } else {
>
> ...
>
> }
>
> %>
>
> Thanks a lot.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]