毕业论文论文范文课程设计实践报告法律论文英语论文教学论文医学论文农学论文艺术论文行政论文管理论文计算机安全
您现在的位置: 毕业论文 >> 论文 >> 正文

JAVA客户资源管理系统 第9页

更新时间:2010-3-13:  来源:毕业论文
JAVA客户资源管理系统 第9页
系统主要程序:
下面为系统的struts-config.xml配置文件代码:
<?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="loginForm" type="com.lqm.struts.form.LoginForm" />
    <form-bean name="clientForm" type="com.lqm.struts.form.ClientForm" />
    <form-bean name="productsForm" type="com.lqm.struts.form.ProductsForm" />
    <form-bean name="contractForm" type="com.lqm.struts.form.ContractForm" />
  </form-beans>
  <global-exceptions />
  <global-forwards />
  <action-mappings >
    <action
      attribute="loginForm"
      input="/login.jsp"
      name="loginForm"
      parameter="method"
      path="/login"
      scope="request"
      type="org.springframework.web.struts.DelegatingActionProxy">
      <forward name="loginSuccess" path="/index.html" />
      <forward name="loginFail" path="/login.jsp" />
     
      <forward name="addSuccess" path="/jsp/SystemManage/addManagerSucc.jsp"/>
      <forward name="addUserFail" path="/jsp/SystemManage/addUserFail.jsp"/>
      <forward name="selectSystemUser" path="/jsp/SystemManage/selecManager.jsp" />
      <forward name="deletUserSuccess" path="/jsp/SystemManage/deleteUserSuccess.jsp"/>
      <forward name="toUpdateUser" path="/jsp/SystemManage/updateManager.jsp"/>
      <forward name="updateUserSuccess" path="/jsp/SystemManage/updateUserSuccess.jsp"/>
      <forward name="selectSystemUserFail" path="/jsp/SystemManage/selectUserFail.jsp"/>
     
      <forward name="addRoleFail" path="/jsp/SystemManage/addRoleFail.jsp"/>
      <forward name="addRoleSuccess" path="/jsp/SystemManage/addRoleSuccess.jsp"/>
      <forward name="selectAllRole" path="/jsp/SystemManage/selectRole.jsp"/>
      <forward name="deleteRoleFail" path="/jsp/SystemManage/deleteRoleFail.jsp"/>
      <forward name="deleteRoleSuccess" path="/jsp/SystemManage/deleteRoleSuccess.jsp"/>
     
      <forward name="addDeptSucc" path="/jsp/SystemManage/selectDept.jsp" />
      <forward name="addDeptFail" path="/jsp/SystemManage/addDeptFail.html" />
      <forward name="addManager" path="/jsp/SystemManage/addManager.jsp" />
      <forward name="deleteDeptFail" path="/jsp/SystemManage/deleteDeptFail.jsp" />
   <forward name="deleteDeptSuccess" path="/jsp/SystemManage/deleteDeptSuccess.jsp" />
   <forward name="toUpdateDept" path="/jsp/SystemManage/updateDept.jsp" />
   <forward name="updateDeptFail" path="/jsp/SystemManage/updateDeptFail.jsp" />
   <forward name="updateDeptSuccess" path="/jsp/SystemManage/updateDeptSuccess.jsp" />
  
   <forward name="toUpdatePwd" path="/jsp/SystemManage/updatePwd.jsp"/>
   <forward name="updatePwdFail" path="/jsp/SystemManage/updatePwdFail.jsp"/>
   <forward name="updatePwdSuccess" path="/jsp/SystemManage/updatePwdSuccess.jsp"/>
   
    </action>
    <action
      attribute="clientForm"    
      name="clientForm"
      parameter="method"
      path="/client"
      scope="request"
      type="org.springframework.web.struts.DelegatingActionProxy">
      <forward name="saveGradFail" path="/jsp/ClientManage/addRateFail.jsp" />
      <forward name="selectAllGrad" path="/jsp/ClientManage/selectRate.jsp" />
      <forward name="toUpdateGrad" path="/jsp/ClientManage/updateRate.jsp" />
      <forward name="addClient" path="/jsp/ClientManage/addMessage.jsp" />
      <forward name="deleteGradFail" path="/jsp/ClientManage/deleteGradFail.jsp" />
   <forward name="deleteGradSuccess" path="/jsp/ClientManage/deleteGradSuccess.jsp" />
      <forward name="selectAllClient" path="/jsp/ClientManage/basicMessage.jsp" />
      <forward name="selectClient" path="/jsp/ClientManage/basicMessage.jsp" />
      <forward name="particularMessage" path="/jsp/ClientManage/particularMessage.jsp" />
   <forward name="updateClient" path="/jsp/ClientManage/updateMessage.jsp" />
   <forward name="slectClientFail" path="/jsp/ClientManage/selectClientFail.jsp" />
   <forward name="deleteClientSuccess" path="/jsp/ClientManage/deleteClientSuccess.jsp" />
    
     </action>
    <action
      attribute="productsForm"  
      name="productsForm"
      parameter="method"
      path="/products"
      scope="request"
      type="org.springframework.web.struts.DelegatingActionProxy" >
      <forward name="selectAllType" path="/jsp/WareManage/selectType.jsp"/>
      <forward name="toAddType" path="/jsp/WareManage/addType.jsp"/>
      <forward name="addTypeSuccess" path="/jsp/WareManage/addTypeSuccess.jsp"/>
      <forward name="toUpdateType" path="/jsp/WareManage/updateType.jsp"/>
      <forward name="updateTypeSuccess" path="/jsp/WareManage/updateTypeSuccess.jsp"/>
      <forward name="updateTypeFail" path="/jsp/WareManage/updateTypeFail.jsp"/>
      <forward name="fuzzyFindFail" path="/jsp/WareManage/selectProductFail.jsp"/>
      <forward name="toUpdateProduct" path="/jsp/WareManage/updateProducts.jsp"/>
       <forward name="updateProductSuccess" path="/jsp/WareManage/updateProductSuccess.jsp"/>
      <forward name="toAddProduction" path="/jsp/WareManage/addProduction.jsp"/>
      <forward name="selectAllProduction" path="/jsp/WareManage/selectProduction.jsp"/>
      <forward name="deleteProductSuccess" path="/jsp/WareManage/deleteProductSuccess.jsp"/>
      </action>
    <action
      attribute="contractForm"
      name="contractForm"
      parameter="method"
      path="/contract"
      scope="request"
      type="org.springframework.web.struts.DelegatingActionProxy" >
      <forward name="selectAllContract" path="/jsp/Contract/selectBaseContract.jsp" />
      <forward name="toAllContract" path="/jsp/Contract/selectAllContract.jsp"></forward>
      </action>  
  </action-mappings>
  <message-resources parameter="com.lqm.struts.ApplicationResources" />
   <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
  <set-property property="contextConfigLocation"
   value="/WEB-INF/applicationContext-*.xml,classpath*:applicationContext-*.xml" />
 </plug-in>
</struts-config>

下面为客户信息表的映射配置文件:Clientmessage.hbm.xml
<hibernate-mapping>
    <class name="com.lqm.po.Clientmessage" table="clientmessage" catalog="crm">
        <id name="clientId" type="java.lang.Integer">
            <column name="client_id" />
            <generator class="increment" />
        </id>
        <many-to-one name="clientgrad" class="com.lqm.po.Clientgrad" fetch="select">
            <column name="rade_id" />
        </many-to-one>
        <property name="name" type="java.lang.String">
            <column name="name" length="15" not-null="true" />
        </property>
        <property name="sex" type="java.lang.String">
            <column name="sex" length="4" />
        </property>
        <property name="email" type="java.lang.String">
            <column name="email" length="30" />
        </property>
        <property name="telephone" type="java.lang.String">
            <column name="telephone" length="15" />
        </property>
        <property name="address" type="java.lang.String">
            <column name="address" length="200" />

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 下一页

JAVA客户资源管理系统 第9页下载如图片无法显示或论文不完整,请联系qq752018766
设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©751com.cn 辣文论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。