for struts 2, 

  

   i follow the example from the web to use 'Action.xxxxx'  (xxx is actual 
action name), but the compile report the following error


cannot find symbol
symbol  : variable Action
location: class SecurityVerifySessionIntercepter
      return Action.LoginAction;  

which library i should include to use the global variable of Action ?

thanks in advance

john



import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;

import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;

import javax.servlet.http.Cookie;
import com.opensymphony.xwork2.ActionSupport;

public class SecurityVerifySessionIntercepter extends AbstractInterceptor 
implements ServletResponseAware, ServletRequestAware {
......

}

Reply via email to