还是不行啊, 出现这样的提示14:12:42,078 WARN [Form] No configuration found for the specified action: 'Login.action' in namespace: ''. Form action defaulting to 'action' attribute's literal value. 14:12:42,234 WARN [Form] No configuration found for the specified action: 'Login.action' in namespace: ''. Form action defaulting to 'action' attribute's literal value. 14:12:50,968 WARN [Form] No configuration found for the specified action: 'HelloWorld' in namespace: '/bai'. Form action defaulting to 'action' attribute's literal value. 14:12:51,546 WARN [Form] No configuration found for the specified action: 'HelloWorld' in namespace: '/bai'. Form action defaulting to 'action' attribute's literal value.
出现这样的提示14:12:42,078 WARN [Form] No configuration found for the specified action: 'Login.action' in namespace: ''. Form action defaulting to 'action' attribute's literal value.
14:12:42,234 WARN [Form] No configuration found for the specified action: 'Login.action' in namespace: ''. Form action defaulting to 'action' attribute's literal value.
14:12:50,968 WARN [Form] No configuration found for the specified action: 'HelloWorld' in namespace: '/bai'. Form action defaulting to 'action' attribute's literal value.
14:12:51,546 WARN [Form] No configuration found for the specified action: 'HelloWorld' in namespace: '/bai'. Form action defaulting to 'action' attribute's literal value.
FORM:QQ群Java 2 Enterprise Edition(88509302)
就是action=“ ……”中间应该是什么什么.action
还有你的包放得很乱,最好是src里放acion,vo,bean会自动生成到WebContent/WEB-INF下面,在根目录下方jsp。
写成这样<s:form action="/bai/HelloWorld.action" namespace="/bai">
就可以啦!