日期:2014-05-18  浏览次数:20771 次

使用 html:form
由JBuilder2006   创建   struts   后,我在

<%@page   contentType= "text/html;   charset=GBK "%>
<%@taglib   uri= "/WEB-INF/struts-html.tld "   prefix= "html "%>
<%@taglib   uri= "/WEB-INF/struts-tiles.tld "   prefix= "tiles "%>
<html>
<head>
<title> index </title>
</head>
<body   bgcolor= "#ffffff ">
<html:form   action= " ">
</html:form>
</body>
</html>

使用  
<html:form   action= " "> </html:form>

运行后,总是要报错...


<html:button   property= "name "> </html:button>   就没问题
本人初学   struts   呀!!!!!!!!!~~~~~~~~~~~~~~~~~


------解决方案--------------------
<html:form action= " "> action不能为空