• 基于javaweb+mysql的SSH校园二手交易平台


    基于javaweb+mysql的SSH校园二手交易平台

    运行环境

    Java≥8、MySQL≥5.7、Tomcat≥8

    开发工具

    eclipse/idea/myeclipse/sts等均可配置运行

    适用

    课程设计,大作业,毕业设计,项目练习,学习演示等

    功能说明

    后台管理员:管理各种信息

    用户:购买和发布商品,留言,求购等

    前台

    后台

    技术框架

    JSP JavaScript jquery bootstrap Spring Struts2 Hibernate


    请添加图片描述

    							<ul class="dropdown-menu multi-column columns-3">
    								<div class="row">
    									<div class="col-sm-4">
    										<h4>By Relationh4>
    										<ul class="multi-column-dropdown">
    											<li><a class="list" href="products.html">Frienda>li>
    											<li><a class="list" href="products.html">Lovera>li>
    											<li><a class="list" href="products.html">Sistera>li>
    											<li><a class="list" href="products.html">Brothera>li>
    											<li><a class="list" href="products.html">Kidsa>li>
    											<li><a class="list" href="products.html">Parentsa>li>
    										ul>
    									div>																		
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
       			d146.id="52"; d146.pId="7"; d146.code="130700"; d146.name="对公交易业务"; d146.state="0";
       			demoDataMap.put(d146.id, d146);
       			DemoObj d147 = new DemoObj();
       			d147.id="239"; d147.pId="52"; d147.code="130701"; d147.name="对公结售汇"; d147.state="0";
       			demoDataMap.put(d147.id, d147);
       			DemoObj d148 = new DemoObj();
       			d148.id="240"; d148.pId="52"; d148.code="130702"; d148.name="其它对公外汇买卖"; d148.state="0";
       			demoDataMap.put(d148.id, d148);
       			DemoObj d149 = new DemoObj();
       			d149.id="241"; d149.pId="52"; d149.code="130703"; d149.name="商品(对公)-黄金"; d149.state="0";
       			demoDataMap.put(d149.id, d149);
       			DemoObj d150 = new DemoObj();
       			d150.id="242"; d150.pId="52"; d150.code="130704"; d150.name="对公衍生交易-期权"; d150.state="0";
       			demoDataMap.put(d150.id, d150);
       			DemoObj d151 = new DemoObj();
       			d151.id="243"; d151.pId="52"; d151.code="130705"; d151.name="对公衍生交易-利率掉期"; d151.state="0";
       			demoDataMap.put(d151.id, d151);
       			DemoObj d152 = new DemoObj();
       			d152.id="53"; d152.pId="7"; d152.code="130900"; d152.name="对公担保业务"; d152.state="0";
       			demoDataMap.put(d152.id, d152);
       			DemoObj d153 = new DemoObj();
       			d153.id="244"; d153.pId="53"; d153.code="130901"; d153.name="对公担保业务"; d153.state="0";
       			demoDataMap.put(d153.id, d153);
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    	}
    	public String getGid() {
    		return gid;
    	}
    	public void setGid(String gid) {
    		this.gid = gid;
    	}
    	public String getMid() {
    		return mid;
    	}
    	public void setMid(String mid) {
    		this.mid = mid;
    	}
    	public Integer getSl() {
    		return sl;
    	}
    	public void setSl(Integer sl) {
    		this.sl = sl;
    	}
    	public String getSuc() {
    		return suc;
    	}
    	public void setSuc(String suc) {
    		this.suc = suc;
    	}
    	public String getNo() {
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    										<ul class="multi-column-dropdown">
    											<li><a class="list" href="products.html">1 kGa>li>
    											<li><a class="list" href="products.html">1.5 kGa>li>
    											<li><a class="list" href="products.html">2 kGa>li>
    											<li><a class="list" href="products.html">3 kGa>li>
    											<li><a class="list" href="products.html">4 kGa>li>
    											<li><a class="list" href="products.html">Largea>li>
    										ul>
    									div>
    								div>
    							ul>
    						li>
    						<li class="dropdown grid">
    							<a href="#" class="dropdown-toggle list1" data-toggle="dropdown">Store<b class="caret">b>a>
    							<ul class="dropdown-menu multi-column columns-3">
    								<div class="row">
    									<div class="col-sm-4">
    										<h4>By Relationh4>
    										<ul class="multi-column-dropdown">
    											<li><a class="list" href="products.html">Frienda>li>
    											<li><a class="list" href="products.html">Lovera>li>
    											<li><a class="list" href="products.html">Sistera>li>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
          <li><i class="icon-circle-arrow-left">i> icon-circle-arrow-leftli>
          <li><i class="icon-circle-arrow-right">i> icon-circle-arrow-rightli>
          <li><i class="icon-circle-arrow-up">i> icon-circle-arrow-upli>
          <li><i class="icon-cloud">i> icon-cloudli>
          <li><i class="icon-columns">i> icon-columnsli>
        ul>
      div>
    
      <div class="span3">
        <ul class="the-icons">
          <li><i class="icon-comment-alt">i> icon-comment-altli>
          <li><i class="icon-comments-alt">i> icon-comments-altli>
          <li><i class="icon-copy">i> icon-copyli>
          <li><i class="icon-credit-card">i> icon-credit-cardli>
          <li><i class="icon-cut">i> icon-cutli>
          <li><i class="icon-dashboard">i> icon-dashboardli>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    	public String getUpFileContentType() {
    		return upFileContentType;
    	}
    	public void setUpFileContentType(String upFileContentType) {
    		this.upFileContentType = upFileContentType;
    	}
    	public String getUpFileFileName() {
    		return upFileFileName;
    	}
    	public void setUpFileFileName(String upFileFileName) {
    		this.upFileFileName = upFileFileName;
    	}
    	
    	
    	
    	
    }
    
    
    package com.util;
    
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
     * 站内资讯功能
     * @author Administrator
     *
     */
    public class GamesAction extends ActionSupport
    {
    	private Integer id;
    	private String title;
    	private String bstime;
    	private String note;
    	private String savetime;
    	private String typeid;
    	String suc;
    	String no;
    	private int index=1;
    	private CommonDAO commonDAO;
    	private File upFile;
    	private String upFileContentType;
    	private String upFileFileName;
    	private static final int FILE_SIZE=16*1024;
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    							<div class="clearfix"> div>
    						div>						
    					div>
    				div>
    				<div class="product-grid">
    					<a href="single.html">
    						<div class="more-product"><span> span>div>						
    						<div class="product-img b-link-stripe b-animate-go  thickbox">
    							<img src="images/m3.png" class="img-responsive" alt=""/>
    							<div class="b-wrapper">
    							<h4 class="b-animate b-from-left  b-delay03">							
    							<button> View button>
    							h4>
    							div>
    						div>
    					a>				
    					<div class="product-info simpleCart_shelfItem">
    						<div class="product-info-cust prt_name">
    							<h4>Product #1h4>								
    							<span class="item_price">$2000.00span>
    							<div class="ofr">
    								<p class="pric1"><del>$2300.00del>p>
    								<p class="disc">[15% Off]p>
    							div>
    							<input type="text" class="item_quantity" value="1" />
    							<input type="button" class="item_add items" value="Add">
    							<div class="clearfix"> div>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
          <li><i class="icon-music">i> icon-musicli>
          <li><i class="icon-off">i> icon-offli>
          <li><i class="icon-ok">i> icon-okli>
          <li><i class="icon-ok-circle">i> icon-ok-circleli>
          <li><i class="icon-ok-sign">i> icon-ok-signli>
          <li><i class="icon-pencil">i> icon-pencilli>
          <li><i class="icon-picture">i> icon-pictureli>
          <li><i class="icon-plane">i> icon-planeli>
          <li><i class="icon-plus">i> icon-plusli>
          <li><i class="icon-plus-sign">i> icon-plus-signli>
          <li><i class="icon-print">i> icon-printli>
          <li><i class="icon-pushpin">i> icon-pushpinli>
          <li><i class="icon-qrcode">i> icon-qrcodeli>
          <li><i class="icon-question-sign">i> icon-question-signli>
          <li><i class="icon-random">i> icon-randomli>
          <li><i class="icon-refresh">i> icon-refreshli>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    	<link href="css/bootstrap.css" type="text/css" rel="stylesheet" media="all">
    	<link href="css/style.css" type="text/css" rel="stylesheet" media="all">
    	
    	<script src="js/jquery.min.js">script>
    	<script type="text/javascript" src="js/bootstrap-3.1.1.min.js">script>
    	<script src="js/imagezoom.js">script>
    	
    	
    	<script src="js/simpleCart.min.js"> script>
    	
    	
    	<script defer src="js/jquery.flexslider.js">script>
    	<link rel="stylesheet" href="css/flexslider.css" type="text/css" media="screen" />
    	
    	<script>
    	// Can also be used with $(document).ready()
    	$(window).load(function() {
    	  $('.flexslider').flexslider({
    		animation: "slide",
    		controlNav: "thumbnails"
    	  });
    	});
    script>
    	
    	
    <link href="css/form.css" rel="stylesheet" type="text/css" media="all" />
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    	/**
    	 * ��byte[]ת��Ϊlong[]
    	 * 
    	 * @param output
    	 * @param input
    	 * @param len
    	 */
    	private void Decode(long[] output, byte[] input, int len) {
    		int i, j;
    
    		for (i = 0, j = 0; j < len; i++, j += 4)
    			output[i] = b2iu(input[j]) | (b2iu(input[j + 1]) << 8)
    					| (b2iu(input[j + 2]) << 16) | (b2iu(input[j + 3]) << 24);
    
    		return;
    	}
    
    	/**
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    <script src="assets/js/tw-bs-201/bootstrap-button.js">script>
    <script src="assets/js/tw-bs-201/bootstrap-collapse.js">script>
    <script src="assets/js/tw-bs-201/bootstrap-carousel.js">script>
    <script src="assets/js/tw-bs-201/bootstrap-typeahead.js">script>
    <script src="assets/js/index/index.js">script>
    
    body>
    html>
    DOCTYPE html>
    <html>
    <head>
    <title>Productstitle>
    
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="" />
    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } script>
    
    <link href="css/bootstrap.css" type="text/css" rel="stylesheet" media="all">
    <link href="css/style.css" type="text/css" rel="stylesheet" media="all">
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    			        		location.href="admin/goodsgl.jsp";
    			        	script>
    		    	div>
    			<%}%>
    				<div class="btn-toolbar">
    					<div class="search-well">
    						<form action="admin/goodsgl.jsp?f=f" method="post" class="form-inline">
    							<input class="input-xlarge" placeholder="商品编号或名称..." id="key" name="key" type="text" value="<%=key %>">
    							<select id="key1" name="key1" onChange="Change_Select()" class="input-xlarge">
    							<option value="">请选择大类option>
    					    		<%
    					    		ArrayList<Protype> fprotypelist = (ArrayList<Protype>)dao.findByHql("from Protype where delstatus='0' and fatherid='0'"); 
    					    		for(Protype fprotype:fprotypelist){%>
    					    		
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    						      <option value="3">3分option>
    						      <option value="2">2分option>
    						      <option value="1">1分option>
    						    select>
    						    <label>label>
    							<input type="text" class="form-control" placeholder="内容 :" name="msg" id="msg" required>
    						div>
    						<input type="submit" value="提交" style="background:#F07818;color:white;border-color: #F07818;border-radius:3px 3px;border:1px solid #F07818">
    					   <div class="clearfix"> div>
    					   form>
          div>
          <%}} %>
    	
    							
    						div>
    					div>
    				div>
    				
    			div>
    		div>
    	div>
    	
    
    	<jsp:include page="foot.jsp">jsp:include>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    	public String getShraddr() {
    		return shraddr;
    	}
    	public void setShraddr(String shraddr) {
    		this.shraddr = shraddr;
    	}
    	public String getSuc() {
    		return suc;
    	}
    	public void setSuc(String suc) {
    		this.suc = suc;
    	}
    	public String getNo() {
    		return no;
    	}
    	public void setNo(String no) {
    		this.no = no;
    	}
    	public int getIndex() {
    		return index;
    	}
    	public void setIndex(int index) {
    		this.index = index;
    	}
    	public CommonDAO getCommonDAO() {
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25

    请添加图片描述
    请添加图片描述
    请添加图片描述
    请添加图片描述
    请添加图片描述
    请添加图片描述
    请添加图片描述
    请添加图片描述
    请添加图片描述
    请添加图片描述
    请添加图片描述
    请添加图片描述

  • 相关阅读:
    微信小程序:超强大微信小程序源码下载内含几十款功能王者战力查询,游戏扫码登录,王者巅峰信息查询等等支持流量主收益和CPS收益
    c++之map使用踩坑
    学生HTML个人网页作业作品 简单的IT技术个人简历模板html下载 简单个人网页设计作业 静态HTML个人博客主页
    【Java中23种面试常考的设计模式之享元模式(Flyweight)---结构型模式】
    【C进阶】内存函数
    Golang 中 map 探究
    宠物行业如何进行私域获客转化
    OBS-VirtualCam OBS的虚拟摄像头插件
    CocosCreator3.8研究笔记(八)CocosCreator 节点和组件的使用
    HTTP/1.1协议的状态码
  • 原文地址:https://blog.csdn.net/m0_68552069/article/details/127741895