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

jsp页面struts标签不能编译解决方案

2012-01-28 
jsp页面struts标签不能编译%@pagecontentType text/htmlcharsetGBK %%@tagliburi /WEB-INF/stru

jsp页面struts标签不能编译
<%@   page   contentType= "text/html;   charset=GBK "   %>
<%@   taglib   uri= "/WEB-INF/struts-tiles.tld "   prefix= "tiles "   %>
<%@   taglib   uri= "/WEB-INF/struts-nested.tld "   prefix= "nested "   %>
<%@   taglib   uri= "/WEB-INF/struts-logic.tld "   prefix= "logic "   %>
<%@   taglib   uri= "/WEB-INF/struts-bean.tld "   prefix= "bean "   %>
<%@   taglib   uri= "/WEB-INF/struts-html.tld "   prefix= "html "   %>

<html:html>
    <head>
<title>
</title>
</head>
    <script   type= "text/javascript "   src= "./javascript/handlepage.js "> </script>
  <script   type= "text/javascript "   src= "js/changedate.js "> </script>
    <script   type= "text/javascript "   src= "js/checkDecimal.js "> </script>

<link   href= "./style/rightMainFrame.css "   rel= "stylesheet "   type= "text/css ">
<body>
<div   id= "corner_t ">
    <div   id= "title "   class= "title "   onClick= "showHiddenInfoDiv( 'info_list ', 'title ') "> 查询地市上传记录数据 </div> </div>
<div   id= "info_list ">

<table   width= "100% "   border= "0 "   class= "alt_table ">
<html:form   action= "   archUpdataAction.do "   method= "POST ">
    <tr>
        <td> 地市名称:
      <html:select   property= "citycode ">
                <option   value= " "> ==请选择== </option>
                <html:options   name= "searchUpataActionForm "   property= "citycodes "   labelProperty= "citylabels "/>
    </html:select>
            上传数据日期段:
            <html:text   property= "insday "   size= "15 "   onclick= "popUpCalendar(this,   this,   'yyyy-mm-dd ') "/>
            到 <html:text   property= "insday "   size= "15 "   onclick= "popUpCalendar(this,   this,   'yyyy-mm-dd ') "/>
  <html:submit   property= "submit "   value= "搜索 "/> </td>
    </tr>

</html:form>
</table>
</div>
</body>
</html:html>  

我只要把 <html:form> ,, </html:form> 除掉就可以

[解决办法]
1,把 </html:form> 搞到table外面看下
2, </html:html> 不用struts标签看下

热点排行