struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <erikwe...@mindspring.com>
Subject Re: After sesion invalidate cannot find bean
Date Tue, 31 Aug 2004 21:30:44 GMT
Perhaps you could override one of the RequestProcessor methods, and 
check for the existence of a known Session attribute, before Struts 
tries to work with the nonexistent form?

Erik


Ricardo Andres Quintero wrote:

>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


Mime
View raw message