日期:2014-05-20  浏览次数:20690 次

Cannot find bean: "hytxbzForm" in any scope
各位大哥大姐,这个问题已经困扰我两天了,现在还没解决,这个不解决,下边没法继续做了。。。
struts-config.xml
XML code

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">

<struts-config>
  <data-sources />
  <form-beans >
    <form-bean name="hytxbzForm" type="com.dgis.struts.form.HytxbzForm" />
  <global-exceptions />
  <global-forwards >
    <forward name="hytxbz" path="/form/hytxbz.jsp" />
  </global-forwards>

  <action-mappings >
    <action
      attribute="hytxbzForm"
      input="/form/hytxbz.jsp"
      name="hytxbzForm"
      path="/hytxbz"
      scope="request"
      type="com.dgis.struts.action.HytxbzAction" />
  </action-mappings>

  <message-resources parameter="com.dgis.struts.ApplicationResources" />
  <plug-in className="com.dgis.common.ConverterPlugIn" />
</struts-config>




------解决方案--------------------
应该是你的jsp页面上找不到吧