this is what i have done but using ActionServlet class. But how to avoid for the first
time.
Geeta Ramani <[EMAIL PROTECTED]> wrote:
Or you could write a RequestProcessor and override the processPreprocess method with
something like this:
HttpSession session = request.getSession();
if ( (session == null) || (session.getFavouriteObjectInSession == null) ) {
//use Response object to redirect to login page with error set;
}
Geeta
> -----Original Message-----
> From: Asim Ghosh [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 30, 2004 11:19 AM
> To: [EMAIL PROTECTED]
> Subject: redirect to login page with error message on the jsp page
>
>
> hello,
>
> can anybody tell me how to redirect to login page with
> error message on the jsp page. It should display error
> message "You session has timed out" on the login page.
>
> in web.xml
>
>
> 30
>
>
>
>
>
> ---------------------------------
> ALL-NEW Yahoo! Messenger - all new features - even more fun!
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
ALL-NEW Yahoo! Messenger - all new features - even more fun!