How to detect that session has expired ?

2003-12-07 Thread Baljinder Singh
Hi All, How can I detect that session has expired and so throw the user out of system after showing him a message that Your session has expired. Please login again. Thanks, BS - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: How to detect that session has expired ?

2003-12-07 Thread Baljinder Singh
Thomas, You mean to say that I should put this logic in ActionClass. But then I would need to put it in all my Action Classes. Can't I do something similar in JSP because then I would do it in a common JSP which is included in all other JSPs of mine. Or is there a common solution which can take

RE: How to detect that session has expired ?

2003-12-07 Thread Baljinder Singh
your Action classes, extend the Struts Action class. Ed - Original Message - From: Baljinder Singh [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, December 07, 2003 5:41 AM Subject: RE: How to detect that session has expired ? Thomas, You

Links/Articles/Tutorials on DynaValidatorForm ?

2003-12-01 Thread Baljinder Singh
Hi All, Can anybody provide me with links/tutorials/articles related to DynaValidatorForm ?? Thanks Regards, BS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Struts Exception Handling

2003-12-01 Thread Baljinder Singh
Is anybody having any comments on exception handling strategies ?? I am looking for solutions reagarding handling exceptions related to database. Thanks, BS -Original Message- From: Baljinder Singh [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 11:44 AM To: Struts Users

Struts Exception Handling

2003-11-25 Thread Baljinder Singh
Hi All, I am looking for a robust exception handling approach in struts. Can somebody help me in that. My framework consists of struts interacting with session beans which then interact with DB through DAO. Now if during a CRUD operation, for example there is a duplicate key exception thrown, how

RE: Struts Exception Handling

2003-11-25 Thread Baljinder Singh
is, and, if it is a genuine problem, throw a new FrameWorkException with the proper error message (or message key) contained in it. I would also be curious on how other folks do such things however... worse is better -Original Message- From: Baljinder Singh [mailto:[EMAIL PROTECTED