• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to send a message to login page ?

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 4
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic