Struts2获取action

来源:互联网 发布:四川房卡麻将源码 编辑:程序博客网 时间:2024/05/01 10:46

Struts2获取action

//action类路径
 System.out.println("Action:"+invoke.getAction().getClass().getName());
//调用的action
System.out.println("调用的Actino:"+invoke.getProxy().getActionName());
//调用的方法
System.out.println("调用的方法:"+invoke.getProxy().getMethod());



害怕忘了,小记一下
1 0