读书人

struts2的拦截器invocation.invoke()旁

发布时间: 2013-07-08 14:13:00 作者: rapoo

struts2的拦截器invocation.invoke()旁边有红叉 提示错误为invocation cannot be resolved;
我的拦截器是这样写的:
struts2的拦截器invocation.invoke()旁边有红叉 提示异常为invocation cannot be resolved

但是invocation.invoke()旁边有红叉,提示错误为:invocation cannot be resolved

我jar包如下:
struts2的拦截器invocation.invoke()旁边有红叉 提示异常为invocation cannot be resolved

到底是什么原因呢? struts2, invocation.invoke(), cannot?be?resolved
[解决办法]
楼主你太有才了吧
那个invocation 是传来的参数 actionInvocation 你看看你自己的是什么
[解决办法]
楼上说的对,invocation.invoke()改为arg0.invoke()

读书人网 >J2EE开发

热点推荐