This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Welcome Message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Welcome Message" Watch "Welcome Message" New topic
Author

Welcome Message

vivek mahajan
Greenhorn

Joined: Jun 18, 2009
Posts: 22
In my application I m using msg proprty in all of my action form bean, for providing message to the user about there actions like Welcome User You Logged in succesfuly and Password Changed etc. In case of Successful login message, it is displayed in every page as its bean class's scope is session. But I am reseting the msg by

Its not working, Please help me or suggest me alternate logic
vikram Kesav
Ranch Hand

Joined: Jul 11, 2008
Posts: 69
Try to set in request instead of session.
Or invalidate session once you displayed message or your work is done on that page, i am assuming that you are saving only messages in session not any other information.
 
wood burning stoves
 
subject: Welcome Message
 
Similar Threads
Struts Action Message
Need to call SessionBean from my MessageDrivenBean
Providing anchor to columns in a datatable
Exception Handling
Exception in MDB