It looks to me like this is fairly clear in the documentation here, you need to do this:
package com.example.actions;
import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Actions;
@InterceptorRefs({
@InterceptorRef("token"),
@InterceptorRef("basicStack")
})
@Results({
@Result(name="success", location="/success.jsp")
@Result(name="invalid.token", location="/index.jsp")
})
public class HelloWorld extends ActionSupport {
@Action(interceptorRefs={
@InterceptorRef("token"),
@InterceptorRef("basicStack")
})
public String myActionMethod() {
//do stuff
return SUCCESS;
}
}