You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by stanlick <st...@gmail.com> on 2008/10/09 16:32:12 UTC

S2 2.1 OGNL Diffs?

Does anyone know why this does not work in 2.1?  It used to return the action
name.

name: <s:property
value="@com.opensymphony.xwork2.ActionContext@getContext().actionInvocation.proxy.actionName"/>
-- 
View this message in context: http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19900205.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: S2 2.1 OGNL Diffs?

Posted by Musachy Barroso <mu...@gmail.com>.
The default was set to true because of the security holes it creates. I am
not sure if the property was always there and set to false, or if it was
created recently (in 2.0 anyway).

On Thu, Oct 9, 2008 at 12:17 PM, stanlick <st...@gmail.com> wrote:

>
> Well no I don't sir!  Was this property changed/added in 2.1?  Is there a
> reason the default is false?
>
> Peace,
> Scott
>
>
>
> Musachy Barroso wrote:
> >
> > Do you have static method invocation enabled?
> >
> > On Thu, Oct 9, 2008 at 10:32 AM, stanlick <st...@gmail.com> wrote:
> >
> >>
> >> Does anyone know why this does not work in 2.1?  It used to return the
> >> action
> >> name.
> >>
> >> name: <s:property
> >> value="@com.opensymphony.xwork2.ActionContext@getContext
> >> ().actionInvocation.proxy.actionName"/>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19900205.html
> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >>
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19902292.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Re: S2 2.1 OGNL Diffs?

Posted by stanlick <st...@gmail.com>.
Well no I don't sir!  Was this property changed/added in 2.1?  Is there a
reason the default is false?

Peace,
Scott



Musachy Barroso wrote:
> 
> Do you have static method invocation enabled?
> 
> On Thu, Oct 9, 2008 at 10:32 AM, stanlick <st...@gmail.com> wrote:
> 
>>
>> Does anyone know why this does not work in 2.1?  It used to return the
>> action
>> name.
>>
>> name: <s:property
>> value="@com.opensymphony.xwork2.ActionContext@getContext
>> ().actionInvocation.proxy.actionName"/>
>> --
>> View this message in context:
>> http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19900205.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> 

-- 
View this message in context: http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19902292.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: S2 2.1 OGNL Diffs?

Posted by Musachy Barroso <mu...@gmail.com>.
Do you have static method invocation enabled?

On Thu, Oct 9, 2008 at 10:32 AM, stanlick <st...@gmail.com> wrote:

>
> Does anyone know why this does not work in 2.1?  It used to return the
> action
> name.
>
> name: <s:property
> value="@com.opensymphony.xwork2.ActionContext@getContext
> ().actionInvocation.proxy.actionName"/>
> --
> View this message in context:
> http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19900205.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd