Quite right. And do that check in a servlet filter, so that you don't have to put the code for the attribute check into every single page in your system.
Do we need to hardcode anything specific taht should be set inside JSPs
and checked in Filters for this ??
Save India From Corruption - Anna Hazare.
Joined: Jun 15, 2010
Hi Smitesh and Paul
can you please provide some sample code to show how to do it in filters..
How to store a value in session when user goes to login.jsp
and check for the value when user goes to success.jsp
So that user cant go directly to success.jsp
How to do it all in a Filter