| Author |
how to send a message to login page ?
|
harish pathak
Ranch Hand
Joined: Dec 17, 2005
Posts: 51
|
|
Hi all, Anybody please tell me how to send a message to login page that "Your Session is invalide". I have defined the following parameter in struts-config.xml file. <global-forwards> <forward name="invalidsession" path="/intro.jsp" redirect="true" /> </global-forwards> And I want to give message to my intro.jsp page Thanking you. Please reply soon.
|
 |
Stefaan Huysentruyt
Greenhorn
Joined: Dec 16, 2005
Posts: 3
|
|
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
-- http://www.postel.org/postel.html
|
 |
 |
|
|
subject: how to send a message to login page ?
|
|
|