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/…
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. 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. 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. <?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.index.jsp <%@ page language="java" import="java.util.*" pageEncoding="gbk"%> <%@ taglib prefix="s" uri="/struts-tags" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN&…
1. package com.sanqing.action; import java.util.UUID; import com.opensymphony.xwork2.ActionSupport; import com.sanqing.bean.Vote; import com.sanqing.bean.VoteOption; import com.sanqing.dao.VoteDAO; import com.sanqing.dao.VoteOptionDAO; import com.san…
1. package com.sanqing.dao; import java.util.List; import com.sanqing.bean.Vote; import com.sanqing.util.Page; public interface VoteDAO { public void addVote(Vote vote); //添加投票 public void updateVote(Vote vote); //更新投票 public void deleteVote(int vote…