0. <?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> <con…
1. <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/…
1. 2.back_index.html <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=gbk"> <TITLE>报价管理系统</TITLE> </HEAD> <FRAMESET cols = "130,*" frameborder=yes bordercolor=sil…
1. <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/…
1. package com.sanqing.service; import com.sanqing.dao.DAO; import com.sanqing.po.Customer; /** * 客户业务接口 */ public interface CustomerService extends DAO<Customer> { } 2. package com.sanqing.service; import com.sanqing.dao.DAO; import com.sanqing.po.…
1. package com.sanqing.dao; import java.io.Serializable; import java.util.LinkedHashMap; import com.sanqing.util.QueryResult; public interface DAO<T> { public long getCount();//获得记录总数 public void clear();//清除一级缓存的数据 public void save(Object entity);/…
1.项目结构 2.数据库设计 # MySQL-Front 5.0 (Build 1.0) /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE */; /*!40101 SET SQL_MODE='STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES */; /*!40103 SET SQL_NOTES='ON'…
0.login.jsp <%@ page language="java" import="java.util.*" pageEncoding="gbk"%> <%@ taglib prefix="s" uri="/struts-tags"%> <html> <head> <title>教师(学生)登录页面</title> <sty…
1.showAllArticle.jsp <%@ page language="java" contentType="text/html; charset=gb2312" pageEncoding="gb2312"%> <%@taglib uri="/struts-tags" prefix="s"%> <!DOCTYPE html PUBLIC "-//W3C//DT…