标签:style http color io ar for sp cti html
如果用struts标签,且struts配置有命名空间,则<s:form>中也要注明namespace,并且提交的action类中无需家action后缀
如果用struts标签,且struts配置中无命名空间,则<S:FORM>无需注明namespace,提交的时候加上action类名和action后缀即可
如果是html方式的form提交,且struts配置中有命名空间,则action=“”中要注明提交路径和action的名字。如我的 机子是127.0.0.1且http协议,端口8080,action类名为A,项目名为test,则提交为:http://172.0.0.1:8080/test/A.action
如果html方式的form提交,且struts没有配置没有命名空间,则直接提交action名字即可
标签:style http color io ar for sp cti html
原文地址:http://my.oschina.net/u/947024/blog/312186