8
回答
我改的一个基于struts2的一个住院管理信息系统,部署后无法正常使用
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

我改的一个基于struts2的一个住院管理信息系统,在服务器部署时没有报任何异常,正常运行。但是却无法在浏览器通过“http://localhost:8080/工程名/”访问index.jsp,也无法通过“http://localhost:8080/工程名/action名”访问任何action。希望有精通这方面的高手替我看看,到底是哪里出了问题。没有报错,我又不是很精通这个,我已经自己解决不了了。求救!!!先谢过!

由于无法上传附件,代码又较多,我先上传一下struts.xml给高手检查,看看是否是配置出问题了。


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

<struts>
	<constant name="struts.i18n.encoding" value="UTF-8"></constant>
	
	  <package name="ccc" namespace="/" extends="struts-default">
	<!--
	<action name="hello"> <result>/hello.jsp</result></action>
	-->
	 <!-- ********************对登陆进行的操作**************************-->
	    
	    <!-- jquery验证用户名是否存在 -->
		<action name="testUser" class="cn.edu.hbcf.action.DoctorAction" method="testUser" />

        <!-- 管理员登陆 -->
		<action name="login" class="cn.edu.hbcf.action.DoctorAction">
			<result name="wrong">
				/login.jsp
			</result>
			<result name="ok">
				/houtai/index.jsp
			</result>
		</action>
		<!-- 更新管理员信息 -->
		<action name="updateAdmin" class="cn.edu.hbcf.action.DoctorAction">
			<result name="failAdminUpdate">
		           failAdminUpdate.jsp
		    </result>
			<result name="updateAdminOK">
				successUpdate.jsp
			</result>
		</action>
	  <!-- ********************对住院收费进行的操作**************************-->
	   <!-- jquery验证病人名字是否在缴费表中存在 -->
		<action name="testPname" class="cn.edu.hbcf.action.IncostAction" method="testPname" />
		 <!-- jquery验证病人名字是否在花费表中存在 -->
		<action name="testPname2" class="cn.edu.hbcf.action.IncostAction" method="testPname2" />
	  <!--查询全部住院登记信息  -->
	  	<action name="incost1" class="cn.edu.hbcf.action.IncostAction" method="incost1">
			<result name="searchOK">
				/houtai/incost/incost_1.jsp
			</result>
			<result name="searchFail">
				/houtai/searchFail.jsp
			</result>
		</action>
		 <!--住院费用登记  -->
	  	<action name="incost2" class="cn.edu.hbcf.action.IncostAction" method="incost2">
			<result name="searchIncost2OK">
				/houtai/incost/incost_2.jsp
			</result>
			<result name="searchIncost2Fail">
				/houtai/searchFail.jsp
			</result>
        </action>
		<!--根据住院编号查询住院收费信息  -->
		 	<action name="searchIncostByPnum" class="cn.edu.hbcf.action.IncostAction">
			<result name="queryByPnumOK" type="chain">
				incost1
			</result>
			<result name="queryByPnumFail">
				/houtai/searchFail.jsp
			</result>
			<result name="query2ByPnumOK" type="chain">
				incost2
			</result>
			<result name="query4ByPnumOK" type="chain">
				incost4
			</result>
			<result name="query5ByPnumOK" type="chain">
				incost5
			</result>
		</action>
		<!--根据住院编号查询第一条信息所在的位置  -->
		<action name="searchPlaceFir" class="cn.edu.hbcf.action.IncostAction">
			<result name="searchIncost1FirOK" type="chain">
				incost1
			</result>
				<result name="searchIncost2FirOK" type="chain">
				incost2
			</result>
				<result name="searchIncost4FirOK" type="chain">
				incost4
			</result>
			<result name="searchIncost5FirOK" type="chain">
				incost5
			</result>
			<result name="searchPlaceFirFail">
				/houtai/searchFail.jsp
			</result>
		</action>
		<!--根据住院编号查询上一条信息所在的位置  -->
		<action name="searchPlacePre" class="cn.edu.hbcf.action.IncostAction">
			<result name="searchIncost1PreOK" type="chain">
				incost1
			</result>
			<result name="searchIncost2PreOK" type="chain">
				incost2
			</result>
			<result name="searchIncost4PreOK" type="chain">
				incost4
			</result>
			<result name="searchIncost5PreOK" type="chain">
				incost5
			</result>
			<result name="searchPlaceFail">
				/houtai/searchFail.jsp
			</result>
		</action>
		<!--根据住院编号查询下一条信息所在的位置  -->
		<action name="searchPlaceNext" class="cn.edu.hbcf.action.IncostAction">
			<result name="searchIncost1NextOK" type="chain">
				incost1
			</result>
			<result name="searchIncost2NextOK" type="chain">
				incost2
			</result>
			<result name="searchIncost4NextOK" type="chain">
				incost4
			</result>
			<result name="searchIncost5NextOK" type="chain">
				incost5
			</result>
			<result name="searchPlaceNextFail">
				/houtai/searchFail.jsp
			</result>
		</action>
		<!--根据住院编号查询最后一条信息所在的位置  -->
		<action name="searchPlaceLast" class="cn.edu.hbcf.action.IncostAction">
			<result name="searchIncost1LastOK" type="chain">
				incost1
			</result>
			<result name="searchIncost2LastOK" type="chain">
				incost2
			</result>
			<result name="searchIncost4LastOK" type="chain">
				incost4
			</result>
			<result name="searchIncost5LastOK" type="chain">
				incost5
			</result>
			<result name="searchPlaceLastFail">
				/houtai/searchFail.jsp
			</result>
		</action>
		<!--清空已有信息-->
		<action name="clearInformation" class="cn.edu.hbcf.action.IncostAction">
			<result name="clearIncost1OK" type="chain">
					incost1
			</result>
			<result name="clearIncost2OK" type="chain">
					incost2
			</result>
			<result name="clearIncost4OK" type="chain">
					incost4
			</result>
			<result name="clearIncost5OK" type="chain">
					incost5
			</result>
		</action>
		<!--添加住院收费信息  -->
		<action name="addIncost" class="cn.edu.hbcf.action.IncostAction">
			<result name="addIncost1OK" type="chain">
				incost1
			</result>
			<result name="addIncost2OK" type="chain">
				incost2
			</result>
			<result name="addIncost4OK" type="chain">
				incost4
			</result>
			<result name="addIncost5OK" type="chain">
				incost5
			</result>
			<result name="addIncost1Fail">
				/houtai/addFail.jsp
			</result>
		</action>
		<!--删除住院收费信息  -->
		<action name="delIncost" class="cn.edu.hbcf.action.IncostAction">
			<result name="delIncost1OK" type="chain">
				incost1
			</result>
			<result name="delIncost2OK" type="chain">
				incost2
			</result>
			<result name="delIncost4OK" type="chain">
				incost4
			</result>
			<result name="delIncost5OK" type="chain">
				incost5
			</result>
			<result name="delIncost1Fail">
				/houtai/delFail.jsp
			</result>
		</action>
		<!--自动查找住院编号  -->
		<action name="addNextPnum" class="cn.edu.hbcf.action.IncostAction">
			<result name="addNextPnumOK" type="chain">
				incost1
			</result>
		</action>
         <!--自动查找收费编号  -->
		<action name="addNextCnum" class="cn.edu.hbcf.action.IncostAction">
			<result name="addNextCnumOK" type="chain">
				incost2
			</result>
		</action>
			<!--自动查找出院对应编号  -->
		<action name="addNextPnum4" class="cn.edu.hbcf.action.IncostAction">
			<result name="addNextPnum4OK" type="chain">
				incost4
			</result>
		</action>
			<!--自动查找交费对应编号  -->
		<action name="addNextPnum5" class="cn.edu.hbcf.action.IncostAction">
			<result name="addNextPnum5OK" type="chain">
				incost5
			</result>
		</action>
		
		 <!--住院病人催款单  -->
	  	<action name="incost3" class="cn.edu.hbcf.action.IncostAction" method="incost3">
			<result name="searchIncost3OK">
				/houtai/incost/incost_3.jsp
			</result>
			<result name="searchIncost3Fail">
				/houtai/searchFail.jsp
			</result>
        </action>
        <!-- 过滤催款单信息 -->
        <action name="searchIncost3" class="cn.edu.hbcf.action.IncostAction">
			<result name="Incost3OK" type="chain">
				incost3
			</result>
			<result name="searchIncost3Fail">
				/houtai/incost/searchIncost3Fail.jsp
			</result>
        </action>
        <!--出院结算  -->
	  	<action name="incost4" class="cn.edu.hbcf.action.IncostAction" method="incost4">
			<result name="searchIncost4OK">
				/houtai/incost/incost_4.jsp
			</result>
			<result name="searchIncost4Fail">
				/houtai/searchFail.jsp
			</result>
        </action>
         <!--交款记录  -->
	  	<action name="incost5" class="cn.edu.hbcf.action.IncostAction" method="incost5">
			<result name="searchIncost5OK">
				/houtai/incost/incost_5.jsp
			</result>
			<result name="searchIncost5Fail">
				/houtai/searchFail.jsp
			</result>
        </action>
		 <!-- jquery验证病人生日和年龄是否匹配 -->
		<action name="testAge" class="cn.edu.hbcf.action.IncostAction" method="testAge" />
		
			
		<!-- ********************对住院病人信息查询进行的操作**************************-->
	  <!--按姓名查询在住病人的信息  -->
	  	<action name="inpatient1" class="cn.edu.hbcf.action.InpatientAction" method="inpatient1">
			<result name="searchInpatientOK">
				/houtai/inpatient/inpatient1.jsp
			</result>
			<result name="searchInpatientFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<action name="inname" class="cn.edu.hbcf.action.InpatientAction" >
			<result name="queryInpatientByNameOK" >
				/houtai/inpatient/inpatient_1.jsp
			</result>
			<result name="queryInpatientByNameFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--按性别查询在住病人的信息  -->
	  	<action name="inpsex" class="cn.edu.hbcf.action.InpatientAction" >
			<result name="queryInpatientByPsexOK" >
				/houtai/inpatient/inpatient_2.jsp
			</result>
			<result name="queryInpatientByPsexFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		
		<!--按科室查询在住病人的信息  -->
	   <action name="inpatient3" class="cn.edu.hbcf.action.InpatientAction" method="inpatient3">
			<result name="searchInpatient3OK">
				/houtai/inpatient/inpatient3.jsp
			</result>
			<result name="searchInpatient3Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		
		<action name="inoffice" class="cn.edu.hbcf.action.InpatientAction" >
			<result name="queryInpatientByOfficeOK" >
				/houtai/inpatient/inpatient_3.jsp
			</result>
			<result name="queryInpatientByOfficeFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--按主治医生查询在住病人的信息  -->
	  	<action name="inpatient4" class="cn.edu.hbcf.action.InpatientAction" method="inpatient4">
			<result name="searchInpatient4OK">
				/houtai/inpatient/inpatient4.jsp
			</result>
			<result name="searchInpatient4Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<action name="indname" class="cn.edu.hbcf.action.InpatientAction" >
			<result name="queryInpatientByDnameOK" >
				/houtai/inpatient/inpatient_4.jsp
			</result>
			<result name="queryInpatientByDnameFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--模糊查询病人姓名  -->
		 	<action name="search" class="cn.edu.hbcf.action.InpatientAction" method="search">
			
		</action>
		
		

                <!-- ********************对出院病人信息统计查询的操作**************************-->
	  <!--查询全部病人信息  --><!-- 按姓名 -->
	  	<action name="outname" class="cn.edu.hbcf.action.OutpatientAction" >
			<result name="queryOutpatientByPnameOK" >
				/houtai/outpatient/outpatient_1.jsp
			</result>
			<result name="queryOutpatientByPnameFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		
      <!--根据性别查询出院病人信息  --><!-- 按性别 -->
		<action name="outpsex" class="cn.edu.hbcf.action.OutpatientAction" >
			<result name="queryOutpatientByPsexOK" >
				/houtai/outpatient/outpatient_2.jsp
			</result>
			<result name="queryOutpatientByPsexFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		 <!--查询全部病人信息  --><!-- 按主治医生 -->
		 <action name="outpatient1" class="cn.edu.hbcf.action.OutpatientAction" method="outpatient1">
			<result name="searchOutpatientOK">
				/houtai/outpatient/outpatient3.jsp
			</result>
			<result name="searchOutpatientFail">
				/houtai/serchFail.jsp
			</result>
		</action>
	  	<action name="outdname" class="cn.edu.hbcf.action.OutpatientAction" >
			<result name="queryOutpatientByDnameOK" >
				/houtai/outpatient/outpatient_3.jsp
			</result>
			<result name="queryOutpatientByDnameFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据科室查询出院病人信息  --><!-- 按科室 -->
		 <action name="outpatient2" class="cn.edu.hbcf.action.OutpatientAction" method="outpatient2">
			<result name="searchOutpatient2OK">
				/houtai/outpatient/outpatient4.jsp
			</result>
			<result name="searchOutpatient2Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<action name="outoffice" class="cn.edu.hbcf.action.OutpatientAction" >
			<result name="queryOutpatientByOfficeOK" >
				/houtai/outpatient/outpatient_4.jsp
			</result>
			<result name="queryOutpatientByOfficeFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--出院结算统计列表  -->
	  	<action name="outpatient5" class="cn.edu.hbcf.action.OutpatientAction" method="outpatient5">
			<result name="searchOutpatient5OK">
				/houtai/outpatient/outpatient_5.jsp
			</result>
			<result name="searchOutpatient5Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
	<!--模糊查询病人姓名  -->
		 	<action name="searchOut" class="cn.edu.hbcf.action.OutpatientAction" method="searchOut">
			
		</action>
		
		<!-- ********************对住院病人收费明细进行的操作**************************-->
	   <!--按姓名查询在住病人明细收费的信息  -->
	  	<action name="costdetail1" class="cn.edu.hbcf.action.CostdetailAction" method="costdetail1">
			<result name="searchCostdetailOK">
				/houtai/costdetail/costdetail1.jsp
			</result>
			<result name="searchCostdetailFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<action name="detailname" class="cn.edu.hbcf.action.CostdetailAction" >
			<result name="queryCostdetailByPnameOK" >
				/houtai/costdetail/costdetail_1.jsp
			</result>
			<result name="queryCostdetailByPnameFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		 <!--按性别查询全部在住病人明细收费的信息  -->
	  	<action name="detailpsex" class="cn.edu.hbcf.action.CostdetailAction" >
			<result name="queryCostdetailByPsexOK" >
				/houtai/costdetail/costdetail_2.jsp
			</result>
			<result name="queryCostdetailByPsexFail">
				/houtai/serchFail.jsp
			</result>
		</action>
			<!--按主治医生查询在住病人明细收费的信息  -->
	  	<action name="costdetail3" class="cn.edu.hbcf.action.CostdetailAction" method="costdetail3">
			<result name="searchCostdetail3OK">
				/houtai/costdetail/costdetail3.jsp
			</result>
			<result name="searchCostdetail3Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<action name="detaildname" class="cn.edu.hbcf.action.CostdetailAction" >
			<result name="queryCostdetailByDnameOK" >
				/houtai/costdetail/costdetail_3.jsp
			</result>
			<result name="queryCostdetailByDnameFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		
		<!--按所属科室查询在住病人明细收费的信息  -->
	  	<action name="costdetail4" class="cn.edu.hbcf.action.CostdetailAction" method="costdetail4">
			<result name="searchCostdetail4OK">
				/houtai/costdetail/costdetail4.jsp
			</result>
			<result name="searchCostdetail4Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<action name="detailoffice" class="cn.edu.hbcf.action.CostdetailAction" >
			<result name="queryCostdetailByOffnameOK" >
				/houtai/costdetail/costdetail_4.jsp
			</result>
			<result name="queryCostdetailByOffnameFail">
				/houtai/serchFail.jsp
			</result>
		</action>
	
		<!--查询住病人期间明细收费的信息 -->
	  	<action name="costdetail5" class="cn.edu.hbcf.action.CostdetailAction" method="costdetail5">
			<result name="searchCostdetail5OK">
				/houtai/costdetail/costdetail5.jsp
			</result>
			<result name="searchCostdetail5Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<action name="costdate" class="cn.edu.hbcf.action.CostdetailAction" >
			<result name="queryCostdetailByCdateOK" >
				/houtai/costdetail/costdetail_5.jsp
			</result>
			<result name="queryCostdetailByCdateFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--查询在住病人期间交款记录清单的信息 -->
	  	<action name="costdetail6" class="cn.edu.hbcf.action.CostdetailAction" method="costdetail6">
			<result name="searchCostdetail6OK">
				/houtai/costdetail/costdetail6.jsp
			</result>
			<result name="searchCostdetail6Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
        <action name="date" class="cn.edu.hbcf.action.CostdetailAction" >
			<result name="queryCostdetailByDateOK" >
				/houtai/costdetail/costdetail_6.jsp
			</result>
			<result name="queryCostdetailByDateFail">
				/houtai/serchFail.jsp
			</result>
		</action>
	<!--模糊查询病人姓名  -->
		 	<action name="searchDetail" class="cn.edu.hbcf.action.CostdetailAction" method="searchDetail">
			
		</action>

			<!-- ********************对药品管理进行的操作**************************-->
	  <!--按药品代号查询药品的信息  -->
	  	<action name="medicine1" class="cn.edu.hbcf.action.MedicineAction" method="medicine1">
			<result name="searchMedicine1OK">
				/houtai/medicine/medicine1.jsp
			</result>
			<result name="searchMedicine1Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<action name="mednum" class="cn.edu.hbcf.action.MedicineAction" >
			<result name="queryMedicineByMnumOK" >
				/houtai/medicine/medicine_1.jsp
			</result>
			<result name="queryCostdetailByMnumFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		 <!--按药品名称查询药品的信息  -->
	  	<action name="medicine2" class="cn.edu.hbcf.action.MedicineAction" method="medicine2">
			<result name="searchMedicine2OK">
				/houtai/medicine/medicine2.jsp
			</result>
			<result name="searchMedicine2Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<action name="medname" class="cn.edu.hbcf.action.MedicineAction" >
			<result name="queryMedicineByMnameOK" >
				/houtai/medicine/medicine_2.jsp
			</result>
			<result name="queryCostdetailByMnameFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		
		<!--用药统计  -->
	  	
		<action name="medicinedate" class="cn.edu.hbcf.action.MedicineAction" >
			<result name="queryMedrecorByDateOK" >
				/houtai/medicine/medicine_4.jsp
			</result>
			<result name="queryMedrecorByDateFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		 <!--用药记录查询  -->
	  	<action name="medicine3" class="cn.edu.hbcf.action.MedicineAction" method="medicine3">
			<result name="searchMedrecordOK">
				/houtai/medicine/medicine_3.jsp
			</result>
			<result name="searchMedrecordFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据住院编号查询病人用药记录  -->
		 	<action name="searchMedrecordByPnum" class="cn.edu.hbcf.action.MedicineAction">
			<result name="queryByPnumOK" type="chain">
				medicine3
			</result>
			<result name="queryByPnumFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据病人编号查询第一条用药记录信息所在的位置  -->
		<action name="searchMedFirst" class="cn.edu.hbcf.action.MedicineAction">
			<result name="searchMedFirstOK" type="chain">
				medicine3
			</result>
			<result name="searchMedFirstFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据住院编号查询最后一条用药记录所在的位置  -->
		<action name="searchMedLast" class="cn.edu.hbcf.action.MedicineAction">
			<result name="searchMedLastOK" type="chain">
				medicine3
			</result>
			<result name="searchMedLastFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据住院编号查询上一条用药记录信息所在的位置  -->
		<action name="searchMedPre" class="cn.edu.hbcf.action.MedicineAction">
			<result name="searchMedPreOK" type="chain">
				medicine3
			</result>
			<result name="searchMedPreFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据住院编号查询下一条用药记录信息所在的位置  -->
		<action name="searchMedNext" class="cn.edu.hbcf.action.MedicineAction">
			<result name="searchMedNextOK" type="chain">
				medicine3
			</result>
			<result name="searchMedNextFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--清空已有的用药记录的信息-->
		<action name="clearMedInformation" class="cn.edu.hbcf.action.MedicineAction">
			<result name="clearMedOK" type="chain">
					medicine3
			</result>
		</action>
		<!--自动查找住院编号  -->
		<action name="addNextMedPnum" class="cn.edu.hbcf.action.MedicineAction">
			<result name="addNextMedPnumOK" type="chain">
				medicine3
			</result>
		</action>
		<!--添加病人用药记录信息  -->
		<action name="addmedrecord" class="cn.edu.hbcf.action.MedicineAction">
			<result name="addmedrecordOK" type="chain">
				medicine3
			</result>
			<result name="addmedrecordFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--删除用药记录信息  -->
		<action name="delMedrecord" class="cn.edu.hbcf.action.MedicineAction">
			<result name="delMedrecordOK" type="chain">
				medicine3
			</result>
			<result name="delMedrecordFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		
		<!-- ********************对系统维护进行的操作**************************-->
	   <!--查询全部经办人信息  -->
	  	<action name="system2" class="cn.edu.hbcf.action.SystemAction" method="system2">
			<result name="searchSystem2OK">
				/houtai/system/system_2.jsp
			</result>
			<result name="searchSystem2Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--查询经办人信息——按姓名  -->
		 	<action name="searchSystem2ByPnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="querySystem2ByPnumOK" type="chain">
				system2
			</result>
			<result name="querySystem2ByPnumFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--查询全部住院费用信息  -->
	  	<action name="system1" class="cn.edu.hbcf.action.SystemAction" method="system1">
			<result name="searchSystem1OK">
				/houtai/system/system_1.jsp
			</result>
			<result name="searchSystem1Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据费用编号查询住院费用信息  -->
		 	<action name="searchSystemByNum" class="cn.edu.hbcf.action.SystemAction">
			<result name="querySystemByNumOK" type="chain">
				system1
			</result>
			<result name="querySystenByNumFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		
		<!--查询全部医师信息  -->
	  	<action name="system3" class="cn.edu.hbcf.action.SystemAction" method="system3">
			<result name="searchSystem3OK">
				/houtai/system/system_3.jsp
			</result>
			<result name="searchSystem3Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据医师编号查询医师信息  -->
		 	<action name="searchDoctorByDnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="queryDoctorByDnumOK" type="chain">
				system3
			</result>
			<result name="queryDoctorByDnumFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--查询全部科室信息  -->
	  	<action name="system4" class="cn.edu.hbcf.action.SystemAction" method="system4">
			<result name="searchSystem4OK">
				/houtai/system/system_4.jsp
			</result>
			<result name="searchSystem4Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据部门编号查询科室信息  -->
		 	<action name="searchSystem4ByOffnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="querySystem4ByOffnumOK" type="chain">
				system4
			</result>
			<result name="querySystem4ByOffnumFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--查询全部床位类别信息  -->
	  	<action name="system5" class="cn.edu.hbcf.action.SystemAction" method="system5">
			<result name="searchSystem5OK">
				/houtai/system/system_5.jsp
			</result>
			<result name="searchSystem5Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据床位号查询科室信息  -->
		 	<action name="searchSystem5ByBnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="querySystem5ByBnumOK" type="chain">
				system5
			</result>
			<result name="querySystem5ByBnumFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--查询全部病房管理信息  -->
	  	<action name="system6" class="cn.edu.hbcf.action.SystemAction" method="system6">
			<result name="searchSystem6OK">
				/houtai/system/system_6.jsp
			</result>
			<result name="searchSystem6Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据病房号查询病房信息  -->
		 	<action name="searchSystem6ByRoomnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="querySystem6ByRoomnumOK" type="chain">
				system6
			</result>
			<result name="querySystem6ByRoomnumFail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据编号查询第一条信息所在的位置  -->
		<action name="searchPlaceFir7" class="cn.edu.hbcf.action.SystemAction">
		    <result name="searchPlaceFir2OK" type="chain">
				system2
			</result>
			<result name="searchPlaceFir2Fail">
				/houtai/serchFail.jsp
			</result>
		    <result name="searchPlaceFir3OK" type="chain">
				system3
			</result>
			<result name="searchPlaceFir3Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceFir4OK" type="chain">
				system4
			</result>
			<result name="searchPlaceFir4Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceFir5OK" type="chain">
				system5
			</result>
			<result name="searchPlaceFir5Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceFir6OK" type="chain">
				system6
			</result>
			<result name="searchPlaceFir6Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据住院编号查询上一条信息所在的位置  -->
		<action name="searchPlacePre7" class="cn.edu.hbcf.action.SystemAction">
			<result name="searchPlace2OK" type="chain">
				system2
			</result>
			<result name="searchPlace2Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlace3OK" type="chain">
				system3
			</result>
			<result name="searchPlace3Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlace4OK" type="chain">
				system4
			</result>
			<result name="searchPlace4Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlace5OK" type="chain">
				system5
			</result>
			<result name="searchPlace5Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlace6OK" type="chain">
				system6
			</result>
			<result name="searchPlace6Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据住院编号查询下一条信息所在的位置  -->
		<action name="searchPlaceNext7" class="cn.edu.hbcf.action.SystemAction">
		    <result name="searchPlaceNext2OK" type="chain">
				system2
			</result>
			<result name="searchPlaceNext2Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceNext3OK" type="chain">
				system3
			</result>
			<result name="searchPlaceNext3Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceNext4OK" type="chain">
				system4
			</result>
			<result name="searchPlaceNext4Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceNext5OK" type="chain">
				system5
			</result>
			<result name="searchPlaceNext5Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceNext6OK" type="chain">
				system6
			</result>
			<result name="searchPlaceNext6Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据住院编号查询最后一条信息所在的位置  -->
		<action name="searchPlaceLast7" class="cn.edu.hbcf.action.SystemAction">
			<result name="searchPlaceLast2OK" type="chain">
				system2
			</result>
			<result name="searchPlaceLast2Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceLast3OK" type="chain">
				system3
			</result>
			<result name="searchPlaceLast3Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceLast4OK" type="chain">
				system4
			</result>
			<result name="searchPlaceLast4Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceLast5OK" type="chain">
				system5
			</result>
			<result name="searchPlaceLast5Fail">
				/houtai/serchFail.jsp
			</result>
			<result name="searchPlaceLast6OK" type="chain">
				system6
			</result>
			<result name="searchPlaceLast6Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--清空已有信息-->
		<action name="clearInformation7" class="cn.edu.hbcf.action.SystemAction">
		    <result name="clear3OK" type="chain">
					system3
			</result>
			<result name="clear5OK" type="chain">
					system5
			</result>
			<result name="clear6OK" type="chain">
					system6
			</result>
		</action>
		<!--清空科室中已有信息-->
		<action name="clearofficeInformation" class="cn.edu.hbcf.action.SystemAction">
			<result name="clear4OK" type="chain">
					system4
			</result>
		</action>
		<!--删除住院收费信息  -->
		<action name="delSystem" class="cn.edu.hbcf.action.SystemAction">
			<result name="delSystem3OK" type="chain">
				system3
			</result>
			<result name="delSystem3Fail">
				/houtai/delFail.jsp
		    </result>
			<result name="delSystem4OK" type="chain">
				system4
			</result>
			<result name="delSystemFail">
				/houtai/delFail.jsp
			</result>
			<result name="delSystem5OK" type="chain">
				system5
			</result>
			<result name="delSystem5Fail">
				/houtai/delFail.jsp
			</result>
			<result name="delSystem6OK" type="chain">
				system6
			</result>
			<result name="delSystem6Fail">
				/houtai/delFail.jsp
			</result>
		</action>
		<!--添加医师信息  -->
		<action name="addSystem3" class="cn.edu.hbcf.action.SystemAction">
			<result name="addSystem3OK" type="chain">
				system3
			</result>
			<result name="addSystem3Fail">
				/houtai/addFail.jsp
			</result>
		</action>
		<!--添加科室信息  -->
		<action name="addSystem4" class="cn.edu.hbcf.action.SystemAction">
			<result name="addSystem4OK" type="chain">
				system4
			</result>
			<result name="addSystem4Fail">
				/houtai/addFail.jsp
			</result>
		</action>
		<!--添加床位信息  -->
		<action name="addSystem5" class="cn.edu.hbcf.action.SystemAction">
			<result name="addSystem5OK" type="chain">
				system5
			</result>
			<result name="addSystem5Fail">
				/houtai/addFail.jsp
			</result>
		</action>
		<!--添加病房信息  -->
		<action name="addSystem6" class="cn.edu.hbcf.action.SystemAction">
			<result name="addSystem6OK" type="chain">
				system6
			</result>
			<result name="addSystem6Fail">
				/houtai/addFail.jsp
			</result>
		</action>
		<!--自动查找住院编号  -->
		<action name="addNextOffnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="addNextOffnumOK" type="chain">
				system4
			</result>
		</action>
		<!--自动查找床位号  -->
		<action name="addNextBnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="addNextBnumOK" type="chain">
				system5
			</result>
		</action>
		<!--自动查找病房号  -->
		<action name="addNextRoomnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="addNextRoomnumOK" type="chain">
				system6
			</result>
		</action>
		<!--自动查找医师编号  -->
		<action name="addNextDnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="addNextDnumOK" type="chain">
				system3
			</result>
		</action>
		
	   <!-- **************************费用信息**************************-->
	  <!--查询全部住院费用信息  -->
	  	<!--<action name="system1" class="cn.edu.hbcf.action.SystemAction" method="system1">
			<result name="searchSystem1OK">
				/houtai/system/system_1.jsp
			</result>
			<result name="searchSystem1Fail">
				/houtai/serchFail.jsp
			</result>
		</action>-->
		<!--根据费用编号查询住院费用信息  -->
		 	<action name="searchSystemByCnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="queryByCnumOK" type="chain">
				system1
			</result>
			<result name="queryByCnumFail">
				/houtai/serchFail.jsp
			</result>
		    </action>
		 <!--根据费用编号查询第一条信息所在的位置  -->
		<action name="searchCostPlaceFir" class="cn.edu.hbcf.action.SystemAction">
			<result name="searchPlaceFir1OK" type="chain">
				system1
			</result>
			<result name="searchPlaceFirF1ail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--根据费用编号查询上一条信息所在的位置  -->
		<action name="searchCostPlacePre" class="cn.edu.hbcf.action.SystemAction">
			<result name="searchPlace1OK" type="chain">
				system1
			</result>
			<result name="searchPlace1Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
	   <!--根据费用编号查询下一条信息所在的位置  -->
		<action name="searchCostPlaceNext" class="cn.edu.hbcf.action.SystemAction">
			<result name="searchPlaceNext1OK" type="chain">
				system1
			</result>
			<result name="searchPlaceNext1Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
	   <!--根据费用编号查询最后一条信息所在的位置  -->
		<action name="searchCostPlaceLast" class="cn.edu.hbcf.action.SystemAction">
			<result name="searchPlaceLast1OK" type="chain">
				system1
			</result>
			<result name="searchPlaceLast1Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		<!--清空已有信息-->
		<action name="clearCostInformation" class="cn.edu.hbcf.action.SystemAction">
			<result name="clear1OK" type="chain">
					system1
			</result>
		</action>
	   <!--添加费用信息  -->
		<action name="addSystem1" class="cn.edu.hbcf.action.SystemAction">
			<result name="addSystem1OK" type="chain">
				system1
			</result>
			<result name="addSystem1Fail">
				/houtai/addFail.jsp
			</result>
		</action>
		<!--删除费用信息  -->
		<action name="delSystem1" class="cn.edu.hbcf.action.SystemAction">
			<result name="delSystem1OK" type="chain">
				system1
			</result>
			<result name="delSystem1Fail">
				/houtai/delFail.jsp
			</result>
		</action>
		<!--自动查找费用编号  -->
		<action name="addNextCbnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="addNextCbnumOK" type="chain">
				system1
			</result>
		</action>
		
	  <!-- **************************经办人信息**************************-->
	   <!--查询全部经办人信息  -->
	  	<!--<action name="system2" class="cn.edu.hbcf.action.SystemAction" method="system2">
			<result name="searchSystem2OK">
				/houtai/system/system_2.jsp
			</result>
			<result name="searchSystem2Fail">
				/houtai/serchFail.jsp
			</result>
		</action>
		  -->
		<!--根据编号查询经办人信息  -->
		 	<action name="searchSystemByHnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="querySystemByHnumOK" type="chain">
				system2
			</result>
			<result name="querySystemByHnumFail">
				/houtai/serchFail.jsp
			</result>
		</action>

		<!--删除经办人信息  -->
		<action name="delSystem2" class="cn.edu.hbcf.action.SystemAction">
			<result name="delSystem2OK" type="chain">
				system2
			</result>
			<result name="delSystem2Fail">
				/houtai/delFail.jsp
			</result>
		</action>
		<!--清空已有信息-->
		<action name="clearHandInformation" class="cn.edu.hbcf.action.SystemAction">
			<result name="clear2OK" type="chain">
					system2
			</result>
		</action>
		 <!--添加经办人信息  -->
		<action name="addSystem2" class="cn.edu.hbcf.action.SystemAction">
			<result name="addSystem2OK" type="chain">
				system2
			</result>
			<result name="addSystem2Fail">
				/houtai/addFail.jsp
			</result>
		</action>
		<!--自动查找经办人编号  -->
		<action name="addNextHnum" class="cn.edu.hbcf.action.SystemAction">
			<result name="addNextHnumOK" type="chain">
				system2
			</result>
		</action>
	</package>

