title: variable passing in struts action class
body: <p>we are developing the web application we have different methods in struts2 action class. We are instantiate the one variable and assign some value. We want to use that variable value in another method.</p>
  
  <p>I think this is possible in 2 ways.
  1.Using the static variable.But when we are using the static global variable another user is also accessing the same variable value at the same time or override the value with new user.
  2. Using the HTTPsession.</p>
  
  <p>Is there any other way to get the assigned value from one method to the another method in action class</p>
  
  <p>Please suggest.</p>