This content has been marked as final.
Show 1 reply
-
1. Re: Putting Beans into a SessionBean, not able to retrive the latest information with is modifed by another user.
harut Mar 4, 2010 8:04 AM (in response to ajaykadiyala)LocationBean has scope Session, and you initialize listOfLocation in the constructor, that means that it will be initialized once in the session, that's why user 1 can't see modifications provided by user 2.
Solutions:
1. Store LocationBean in request scope and use a4j:keepalive (if it is necessary)
2. Implement intialization functionality (getALLLocationData()) not in the constructor of LocationBean, do it in any Action/ActionListener method...
Hope this will help you.