Announcement Announcement Module
Collapse
No announcement yet.
wanted to use session scope bean in spring controller Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • wanted to use session scope bean in spring controller

    Hi All , I wanted to use session scope spring bean in spring controller which is singleton . Can some one please suggest what are the best approach to achieve this ??

  • #2
    wanted to use session scope bean in spring controller

    found the solution of this by using APO proxy . Used below code and now I'm able to populate session scope bean in Controller .

    Code:
    @Scope(value = "session", proxyMode = ScopedProxyMode.TARGET_CLASS)

    Comment

    Working...
    X