Wes Wannemacher wrote:
On Tue, 2008-01-08 at 01:21 -0500, Dale Newfield wrote:
Jeromy Evans wrote:
Wes Wannemacher wrote:
But, if I use the following OGNL -
<s:property
value="@[EMAIL PROTECTED]().actionInvocation.proxy.namespace"/>

I just get a big fat nothing :(
Works for me!
Maybe it's working for both of you--Wes, are you certain that the appropriate answer for the page you're viewing isn't ""? Jeromy gets "/secure" for the page he tested, but had he tested a different page...
There have been some recent updates in SVN, so I am going to rebuild and
redeploy. If it works as advertised in 2.0.x but not in 2.1.x I may file
a JIRA.

Hi Wes, as you suspected:

struts 2.0.11: works
struts 2.1.0 (default settings): big fat nothing

But I just remembered, struts 2.1 has a new constant:

struts.ognl.allowStaticMethodAccess that's false by default.

Setting the constant to true made it work in 2.1 as well.

cheers,
Jeromy Evans


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

Reply via email to