<%@   taglib   uri="http://struts.apache.org/tags-bean"   prefix="bean"   %> 
<%@   taglib   uri="http://struts.apache.org/tags-html"   prefix="html"   %> 
<%@   taglib   uri="http://struts.apache.org/tags-logic"   prefix="logic"   %> 
<%@   taglib   uri="http://struts.apache.org/tags-tiles"   prefix="tiles"   %> 把這幾行刪掉,或改為:
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>

解决方案 »

  1.   

    <%@       taglib       uri="http://struts.apache.org/tags-bean"       prefix="bean"       %>  
    <%@       taglib       uri="http://struts.apache.org/tags-html"       prefix="html"       %>  
    <%@       taglib       uri="http://struts.apache.org/tags-logic"       prefix="logic"       %>  
    <%@       taglib       uri="http://struts.apache.org/tags-tiles"       prefix="tiles"       %>  把這幾行刪掉,或改為:
    <%@taglib    prefix="s" uri="/struts-tags" %> 
    <html:html   lang="true"> 
    <html:base   /> 
    这些都是struts1中的标签,要用struts2的标签写
    很明显,你用的是struts2,却错用了struts1  的东西写页面
      

  2.   

    Struts   2.0   test   xp1204 
    ============================
    !!!!!!!!!!!!!!!!!!
    哈哈,你是老大的徒弟吗?
      

  3.   

    前面都是2.0的东西,等到页面的时候,你又全用的1.0的东西。
    看看基础的文章<%@taglib prefix="s" uri="/struts-tags"   %>   
    <html>
    <s:form action="testAction">
    </s:form>
    </html>