--- "Asleson, Ryan" <[EMAIL PROTECTED]> wrote:
> Assume that I'm on a JSP that has been rendered with a Struts2 Action.
> Somehow I want to access the Action and its properties via a JSP tag,
> something like this:
>  
> <c:out value="${action.myValue}" />
>  
> What is the correct way to do this?  Is the Struts 2 Action placed on
> the request using a specific name, or is it available via OGNL?  If so,
> how do I access it?

Short answer: 

${myValue}

Long answer:

The S2 request wrapper provides a way for JSP EL to access stack context
objects. You can also use the S2 property tag.

<s:property value="myValue"/>

Dave


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

Reply via email to