</struts>


举报
凌风羽化
发帖于4年前 8回/340阅
共有8个答案 最后回答: 4年前
右键项目,点击properties,然后找到myeclipse项下的web,看一下Web Content-root的值跟项目名称是否一样,这个值才是路径里要用到的。把你地址栏输入的工程名换成这个值试试。
--- 共有 2 条评论 ---
凌风羽化已经解决了,谢谢! 4年前 回复
凌风羽化谢谢了,是web context root的原因。我替换后,能够找出错误了。 4年前 回复

引用来自“纠结名字”的答案

右键项目,点击properties,然后找到myeclipse项下的web,看一下Web Content-root的值跟项目名称是否一样,这个值才是路径里要用到的。把你地址栏输入的工程名换成这个值试试。

不知道,为什么会出现这个情况。希望能够给解释一下,能够换回工程名吗?还有替换后,报错说filter不够新,希望能帮助解决。下面给出报错和我的filter配置。             

           WARNING!!!  *                                                                     *

* >>> FilterDispatcher <<< is deprecated! Please use the new filters! *
*                                                                     *
*           This can be a source of unpredictable problems!           *
*                                                                     *
*              Please refer to the docs for more details!             *
*            http://struts.apache.org/2.x/docs/webxml.html            *
*                                                                     *

***********************************************************************

 <filter>
  <filter-name>struts2</filter-name>
  <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
  </filter>
  
  <filter-mapping>
  <filter-name>struts2</filter-name>
  <url-pattern>/*</url-pattern>
  </filter-mapping>
 <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>

--- 共有 1 条评论 ---
凌风羽化解决了,fileter配置时没注意,弄错了。谢谢啦! 4年前 回复
顶部