Announcement Announcement Module
Collapse
No announcement yet.
Spring web mvc annotations and session object Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring web mvc annotations and session object

    Hi all,

    I always that need an object that are at session a use :

    Code:
    RequestMapping("details.htm")
    public void myAction(HttpSession session) {
    getmyobject at session
    }
    there is another way get my object at session without use direct at my method signature the object HttpSession ?

    thanks,

    Alex

  • #2
    @SessionAttributes

    See http://static.springframework.org/sp...ttributes.html

    Comment

    Working...
    X