This week's giveaway is in the
We're giving away four copies of
video training course and have Ken Kousen on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
How to SET and GET session objects in Struts Action classes ???
Joined: Jan 07, 2009
Jul 04, 2009 03:31:00
Please tell me how can I SET and GET session objects in
Action classes ?
Its not what you do, its how well you do it.
Joined: Feb 05, 2009
Jul 04, 2009 03:43:45
I suppose you are working on struts2.
Two ways to do
a) Make your action class to implement SessionAware interface and implement the setSession method.
b) Using ServletActionContext i,e
session = ServletActionContext.getSession();
subject: How to SET and GET session objects in Struts Action classes ???
Struts 2 session writing efficiency / timing
Webservices and Request/Response
Problem in setting Application scope Object
Passing variables from class to class (SOLVED)
please reply somebody need help
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015