Have you already tried something like #request?

On 20 June 2011 11:23, k3v1n <mitn...@email.it> wrote:
> Hi all,
>
> I need use struts 2 tag with static method.
>
> Example:
>
> My method...
>
> class org.mydomain.MyClass
> method myMethod(HttpServletRequest)
>
> in jsp
>
> <s:if test="%{@org.mydomain.MyClass@myMethod(request) != null}">
> aaa
> <s:if />
>
> but in myMethod, request param is always null! Why?
>
> I think my OGNL expression is wrong.
>
> I set in my struts.xml this constant:
> <constant name="struts.ognl.allowStaticMethodAccess" value="true" />
>
> Help me please.
>
> --
> View this message in context: 
> http://struts.1045723.n5.nabble.com/access-static-method-with-request-parameter-tp4505653p4505653.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Maurizio Cucchiara

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to