so that i can use context object to store user sessions..
Help me out..
Thank You J Sreenivas
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
posted
0
The class org.apache.struts.action.Action that your action class extends has a getServlet() method that returns the instance of ActionServlet that called your action. Once you have the servlet, you can get the servlet context. Example: