狼愛上貍

          我胡漢三又回來了

          JSF1.1在Tomcat5.5.20中的配置

          Question: Why do I get errors when using the book's build instructions with Tomcat 5.5.x?
          Answer: Unlike Tomcat 5.0.x, Tomcat 5.5.x doesn't have the commons-digester.jar and commons-beanutils.jar in the tomcat/server/lib directory. Instead, these files need to be obtained from jsf/lib.

          In step 4 of the instructions on page 11, change

          comcat/server/lib/commons-digester.jar
          ????
          tomcat/server/lib/commons-beanutils.jar
          ??
          to

          jsf/lib/commons-digester.jar
          ????
          jsf/lib/commons-beanutils.jar
          ????
          jsf/lib/commons-collections.jar
          ????
          ????
          ??
          web.xml 文件

          <?xml version="1.0"?>

          <!DOCTYPE web-app PUBLIC
          ?? "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
          ?? "

          <web-app>
          ?? <servlet>
          ????? <servlet-name>Faces Servlet</servlet-name>
          ????? <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
          ????? <load-on-startup>1</load-on-startup>
          ?? </servlet>??

          ?? <servlet-mapping>
          ????? <servlet-name>Faces Servlet</servlet-name>
          ????? <url-pattern>*.faces</url-pattern>
          ?? </servlet-mapping>?

          ?? <welcome-file-list>
          ????? <welcome-file>index.html</welcome-file>
          ?? </welcome-file-list>

          <listener>
          <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
          </listener>

          </web-app>

          posted on 2006-10-25 08:06 狼愛上貍 閱讀(840) 評論(0)  編輯  收藏 所屬分類: JSF


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 时尚| 屏南县| 瑞丽市| 九江县| 池州市| 乌兰浩特市| 襄汾县| 波密县| 高平市| 湘潭市| 灵台县| 诸暨市| 宜宾县| 大理市| 齐齐哈尔市| 竹山县| 横山县| 尉犁县| 类乌齐县| 哈密市| 临西县| 商洛市| 衡南县| 伊金霍洛旗| 开平市| 永泰县| 昌吉市| 阳谷县| 崇明县| 五峰| 万山特区| 广德县| 永兴县| 恭城| 定南县| 灵台县| 新竹县| 河南省| 靖西县| 玉溪市| 修文县|