Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Joshi Nirav
Greenhorn
Posts: 14
IntelliJ IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
IntelliJ IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic