| Author |
Better way to check user session
|
Erap Estrada
Ranch Hand
Joined: Nov 08, 2006
Posts: 92
|
|
Hello guys, I just wonder if there's a better way to check if the user is logged in and has a valid session. Normally, I do this on my Action class: Now, I wonder if there's a way to do it dynamically like how Struts do it in form validation. Just set it on xml file and good to go. Thank you in advance.
|
SCJP with 98% by...
|
 |
Craig Bayley
Ranch Hand
Joined: Sep 27, 2007
Posts: 46
|
|
|
Implement a Filter.
|
 |
Navi Lock
Ranch Hand
Joined: Jul 29, 2003
Posts: 39
|
|
Hi Craig, Could you elaborate please .. A code snippet would be great. Thanks, -Navi
|
 |
Erap Estrada
Ranch Hand
Joined: Nov 08, 2006
Posts: 92
|
|
|
what kind of filter? Thank you!
|
 |
 |
|
|
subject: Better way to check user session
|
|
|