当前位置: 代码迷 >> J2EE >> Cannot find bean: "hytxbzForm" in any scope解决方法
  详细解决方案

Cannot find bean: "hytxbzForm" in any scope解决方法

热度:270   发布时间:2016-04-22 03:17:46.0
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页面上找不到吧
  相关解决方案