File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Welcome Message" Watch "Welcome Message" New topic

Welcome Message

vivek mahajan

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.
I agree. Here's the link:
subject: Welcome Message
It's not a secret anymore!