我的配置文件是
<!-- ========== Form Bean Definitions ================================== -->
<form-beans>
<form-bean name="logonForm" type="cn.com.boa.logon.LogonInfoForm" />
<form-bean name="patientInfoListForm" type="cn.com.boa.patientinfo.form.PatientInfoListForm" />
<form-bean name="patientInfoEditForm" type="cn.com.boa.patientinfo.form.PatientInfoEditForm" />
</form-beans><action-mappings>
<!-- for logon start -->
<action path="/logon"
name="logonForm"
scope="session"
validate="false"
type="cn.com.boa.logon.LogonAction">
<forward name="success" path ="/jsp/patientinfo/patient_baseinfo_lst.jsp" />
<forward name="failure" path ="/logon.jsp"/>
</action> </action-mappings>本人在LogonAction中加断点跟踪mapping看到了forwards中有路径="/jsp/patientinfo/patient_baseinfo_lst.jsp 啊
请问高手这可能是那里的问题啊?
<!-- ========== Form Bean Definitions ================================== -->
<form-beans>
<form-bean name="logonForm" type="cn.com.boa.logon.LogonInfoForm" />
<form-bean name="patientInfoListForm" type="cn.com.boa.patientinfo.form.PatientInfoListForm" />
<form-bean name="patientInfoEditForm" type="cn.com.boa.patientinfo.form.PatientInfoEditForm" />
</form-beans><action-mappings>
<!-- for logon start -->
<action path="/logon"
name="logonForm"
scope="session"
validate="false"
type="cn.com.boa.logon.LogonAction">
<forward name="success" path ="/jsp/patientinfo/patient_baseinfo_lst.jsp" />
<forward name="failure" path ="/logon.jsp"/>
</action> </action-mappings>本人在LogonAction中加断点跟踪mapping看到了forwards中有路径="/jsp/patientinfo/patient_baseinfo_lst.jsp 啊
请问高手这可能是那里的问题啊?
解决方案 »
- jxls 如何导出图片到 excel 中
- ecside组件更新保存数据问题??????????????????????
- 我刚学习JSP不知道怎么学?
- 正则表达式的一个问题?
- 导入包类库的问题,提示不能解析:import org.apache.struts.action.ActionMessage;
- 数据表关联问题
- win2003下iis和resin的整合!!!!!
- 好不容易把sql语句写出来,不知道用hibernate的hql语句怎么写
- 再次拯救生命!!之续 Weblogic7如何用Beans ???
- 求助 TextPage cannot be cast to HtmlPage
- NetBeans5做JSF的例子
- 请问ireport+jasperrepor能够做oracle数据库的报表吗?
第一次陪好时候是能够使用的阿
我把我整个的配置文件写下来:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "dtds/struts-config_1_1.dtd">
<struts-config> <!-- ========== Data Source Configuration =============================== -->
<data-sources>
<!-- DataBase Setting for Oracle 8i start -->
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName" value="com.microsoft.jdbc.sqlserver.SQLServerDriver" />
<set-property property="url" value="jdbc:microsoft:sqlserver://127.0.0.1:1433;ServerName=IBMER\HOSPITAL;DatabaseName=Hospital" />
<set-property property="username" value="sa"/>
<set-property property="password" value="1"/>
<set-property property="maxActive" value="5" />
<set-property property="maxWait" value="5000" />
<set-property property="defaultAutoCommit" value="false" />
<set-property property="defaultReadOnly" value="false" />
</data-source>
</data-sources>
<!-- ========== Form Bean Definitions ================================== -->
<form-beans>
<form-bean name="logonForm" type="cn.com.boa.logon.LogonInfoForm" />
<form-bean name="patientInfoListForm" type="cn.com.boa.patientinfo.form.PatientInfoListForm" />
<form-bean name="patientInfoEditForm" type="cn.com.boa.patientinfo.form.PatientInfoEditForm" />
</form-beans>
<!-- ========== Global Exception Definitions ============================== -->
<global-exceptions />
<!-- ========== Global Forward Definitions =============================== -->
<global-forwards/>
<!-- ========== Action Mapping Definitions =============================== -->
<action-mappings>
<!-- for logon start -->
<action path="/logon"
name="logonForm"
scope="session"
validate="false"
type="cn.com.boa.logon.LogonAction">
<forward name="success" path ="/jsp/patientinfo/patient_baseinfo_lst.jsp" />
<forward name="failure" path ="/logon.jsp"/>
</action>
<action path="/patientInfoInit"
name="patientInfoListForm"
attribute="patientInfoListForm"
scope="session"
validate="false"
type="cn.com.boa.patientinfo.action.PatientInfoInitAction">
<forward name="success" path ="/jsp/patientinfo/patient_baseinfo_lst.jsp" contextRelative="true"/>
<forward name="failure" path ="/jsp/patientinfo/patient_baseinfo_lst.jsp" contextRelative="true"/>
</action>
<action path="/patientInfoSearch"
name="patientInfoListForm"
attribute="patientInfoListForm"
scope="session"
validate="false"
input="/../jsp/patientinfo/patient_baseinfo_lst.jsp"
type="cn.com.boa.patientinfo.action.PatientInfoSearchAction">
<forward name="success" path ="/jsp/patientinfo/patient_baseinfo_lst.jsp" contextRelative="true"/>
<forward name="failure" path ="/jsp/patientinfo/patient_baseinfo_lst.jsp" contextRelative="true"/>
</action>
<action path="/patientInfoDelete"
name="patientInfoListForm"
attribute="patientInfoListForm"
scope="session"
validate="false"
type="cn.com.boa.patientinfo.action.PatientInfoDeleteAction">
<forward name="success" path ="/patientInfoSearch.do" />
<forward name="failure" path ="/jsp/patientinfo/patient_baseinfo_lst.jsp" contextRelative="true"/>
</action>
<action path="/patientInfoCreate"
name="patientInfoEditForm"
attribute="patientInfoEditForm"
scope="session"
validate="false"
type="cn.com.boa.patientinfo.action.PatientInfoDeleteAction">
<forward name="success" path ="/jsp/patientinfo/patient_baseInfo_add.jsp" contextRelative="true"/>
<forward name="failure" path ="/jsp/patientinfo/patient_baseInfo_add.jsp" contextRelative="true"/>
</action>
<action path="/patientInfoInsert"
name="patientInfoEditForm"
attribute="patientInfoEditForm"
scope="session"
validate="false"
type="cn.com.boa.patientinfo.action.PatientInfoDeleteAction">
<forward name="success" path ="/patientInfoSearch.do" />
<forward name="failure" path ="/jsp/patientinfo/patient_baseInfo_add.jsp" contextRelative="true"/>
</action>
<action path="/patientInfoGetDetail"
name="patientInfoEditForm"
attribute="patientInfoEditForm"
scope="session"
validate="false"
type="cn.com.boa.patientinfo.action.PatientInfoGetDetailAction">
<forward name="success" path ="/jsp/patientinfo/patient_baseInfo_add.jsp" contextRelative="true"/>
<forward name="failure" path ="/jsp/patientinfo/patient_baseinfo_lst.jsp" contextRelative="true"/>
</action>
<action path="/patientInfoUpdate"
name="patientInfoEditForm"
attribute="patientInfoEditForm"
scope="session"
validate="false"
type="cn.com.boa.patientinfo.action.PatientInfoUpdateAction">
<forward name="success" path ="/patientInfoSearch.do" />
<forward name="failure" path ="/jsp/patientinfo/patient_baseInfo_add.jsp" contextRelative="true"/>
</action>
</action-mappings> <!-- ========== Message Resources Definitions ============================ -->
<message-resources parameter="ApplicationResources"/>
<plug-in className="cn.com.boa.db.SQLConfigPlugIn">
<set-property property="dbType" value="SqlServer"/>
<set-property property="fileKeys" value="hospital" />
<set-property property="filePaths" value="/WEB-INF/sql/sql-hospital-sqlserver.xml"/>
</plug-in>
<plug-in className="cn.com.boa.utility.OutputLogPlugin">
<set-property property="logSettingFile"
value="/WEB-INF/LogSetting.xml"/>
</plug-in>
</struts-config>
帮忙看一看
请问有没有可能是缺少解析jsp文件的包呢?
jasper-compiler.jar和jasper-runtime.jar在tomcat的lib目录中存在!