You can use the dynaValidatorForm and instead extend RequestProcessor to
create a custom processor and do you session handling stuff in the
preProcess method.

-----Original Message-----
From: Dean A. Hoover [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 15, 2004 1:55 PM
To: Struts Users Mailing List
Subject: Re: struts 1.1 and session handling


I like that idea. But how does it address the
validator problem? I'm thinking I'm going to
have to pitch the DynaValidatorForm usage
and do something else.

Dean Hoover

Franz-Josef Herpers wrote:

> Dean A. Hoover wrote:
>
>> I am using struts 1.1 and tomcat 5 for
>> an application. I am also using DynaValidatorForm
>> for validation of form data. Here is my problem:
>> I want to test for (tomcat) session timeout and
>> output a message on the users brower stating that
>> their session timed out. I want to catch and process
>> this situation wherever it may occur. 
>
>
> We use a BaseAction class for this purpose. The class extends Action 
> and checks in its execute method that the session is still valid.
> At the and it calls another method of this class (we called that 
> method executeAction()). Of course every action then has to extend 
> this BaseAction class and override the executeAction() method.
>
> Regards
> Franz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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


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

Reply via email to