This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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 ?
 
Similar Threads
Handling session timeout and session invalidate differently
popup form in spring
Spring Web Flow 2 Web Development
[Spring Web Flow 2] Can Spring Web Flow work with Spring Web MVC?
Does Spring Web Flow 2 have role based authorization to execute flow feature?