aspose file tools*
The moose likes Spring and the fly likes How to set username in the Session using Spring Web Flow 2.0 ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "How to set username in the Session using Spring Web Flow 2.0 ?" Watch "How to set username in the Session using Spring Web Flow 2.0 ?" New topic
Author

How to set username in the Session using Spring Web Flow 2.0 ?

Joshi Nirav
Greenhorn

Joined: Dec 04, 2009
Posts: 14

Hi all,
I want to set username in the session using Spring Web Flow.
How will i achieve it ?
Can anyone guide me on that ?

Thanks and Regards
Nirav Joshi
Joshi Nirav
Greenhorn

Joined: Dec 04, 2009
Posts: 14

Hi all
I got my solution.
The solution is like here:

From the *-flow.xml file we need to pass the ExternalContext Reference.......
Catch the Reference into the Handler method and get RequestContext Map.
in that Map the Request Parameter will be available.

Thanks and Regards
Nirav Joshi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set username in the Session using Spring Web Flow 2.0 ?