struts2 中的拦截器既不是针对类,也不是针对方法,而是针对访问时Action
@InterceptorRefs({@InterceptorRef(value="token",params={"includeMethods","save"})}),
这种只能拦截http://games.qq.com/save.action,
而http://games.woyo.com/save!user.action
是拦截不了的
所以需要在方法上加,如@Action(value="myphotos" ,interceptorRefs=@InterceptorRef(value="token"))
这样才是正确的