Results 1 to 2 of 2

Thread: wanted to use session scope bean in spring controller

Hybrid View

  1. #1
    Join Date
    Jun 2012
    Posts
    6

    Default 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. #2
    Join Date
    Jun 2012
    Posts
    6

    Talking 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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •