I wanted to get the fromSession id with Spring Annotation-based controller configuration. Is this possible? How do I get the fromSession object with this type of controller?
Thanks in advance
1) Pass in the session object as a method parameter
2) Use RequestContextHolder.getRequestAttributes().getSes sionId();