| Author |
HttpSession and HttpRequest in Spring.
|
pankaj semwal
Ranch Hand
Joined: Oct 07, 2008
Posts: 300
|
|
Hi List,
How can i get the HttpSession and HttpRequest in spring.In my project i am using Flex as view and spring BlazeDS is used for transferring the object from flex to java.
Please help me.
Thanks & Regards
|
 |
Mahajan Nikhil
Greenhorn
Joined: Jul 30, 2011
Posts: 5
|
|
Pass the object of HttpServletRequest in your controller methods along with your model object.
For example,
public String test(Model model, HttpServletRequest request) {
final HttpSession session = request.getSession();
//Your code goes here
}
|
 |
 |
|
|
subject: HttpSession and HttpRequest in Spring.
|
|
|