首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

使用 html:form,该如何解决

2012-03-09 
使用 html:form由JBuilder2006创建struts后,我在%@pagecontentType text/htmlcharsetGBK %%@tagli

使用 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不能为空

热点排行