日期:2014-05-20  浏览次数:20652 次

struts2.0.11 ognl 调用静态方法抱错
@mypackage@mystaticmethod() 
The function mystaticmethod must be used with a prefix when a default namespace is not specified 
有人帮忙解决不??

------解决方案--------------------
呵呵,
你在第一个@后面要写完整一个类名第二个@后面要指定这个类下面的静态方法