Re: Handling invalid sessions

2005-10-17 Thread Jadeler
Thanks for the suggestions. I'll try them out. Cheers, Jadeler --- Aladin Alaily <[EMAIL PROTECTED]> wrote: > Hi Jadeler, > > In response to your question about managing session > objects, I would > propose two methods: > > 1) Write a CustomRequestProcessor (which extends the > struts > Re

Re: Handling invalid sessions

2005-10-17 Thread Aladin Alaily
Hi Jadeler, In response to your question about managing session objects, I would propose two methods: 1) Write a CustomRequestProcessor (which extends the struts RequestProcessor), and put your management code in there. As a struts programmer, you know that all requests *should* go through

Re: Handling invalid sessions

2005-10-16 Thread rajasekhar . cherukuri
, Rajasekhar Cherukuri peru cheppanu <[EMAIL PROTECTED]> 10/17/2005 10:26 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: Handling invalid sessions If we do that, then execute() method in child classes will override Base

Re: Handling invalid sessions

2005-10-16 Thread peru cheppanu
If we do that, then execute() method in child classes will override Base Action execute() method. Right? Then, as far as I know, that execute() in Base Action will not be executed.. Peru Cheppanu [EMAIL PROTECTED] wrote: Hi, The best way is to write a Base Action class and extend that clas

Re: Handling invalid sessions

2005-10-16 Thread rajasekhar . cherukuri
Hi, The best way is to write a Base Action class and extend that class for all your Action classes in your application. Place a check in the execute method of the Base Action class and if it is a "success" then call an abstract method in the Base Action class which will be implemented b