File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login
JavaRanch » Java Forums » Application Frameworks » Spring
Reply 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
 
 
subject: How to set username in the Session using Spring Web Flow 2.0 ?
 
Threads others viewed
Spring Web Flow 2 Web Development
popup form in spring
[Spring Web Flow 2] Can Spring Web Flow work with Spring Web MVC?
Handling session timeout and session invalidate differently
Does Spring Web Flow 2 have role based authorization to execute flow feature?
IntelliJ Java IDE