You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ricardo Andres Quintero <rq...@ubiquando.com.co> on 2004/08/31 21:51:43 UTC

After sesion invalidate cannot find bean

Hello Guys
i notice this error that when the session expirates, if an action that uses a
beanform is requested, and validate is true, the framework normally tries to
execute the validate method of the bean, but you know the beanform just doesnt
exist anymore, but the request can not be treated for the action, so a 

   cannot find bean quincenaForm in scope session 

message is presented instead of showing a customized message like
your session has expired or whatever similar.

How can i solve this problem?
--
Ricardo Andrés Quintero R.
Ubiquando Ltda.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: After sesion invalidate cannot find bean

Posted by James Mitchell <jm...@apache.org>.
> How can i solve this problem?

You can have some way of catching this so the user won't see this error.  I
use a meta tag that makes the page redirect to /logon.do after the
(configurable) timeout has expired (this happens client side and no
javascript required).


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message -----
From: "Ricardo Andres Quintero" <rq...@ubiquando.com.co>
To: <us...@struts.apache.org>
Sent: Tuesday, August 31, 2004 3:51 PM
Subject: After sesion invalidate cannot find bean


> Hello Guys
> i notice this error that when the session expirates, if an action that
uses a
> beanform is requested, and validate is true, the framework normally tries
to
> execute the validate method of the bean, but you know the beanform just
doesnt
> exist anymore, but the request can not be treated for the action, so a
>
>    cannot find bean quincenaForm in scope session
>
> message is presented instead of showing a customized message like
> your session has expired or whatever similar.
>
> How can i solve this problem?
> --
> Ricardo Andrés Quintero R.
> Ubiquando Ltda.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org