無意中修改了struts工程的配置文件,之后還原
發現頁面很多不能執行。
  <!-- ========== Global Forward Definitions ============================== -->
  <global-forwards>
    <forward   name="logoff"               path="/logoff.do"/>
    <forward   name="logon"                path="/logon.jsp"/>
    <forward   name="success"              path="/mainMenu.jsp"/>
    <forward   name="search"               path="/search.jsp"/>
    <forward   name="displayall"           path="/displayall.do"/>
    <forward   name="insert"               path="/insert.jsp"/>
    <forward   name="mainMenu"             path="/mainMenu.jsp"/>
    <forward   name="confirmation"    path="/confirmation.jsp"/>
  </global-forwards> 
  <action    path="/displayall"
               type="addressbook.actions.DisplayAllAction"
               name="nestedForm"
               scope="request"
               input="/mainMenu.jsp">
      <forward name="success" path="/display.jsp"/>
    </action>這個頁面
http://localhost/addressbook/displayall.do
找不到指定頁面。(之前是好好的)在eclipse里執行報以下警告!
[WARN] RequestUtils - No FormBeanConfig found under 'nestedForm'
[WARN] RequestUtils - No FormBeanConfig found under 'nestedForm'
[WARN] RequestUtils - No FormBeanConfig found under 'nestedForm'
[WARN] RequestUtils - No FormBeanConfig found under 'nestedForm'
確實也沒有修改代碼內容