This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Boost this thread!