You put an actionmessage on the request scope and forward it to your login page using a specific key, and without a redirect. Then if your page sees there exists a message with that specific key, you show it. [ December 17, 2005: Message edited by: Stefaan Huysentruyt ]
-- "Be liberal in what you accept, and conservative in what you send."
-- Jon Postel (August 6, 1943 - October 16, 1998) Internet Pioneer