日期:2014-05-17 浏览次数:20716 次
public class CatchUrlInterceptor implements Interceptor{
private static final long serialVersionUID = -4502868552994820483L;
public void destroy() {
}
public void init() {
}
public String intercept(ActionInvocation invocation) throws Exception {
ActionProxy proxy = invocation.getProxy();
String namespace = proxy.getNamespace();
String actionName = proxy.getActionName();
return invocation.invoke();
}
}