Re: interceptor init twice

2013-05-08 Thread Lukasz Lenart
It's on my ToDo list ;-) 2013/5/9 Steven Yang : > Hi just wondering is anyone as any insight on this? Or do I need to provide > more information? > > thanks > > > On Fri, Apr 26, 2013 at 3:37 PM, Steven Yang wrote: > >> same behavior for devMode=true and false >> >> i am not sure what you mean, s

Re: interceptor init twice

2013-05-08 Thread Steven Yang
Hi just wondering is anyone as any insight on this? Or do I need to provide more information? thanks On Fri, Apr 26, 2013 at 3:37 PM, Steven Yang wrote: > same behavior for devMode=true and false > > i am not sure what you mean, shouldnt init only be called during > initialization? > or do you

RE: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-08 Thread CRANFORD, CHRIS
After some final digging, this appears to only surface in devMode=true on builds 2.3.12 and 2.3.14 regarding ParametersInterceptor.java:329. If this was related to the security fix for parameter names, wouldn't the exception/problem occur in both devMode and non-devMode? I'm confused as to wha

RE: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-08 Thread CRANFORD, CHRIS
I should note that the setItems() method and List variable are on the model object exposed by the ModelDriven<> interface. -Original Message- From: CRANFORD, CHRIS [mailto:chris.cranf...@setech.com] Sent: Wednesday, May 08, 2013 9:25 AM To: Struts Users Mailing List Subject: OGNL Excepti

Re: struts 2 session question

2013-05-08 Thread Dave Newton
Personally, I'd use SessionAware and reduce coupling even further. The docs for both methods should answer this question fairly completely. The session is exposed as a map in S2, and as a servlet spec artifact in S1. Dave On Wed, May 8, 2013 at 12:15 PM, john lee wrote: > > for stuts 1, to

struts 2 session question

2013-05-08 Thread john lee
  for stuts 1, to get session, via the following     session=request.getSession();   session.setAttribute("PERSON", person);    /* person is object name */   for struts 2, to get session, via the following     Map session=ActionContext.getContext().getSession();   session.put("PERSO

Re: Localised text tag

2013-05-08 Thread Lukasz Lenart
Rather no or I cannot recall any and it isn't related to OGNL but how S2 is using it. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/5/8 Zoran Avtarovski : > I'm using struts v2.3.8 and OGNL v3.0.6. > > Is there a property or setting for OGNL to prevent double evaluations? Or

Re: Localised text tag

2013-05-08 Thread Zoran Avtarovski
I'm using struts v2.3.8 and OGNL v3.0.6. Is there a property or setting for OGNL to prevent double evaluations? Or is there a fix in GitHub? Z. On 8/05/13 3:51 PM, "Lukasz Lenart" wrote: >Hi, > >Yeah, it looks like a double evaluation which is a bug probably > > >Regards >-- >Łukasz >+ 48 60

Re: Redirecting to another action which is in another web context

2013-05-08 Thread srikanth
Found the way, In ServletActionRedirectResult we have to set "prependServletContext" to "false" On 08/05/2013 11:04, 陈岗 wrote: > Hi > > try them > > > > or > > > > or > > > > > > 2013/5/8 Sreekanth S. Nair > >> Hi, >> Does Struts2 have any way to redirect from one action to another action