今天写了一个ajax的刷新,用了servlet,同时还有许多的structs2的东西,后来发现servlet无法访问,一直报错警告: No configuration found for the specified action: 'save.action' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.“”
这个问题的解决方案是:
在structs.xml文件中,加上拓展名就可以了
<constant name="struts.action.extension" value="action"></constant>