Module nulll not 
 我近期在学习STRUTS,用的是1.38版的  我把lib/下的所有JAR文件考到了/WEB-INF/下,但是没有struts-html.tld,struts-bean.tld,...,我就从struts-taglib-1.38.jar中解压了出来,把他们放在了/WEB-INF/tlds下. 
但是在JSP 中没有办法使用STRUTS标签库  只要带STRUTS标签的地方都会出错! 其他的配置文件都没错误,我已经仔细检查了!有一点,我看网上有人说1.38版的不用在struts-config.xml中进行配置标签库. 
不知道对不对? 出现最常的错误就是MODULE null not found! 
JSP中的引用如下: <%@taglib uri="http://struts.apache.org/struts-html.tld" prefix="html"% > <html:form action="/search" method="post" > 
<html:text property="name"/>
</html-form > 就会出错,除了module null not found错误外,有时候如果使用struts-bean标签还会出现,说这个BEAN不存在!如: 
<bean message="dddd"/ > 都快急死了,搞了半个月了!!!! 
 
 
 
 
  

解决方案 »

  1.   

      没有导入struts标签库吧
      

  2.   

    <%@taglib uri="http://struts.apache.org/struts-html.tld" prefix="html"%  >  换成,<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
      

  3.   

    已经导入了struts标签库.上面的修改以后也没有消除异常.
    被这个东西给搞的头都大了!我把需要的JAR文件全都放在CLASSPATH上了,并且在WEB-INF/lib下也放了!只要把struts标签去掉就可以运行了!JSP文件如下:
     
    <%@taglib uri="/web-inf/struts-html.tld" prefix="html"%><html>
    <head>
    <title>Struts Test</title>
    </head>
    <body>
    <html:form action="/search" method="post" name="form1">
    <table noshade>
    <tr>
    <td>Name </td>
    <td>
    <html:text property="name" size="20">
    </td>
    </tr>
    <tr>
    <td>Password</td>
    <td><html:password property="password" size="20"></td>
    </tr>
    </table>
    </html:form>
    </body>
    </html>
      

  4.   

      <%@taglib uri="/web-inf/struts-html.tld" prefix="html"% > 
      改成:
      <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> 
      
      打开项目时把标签库加载进去,在应用下应该有显示JAR文件的。
      

  5.   

    <html:form action="/search" method="post" name="form1" > 
    <html:password property="password" size="20" >
    都没有结束标签!<html:from /><html:password />
      

  6.   

    是不是在web.xml里面没有加入<taglib>
    <taglib-uri>/web-inf/structs-html.tld</taglib-uri>
    ...
    </taglib>
      

  7.   

    一个是ActionServlet没有 <load-on-startup>
    再不行容器换Resin 
    我同一台机器上TOMCAT有这个问题 RESIN没事
      

  8.   

    報這個錯,沒有任何的緣由呢.本來是好好的項目,過了一個週末.突然就這樣啦.
    後來將servlet.jar換掉.問題是解決了.可是需要多加一個tiles-defs.xml文件.不知什麼原因.