当前位置: 代码迷 >> Java Web开发 >> 使用 html:form,该如何解决
  详细解决方案

使用 html:form,该如何解决

热度:746   发布时间:2016-04-17 13:06:08.0
使用 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不能为空
  相关解决方案