这个我遇到过。
是因为你使用的struts-html.tld是struts1.1的,而你使用的struts.jar是1.2
所以就....原因:
在struts1.2里,<html:form>这个tag没有name属性了。
只需要指定action="XXX.do"就可以了
<html:form action="XXX.do">这个form会从XXX.do取得formbean的name

解决方案 »

  1.   

    class 'org.apache.struts.taglib.html.FormTag' has no setter method corresponding to TLD declared attribute 'name', (JSP 1.1 spec, 5.4.1)
    已经说清楚了.应该是你用的tld文件和jar不是同一个版本.
      

  2.   

    那为什么用tomcat4没有产生版本啊
      

  3.   

    我把struts.jar环城了1.1的版本后问题的确解决了
    疑问:为什么用tomcat4没有产生版本啊?
    谢谢了先!!!
      

  4.   

    可能是tomcat的一致性检查不严格吧。