Intermittent Session Problems in Strut2.

2009-08-22 Thread pankaj semwal
Hi List, I am facing a problem of session intermittent in Strut2.In Distributed environment when user A login and at the same time when user B login .The information are sharing .I tried but did not find the solution. Even the session Id are creating different for e

Re: How to register an ActionEventListener

2009-08-22 Thread musomesa
Yes, the interceptors can tinker with the action before the action method executes . Chris -Original Message- From: Karan Malhi To: Struts Users Mailing List Sent: Sat, Aug 22, 2009 10:35 pm Subject: Re: How to register an ActionEventListener Struts 2. If inter

Re: How to register an ActionEventListener

2009-08-22 Thread Karan Malhi
Want to inject EJB's, however I do not want to add a dependency on spring. On Sat, Aug 22, 2009 at 12:15 PM, Dave Newton wrote: > Karan Malhi wrote: > >> I want to post process an action instance after it is created. I could >> create an ActionEventListener implementation. How would I register t

Re: How to register an ActionEventListener

2009-08-22 Thread Karan Malhi
Struts 2. If interceptors kick in immediately after creation, then that would solve my purpose. Ignore my reply to your previous message. On Sat, Aug 22, 2009 at 11:56 AM, wrote: > > Sorry -- I should have asked if you were using Struts 1 or 2! > Struts 2 interceptors kick in after action creat

Re: How to register an ActionEventListener

2009-08-22 Thread Karan Malhi
Chris, I did consider that option too. I think the interceptor would be invoked *after* the action has executed. I wanted to do processing after the Action instance is created. On Sat, Aug 22, 2009 at 11:54 AM, wrote: > > The action is instantiated before the interceptors fire so all your > int

Re: How to register an ActionEventListener

2009-08-22 Thread Dave Newton
Karan Malhi wrote: I want to post process an action instance after it is created. I could create an ActionEventListener implementation. How would I register this class with struts so that it notifies the listener? You could also do this via Spring (although I never have--I'm just guessing). Wh

Re: How to register an ActionEventListener

2009-08-22 Thread musomesa
Sorry -- I should have asked if you were using Struts 1 or 2! Struts 2 interceptors kick in after action creation. Chris -Original Message- From: Karan Malhi To: user@struts.apache.org Sent: Fri, Aug 21, 2009 11:28 pm Subject: How to register an ActionEventListener

Re: How to register an ActionEventListener

2009-08-22 Thread musomesa
The action is instantiated before the interceptors fire so all your interceptors are processing the request after the action is created. after it is created Chris -Original Message- From: Karan Malhi To: user@struts.apache.org Sent: Fri, Aug 21, 2009 11:28 pm Subjec

controlling error message placement for client side validation

2009-08-22 Thread Mitch Claborn
css_xhtml theme. Using server-side validation, the error message for field validation is placed above the input field. Using client side, the error message is shown below. I prefer the messages above. Is there a way to force the client-side validation to put the messages above the input field?