diff --git a/.myhibernatedata b/.myhibernatedata
index 43b3612..8f24698 100644
--- a/.myhibernatedata
+++ b/.myhibernatedata
@@ -1,7 +1,7 @@
#MyEclipse Hibernate Properties
-#Fri Jan 03 19:00:56 CST 2020
+#Sat Jan 04 15:25:24 CST 2020
sessionFactoryName=
-genBasicCompId=true
+genBasicCompId=false
profile=
daoSFId=
version=3.3
@@ -11,7 +11,7 @@ reStrategyClass=
detectO2O=false
springDaoFile=
useJavaTypes=true
-keyGenerator=native
+keyGenerator=
libInstallFolder=WebRoot/WEB-INF/lib
addLibs2Project=true
genVersionTag=false
diff --git a/1.jsp b/1.jsp
deleted file mode 100644
index 802a43b..0000000
--- a/1.jsp
+++ /dev/null
@@ -1,249 +0,0 @@
-<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
-<%@ taglib prefix="s" uri="/struts-tags" %>
-<%
-String path = request.getContextPath();
-String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
-%>
-
-
-
-
-
-
- 登录|注册
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/WebRoot/WEB-INF/classes/HelloServlet.class b/WebRoot/WEB-INF/classes/HelloServlet.class
new file mode 100644
index 0000000..ca8d98e
Binary files /dev/null and b/WebRoot/WEB-INF/classes/HelloServlet.class differ
diff --git a/WebRoot/WEB-INF/classes/RegisterAction.class b/WebRoot/WEB-INF/classes/RegisterAction.class
index 0046c6c..d1f925e 100644
Binary files a/WebRoot/WEB-INF/classes/RegisterAction.class and b/WebRoot/WEB-INF/classes/RegisterAction.class differ
diff --git a/WebRoot/WEB-INF/classes/SubmitQgAction.class b/WebRoot/WEB-INF/classes/SubmitQgAction.class
new file mode 100644
index 0000000..e0efc89
Binary files /dev/null and b/WebRoot/WEB-INF/classes/SubmitQgAction.class differ
diff --git a/WebRoot/WEB-INF/classes/SubmitXzAction.class b/WebRoot/WEB-INF/classes/SubmitXzAction.class
index fa26cf0..fded31d 100644
Binary files a/WebRoot/WEB-INF/classes/SubmitXzAction.class and b/WebRoot/WEB-INF/classes/SubmitXzAction.class differ
diff --git a/WebRoot/WEB-INF/classes/XzListServlet.class b/WebRoot/WEB-INF/classes/XzListServlet.class
new file mode 100644
index 0000000..00a79c6
Binary files /dev/null and b/WebRoot/WEB-INF/classes/XzListServlet.class differ
diff --git a/WebRoot/WEB-INF/classes/com/AbstractQg.class b/WebRoot/WEB-INF/classes/com/AbstractQg.class
new file mode 100644
index 0000000..8262c20
Binary files /dev/null and b/WebRoot/WEB-INF/classes/com/AbstractQg.class differ
diff --git a/WebRoot/WEB-INF/classes/com/AbstractXz.class b/WebRoot/WEB-INF/classes/com/AbstractXz.class
index 62ec338..0e1661c 100644
Binary files a/WebRoot/WEB-INF/classes/com/AbstractXz.class and b/WebRoot/WEB-INF/classes/com/AbstractXz.class differ
diff --git a/WebRoot/WEB-INF/classes/com/Qg.class b/WebRoot/WEB-INF/classes/com/Qg.class
new file mode 100644
index 0000000..fb170bb
Binary files /dev/null and b/WebRoot/WEB-INF/classes/com/Qg.class differ
diff --git a/WebRoot/WEB-INF/classes/com/Qg.hbm.xml b/WebRoot/WEB-INF/classes/com/Qg.hbm.xml
new file mode 100644
index 0000000..37debbb
--- /dev/null
+++ b/WebRoot/WEB-INF/classes/com/Qg.hbm.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebRoot/WEB-INF/classes/com/Xz.class b/WebRoot/WEB-INF/classes/com/Xz.class
index 011bb29..37c8a44 100644
Binary files a/WebRoot/WEB-INF/classes/com/Xz.class and b/WebRoot/WEB-INF/classes/com/Xz.class differ
diff --git a/WebRoot/WEB-INF/classes/com/Xz.hbm.xml b/WebRoot/WEB-INF/classes/com/Xz.hbm.xml
index e62e863..9c8ff51 100644
--- a/WebRoot/WEB-INF/classes/com/Xz.hbm.xml
+++ b/WebRoot/WEB-INF/classes/com/Xz.hbm.xml
@@ -11,13 +11,13 @@
-
+
-
-
+
+
-
+
diff --git a/WebRoot/WEB-INF/classes/hibernate.cfg.xml b/WebRoot/WEB-INF/classes/hibernate.cfg.xml
index 0bf69d0..bd907a2 100644
--- a/WebRoot/WEB-INF/classes/hibernate.cfg.xml
+++ b/WebRoot/WEB-INF/classes/hibernate.cfg.xml
@@ -24,6 +24,7 @@
true
+
diff --git a/WebRoot/WEB-INF/classes/struts.xml b/WebRoot/WEB-INF/classes/struts.xml
index 60d93cd..4e55a43 100644
--- a/WebRoot/WEB-INF/classes/struts.xml
+++ b/WebRoot/WEB-INF/classes/struts.xml
@@ -23,6 +23,10 @@
/welcome.jsp
/success.jsp
+
+/welcome.jsp
+/success.jsp
+
diff --git a/WebRoot/WEB-INF/web.xml b/WebRoot/WEB-INF/web.xml
index 001cb6a..90033a2 100644
--- a/WebRoot/WEB-INF/web.xml
+++ b/WebRoot/WEB-INF/web.xml
@@ -5,6 +5,22 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+
+
+ This is the description of my J2EE component
+ This is the display name of my J2EE component
+ HelloServlet
+ HelloServlet
+
+
+
+
+
+ HelloServlet
+ /HelloServlet
+
+
+
index.jsp
@@ -16,5 +32,13 @@
struts2
- /*
-
+ *.action
+
+
+ struts2
+ *.jsp
+
+
+
+
+
diff --git a/WebRoot/button.jsp b/WebRoot/button.jsp
new file mode 100644
index 0000000..28e5a6c
--- /dev/null
+++ b/WebRoot/button.jsp
@@ -0,0 +1,337 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/WebRoot/ckxz.jsp b/WebRoot/ckxz.jsp
new file mode 100644
index 0000000..11be7a4
--- /dev/null
+++ b/WebRoot/ckxz.jsp
@@ -0,0 +1,626 @@
+<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
+<%
+String path = request.getContextPath();
+String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+%>
+
+
+
+
+
+
+ My JSP 'buy.jsp' starting page
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<%! int id[]={0,1,2,3,4,5,6,7,8,9}; %>
+
+<%
+
+ for(int i=0;i
+
+-
+
+ <%=id[i]%>
+
+
+
+<%
+}
+
+ %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebRoot/fbqg.jsp b/WebRoot/fbqg.jsp
index 07a63ae..3f78a17 100644
--- a/WebRoot/fbqg.jsp
+++ b/WebRoot/fbqg.jsp
@@ -1,4 +1,6 @@
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
+<%@ taglib prefix="s" uri="/struts-tags" %>
+
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
@@ -95,7 +97,7 @@ width:800px;
-
-
@@ -115,9 +117,8 @@ width:800px;
简介
-
-
-
+
+
@@ -126,8 +127,8 @@ width:800px;
可接受价格
-
-
+
+
@@ -137,8 +138,8 @@ width:800px;
微信号
-
-
+
+
@@ -147,8 +148,8 @@ width:800px;
手机号
-
-
+
+
@@ -157,7 +158,7 @@ width:800px;
QQ号
-
+
@@ -207,22 +208,14 @@ function compress() {
}
-
-
-
-
-
-
-
-
-
+
-
+
diff --git a/WebRoot/fbxz.jsp b/WebRoot/fbxz.jsp
index 87aa6f7..85441bd 100644
--- a/WebRoot/fbxz.jsp
+++ b/WebRoot/fbxz.jsp
@@ -96,8 +96,8 @@ width:800px;
————发布闲置————
-
-
+
+
@@ -109,7 +109,7 @@ width:800px;
标题
-
+
@@ -120,7 +120,7 @@ width:800px;
-
+
@@ -184,17 +184,163 @@ width:800px;
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/com/Qg.java b/src/com/Qg.java
new file mode 100644
index 0000000..fe3317f
--- /dev/null
+++ b/src/com/Qg.java
@@ -0,0 +1,19 @@
+package com;
+
+/**
+ * Qg entity. @author MyEclipse Persistence Tools
+ */
+public class Qg extends AbstractQg implements java.io.Serializable {
+
+ // Constructors
+
+ /** default constructor */
+ public Qg() {
+ }
+
+ /** full constructor */
+ public Qg(String title,String miao, Integer price, String wx, String tel, String qq) {
+ super(title,miao, price, wx, tel, qq);
+ }
+
+}
diff --git a/src/com/Xz.hbm.xml b/src/com/Xz.hbm.xml
index e62e863..9c8ff51 100644
--- a/src/com/Xz.hbm.xml
+++ b/src/com/Xz.hbm.xml
@@ -11,13 +11,13 @@
-
+
-
-
+
+
-
+
diff --git a/src/com/Xz.java b/src/com/Xz.java
index be20990..b3a5ab5 100644
--- a/src/com/Xz.java
+++ b/src/com/Xz.java
@@ -12,14 +12,14 @@ public class Xz extends AbstractXz implements java.io.Serializable {
}
/** minimal constructor */
- public Xz( String title, Integer sep) {
- super(title, sep);
+ public Xz(Integer id, String title, Integer sep) {
+ super(id, title, sep);
}
/** full constructor */
- public Xz(String title, String desc, Integer sep, Integer orp,
+ public Xz(String title, String miao, Integer sep, Integer orp,
String postage, String wx, String tel, String qq) {
- super(title, desc, sep, orp, postage, wx, tel, qq);
+ super(title, miao, sep, orp, postage, wx, tel, qq);
}
}
diff --git a/src/hibernate.cfg.xml b/src/hibernate.cfg.xml
index 0bf69d0..bd907a2 100644
--- a/src/hibernate.cfg.xml
+++ b/src/hibernate.cfg.xml
@@ -24,6 +24,7 @@
true
+
diff --git a/src/struts.xml b/src/struts.xml
index 60d93cd..4e55a43 100644
--- a/src/struts.xml
+++ b/src/struts.xml
@@ -23,6 +23,10 @@
/welcome.jsp
/success.jsp
+
+/welcome.jsp
+/success.jsp
+
diff --git a/success.jsp b/success.jsp
deleted file mode 100644
index b679216..0000000
--- a/success.jsp
+++ /dev/null
@@ -1,9 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
-<%@ taglib prefix="s" uri="/struts-tags" %>
-
-注册成功页面
-
-注册成功
-
-返回首页
-
diff --git a/welcome.jsp b/welcome.jsp
deleted file mode 100644
index 857d2e9..0000000
--- a/welcome.jsp
+++ /dev/null
@@ -1,7 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
-
-登陆成功
-
-欢迎登陆本系统
-
-
\ No newline at end of file