首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

struts2.0.11 ognl 调用静态方法抱错解决办法

2012-04-06 
struts2.0.11 ognl 调用静态方法抱错@mypackage@mystaticmethod()The function mystaticmethod must be us

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

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

热点排行