You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Arne Brutschy <ma...@studserv.uni-leipzig.de> on 2003/11/20 10:10:55 UTC
how to create an error message with a filter
Hello,
I want to create a error message with my authentication filter. The
filter checks for an idle timeout. If this occours, it invalidates the
session. At this point, the filter should create a error message, i.e.
"you have been idle for too long!". After that the filter redirects to
the login jsp (as always if the session is not valid). The jsp page
should use the common struts tags, to display this error message.
How can I do this? how can I store such a message in my request? How
can I forward that to my redirect?
Regards,
Arne
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org