• 大小: 5.00M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-28
  • 语言: Java
  • 标签: 数据库  MySql  sql  js  源码  

资源简介

JSP企业快信源码使用SSH框架,mysql数据库,导入sql文件,修改connDB.properties文件。 tomcat部署     后,访问http://localhost:8080/ExpressLetter

代码片段和文件信息

package com.wgh.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.*;

import com.wgh.actionForm.CustomerForm;
import com.wgh.core.ChStr;
import com.wgh.dao.CustomerDAO;

public class Customer extends Action{
    private CustomerDAO customerDAO = null;
    private ChStr chStr=new ChStr();
    public Customer() {
        this.customerDAO = new CustomerDAO();
    }
public ActionForward execute(ActionMapping mappingActionForm formHttpServletRequest requestHttpServletResponse response){
        String action = request.getParameter(“action“);
        System.out.println(“获取的查询字符串:“ + action);
        if (action == null || ““.equals(action)) {
         request.setAttribute(“error““您的操作有误!“

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        2285  2019-05-17 10:55  .classpath
     文件        1046  2013-07-02 20:30  .project
     文件         619  2019-05-23 12:00  readme- .txt
     目录           0  2019-05-17 10:53  .settings\
     文件         503  2013-07-02 20:30  .settings\.jsdtscope
     文件         670  2019-05-17 10:56  .settings\org.eclipse.jdt.core.prefs
     文件         469  2013-07-02 20:30  .settings\org.eclipse.wst.common.component
     文件         345  2013-07-02 20:30  .settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2013-07-02 20:30  .settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2013-07-02 20:30  .settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2019-05-17 10:53  build\
     目录           0  2019-05-17 10:56  build\classes\
     目录           0  2019-05-17 11:05  build\classes\com\
     文件         117  2019-05-17 11:05  build\classes\com\connDB.properties
     目录           0  2019-05-17 10:56  build\classes\com\wgh\
     目录           0  2019-05-17 10:56  build\classes\com\wgh\action\
     文件        4144  2019-05-17 10:56  build\classes\com\wgh\action\Customer.class
     文件        3242  2019-05-17 10:56  build\classes\com\wgh\action\InfoType.class
     文件        4833  2019-05-17 10:56  build\classes\com\wgh\action\Manager.class
     文件        2530  2019-05-17 10:56  build\classes\com\wgh\action\Parameter.class
     文件        4215  2019-05-17 10:56  build\classes\com\wgh\action\Personnel.class
     文件        3687  2019-05-17 10:56  build\classes\com\wgh\action\SendLetter.class
     文件        3102  2019-05-17 10:56  build\classes\com\wgh\action\SendMail.class
     文件        4400  2019-05-17 10:56  build\classes\com\wgh\action\ShortInfo.class
     目录           0  2019-05-17 10:56  build\classes\com\wgh\actionForm\
     文件        2286  2019-05-17 10:56  build\classes\com\wgh\actionForm\CustomerForm.class
     文件         761  2019-05-17 10:56  build\classes\com\wgh\actionForm\InfoTypeForm.class
     文件        1139  2019-05-17 10:56  build\classes\com\wgh\actionForm\ManagerForm.class
     文件        1128  2019-05-17 10:56  build\classes\com\wgh\actionForm\ParameterForm.class
     文件        2345  2019-05-17 10:56  build\classes\com\wgh\actionForm\PersonnelForm.class
     文件        1408  2019-05-17 10:56  build\classes\com\wgh\actionForm\SendLetterForm.class
............此处省略149个文件信息

评论

共有 条评论