Re: OGNL in JSP

2007-09-29 Thread Zarar Siddiqi
If the variable you're looking for is stored in the context you will be able to retrieve it like this in a JSP: ${stack.context['com.opensymphony.xwork2.ActionContext.name']} If you're using Freemarker then you can simply go: stack.findString("com.opensymphony.xwork2.ActionContext.name") But yo

Re: OGNL in JSP

2007-09-28 Thread stanlick
Yes, but how does solve this problem? On 9/28/07, Zarar Siddiqi <[EMAIL PROTECTED]> wrote: > > Did you know you have all the variables declared in this class as > public static final at your disposal: > > > http://svn.apache.org/viewvc/struts/struts2/tags/STRUTS_2_0_9/core/src/main/java/org/apache

Re: OGNL in JSP

2007-09-28 Thread Zarar Siddiqi
Did you know you have all the variables declared in this class as public static final at your disposal: http://svn.apache.org/viewvc/struts/struts2/tags/STRUTS_2_0_9/core/src/main/java/org/apache/struts2/views/util/ContextUtil.java?revision=558805&view=markup They include "stack"and "ognl". Zara