user_name 4 лет назад
Родитель
Сommit
3314765a74
100 измененных файлов с 357 добавлено и 0 удалено
  1. 17 0
      .classpath
  2. 31 0
      .project
  3. 12 0
      .settings/.jsdtscope
  4. 7 0
      .settings/org.eclipse.jdt.core.prefs
  5. 8 0
      .settings/org.eclipse.wst.common.component
  6. 10 0
      .settings/org.eclipse.wst.common.project.facet.core.xml
  7. 1 0
      .settings/org.eclipse.wst.jsdt.ui.superType.container
  8. 1 0
      .settings/org.eclipse.wst.jsdt.ui.superType.name
  9. 3 0
      WebContent/META-INF/MANIFEST.MF
  10. 22 0
      WebContent/WEB-INF/dwr.xml
  11. BIN
      WebContent/WEB-INF/lib/FCKeditor-2.3.jar
  12. BIN
      WebContent/WEB-INF/lib/antlr-2.7.6rc1.jar
  13. BIN
      WebContent/WEB-INF/lib/aopalliance-1.0.jar
  14. BIN
      WebContent/WEB-INF/lib/asm-attrs.jar
  15. BIN
      WebContent/WEB-INF/lib/asm.jar
  16. BIN
      WebContent/WEB-INF/lib/aspectjweaver-1.6.11.jar
  17. BIN
      WebContent/WEB-INF/lib/c3p0-0.9.1.1.jar
  18. BIN
      WebContent/WEB-INF/lib/cglib-2.1.3.jar
  19. BIN
      WebContent/WEB-INF/lib/commons-attributes-api.jar
  20. BIN
      WebContent/WEB-INF/lib/commons-attributes-compiler.jar
  21. BIN
      WebContent/WEB-INF/lib/commons-codec-1.9.jar
  22. BIN
      WebContent/WEB-INF/lib/commons-collections-3.2.jar
  23. BIN
      WebContent/WEB-INF/lib/commons-dbcp.jar
  24. BIN
      WebContent/WEB-INF/lib/commons-fileupload-1.3.1.jar
  25. BIN
      WebContent/WEB-INF/lib/commons-io-2.4.jar
  26. BIN
      WebContent/WEB-INF/lib/commons-lang3-3.5.jar
  27. BIN
      WebContent/WEB-INF/lib/commons-logging-1.0.4.jar
  28. BIN
      WebContent/WEB-INF/lib/commons-logging-1.2.jar
  29. BIN
      WebContent/WEB-INF/lib/commons-math3-3.2.jar
  30. BIN
      WebContent/WEB-INF/lib/commons-pool-1.2.jar
  31. BIN
      WebContent/WEB-INF/lib/connector.jar
  32. BIN
      WebContent/WEB-INF/lib/cos.jar
  33. BIN
      WebContent/WEB-INF/lib/dom4j-1.6.1.jar
  34. BIN
      WebContent/WEB-INF/lib/dwr.jar
  35. BIN
      WebContent/WEB-INF/lib/ehcache-1.2.4.jar
  36. BIN
      WebContent/WEB-INF/lib/fckeditor-java-core-2.4.1.jar
  37. BIN
      WebContent/WEB-INF/lib/freemarker-2.3.8.jar
  38. BIN
      WebContent/WEB-INF/lib/freemarker.jar
  39. BIN
      WebContent/WEB-INF/lib/gson-2.2.4.jar
  40. BIN
      WebContent/WEB-INF/lib/gson-2.7.jar
  41. BIN
      WebContent/WEB-INF/lib/guava-19.0.jar
  42. BIN
      WebContent/WEB-INF/lib/httpclient-4.5.jar
  43. BIN
      WebContent/WEB-INF/lib/httpcore-4.4.1.jar
  44. BIN
      WebContent/WEB-INF/lib/jackson-annotations-2.8.0.jar
  45. BIN
      WebContent/WEB-INF/lib/jackson-core-2.10.1.jar
  46. BIN
      WebContent/WEB-INF/lib/jackson-databind-2.8.10.jar
  47. BIN
      WebContent/WEB-INF/lib/jakarta-oro-2.0.8.jar
  48. BIN
      WebContent/WEB-INF/lib/java-core-2.4.1.jar
  49. BIN
      WebContent/WEB-INF/lib/javaee.jar
  50. BIN
      WebContent/WEB-INF/lib/jcommon-1.0.14.jar
  51. BIN
      WebContent/WEB-INF/lib/jdbc2_0-stdext.jar
  52. BIN
      WebContent/WEB-INF/lib/jdo2-api.jar
  53. BIN
      WebContent/WEB-INF/lib/jotm.jar
  54. BIN
      WebContent/WEB-INF/lib/json.jar
  55. BIN
      WebContent/WEB-INF/lib/jspsmartupload.jar
  56. BIN
      WebContent/WEB-INF/lib/jstl-1.2.jar
  57. BIN
      WebContent/WEB-INF/lib/jta.jar
  58. BIN
      WebContent/WEB-INF/lib/log4j-1.2.14.jar
  59. BIN
      WebContent/WEB-INF/lib/mybatis-3.2.7.jar
  60. BIN
      WebContent/WEB-INF/lib/mybatis-spring-1.2.2.jar
  61. BIN
      WebContent/WEB-INF/lib/mysql-connector-java-5.0.4-bin.jar
  62. BIN
      WebContent/WEB-INF/lib/mysql-connector-java-5.1.20.jar
  63. BIN
      WebContent/WEB-INF/lib/ognl-2.6.11.jar
  64. BIN
      WebContent/WEB-INF/lib/oro-2.0.8.jar
  65. BIN
      WebContent/WEB-INF/lib/oscache-2.1.jar
  66. BIN
      WebContent/WEB-INF/lib/pager-taglib-2.0.jar
  67. BIN
      WebContent/WEB-INF/lib/pager-taglib.jar
  68. BIN
      WebContent/WEB-INF/lib/persistence.jar
  69. BIN
      WebContent/WEB-INF/lib/proxool-0.8.3.jar
  70. BIN
      WebContent/WEB-INF/lib/slf4j-api-1.5.2.jar
  71. BIN
      WebContent/WEB-INF/lib/slf4j-api-1.7.5.jar
  72. BIN
      WebContent/WEB-INF/lib/slf4j-simple-1.5.2.jar
  73. BIN
      WebContent/WEB-INF/lib/spring-aop-3.2.0.RELEASE.jar
  74. BIN
      WebContent/WEB-INF/lib/spring-aspects-3.2.0.RELEASE.jar
  75. BIN
      WebContent/WEB-INF/lib/spring-beans-3.2.0.RELEASE.jar
  76. BIN
      WebContent/WEB-INF/lib/spring-context-3.2.0.RELEASE.jar
  77. BIN
      WebContent/WEB-INF/lib/spring-context-support-3.2.0.RELEASE.jar
  78. BIN
      WebContent/WEB-INF/lib/spring-core-3.2.0.RELEASE.jar
  79. BIN
      WebContent/WEB-INF/lib/spring-expression-3.2.0.RELEASE.jar
  80. BIN
      WebContent/WEB-INF/lib/spring-jdbc-3.2.0.RELEASE.jar
  81. BIN
      WebContent/WEB-INF/lib/spring-orm-3.2.0.RELEASE.jar
  82. BIN
      WebContent/WEB-INF/lib/spring-test-3.2.0.RELEASE.jar
  83. BIN
      WebContent/WEB-INF/lib/spring-tx-3.2.0.RELEASE.jar
  84. BIN
      WebContent/WEB-INF/lib/spring-web-3.2.0.RELEASE.jar
  85. BIN
      WebContent/WEB-INF/lib/spring-webmvc-3.2.0.RELEASE.jar
  86. BIN
      WebContent/WEB-INF/lib/ueditor-1.1.2.jar
  87. BIN
      WebContent/WEB-INF/lib/weixin-java-common-3.1.0.jar
  88. BIN
      WebContent/WEB-INF/lib/weixin-java-miniapp-3.1.0.jar
  89. BIN
      WebContent/WEB-INF/lib/weixin-java-mp-3.1.0.jar
  90. BIN
      WebContent/WEB-INF/lib/xapool.jar
  91. BIN
      WebContent/WEB-INF/lib/xml-apis-1.0.b2.jar
  92. BIN
      WebContent/WEB-INF/lib/xml-apis.jar
  93. BIN
      WebContent/WEB-INF/lib/xmlpull-1.1.3.1.jar
  94. BIN
      WebContent/WEB-INF/lib/xpp3_min-1.1.4c.jar
  95. BIN
      WebContent/WEB-INF/lib/xstream-1.4.9.jar
  96. 81 0
      WebContent/WEB-INF/web.xml
  97. 36 0
      WebContent/admin/admin_top.jsp
  98. 66 0
      WebContent/admin/catelog/catelogAdd.jsp
  99. 62 0
      WebContent/admin/catelog/catelogEdit.jsp
  100. 0 0
      WebContent/admin/catelog/catelogMana.jsp

+ 17 - 0
.classpath

@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_67">
+		<attributes>
+			<attribute name="owner.project.facets" value="java"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v8.0">
+		<attributes>
+			<attribute name="owner.project.facets" value="jst.web"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+	<classpathentry kind="output" path="build/classes"/>
+</classpath>

+ 31 - 0
.project

@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>dctjxt</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.wst.common.project.facet.core.builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.wst.validation.validationbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+	</natures>
+</projectDescription>

+ 12 - 0
.settings/.jsdtscope

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="WebContent"/>
+	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+		<attributes>
+			<attribute name="hide" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+	<classpathentry kind="output" path=""/>
+</classpath>

+ 7 - 0
.settings/org.eclipse.jdt.core.prefs

@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7

+ 8 - 0
.settings/org.eclipse.wst.common.component

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
+    <wb-module deploy-name="dctjxt">
+        <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
+        <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+        <property name="context-root" value="dctjxt"/>
+        <property name="java-output-path" value="/dctjxt/build/classes"/>
+    </wb-module>
+</project-modules>

+ 10 - 0
.settings/org.eclipse.wst.common.project.facet.core.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+  <runtime name="Apache Tomcat v8.5"/>
+  <fixed facet="java"/>
+  <fixed facet="wst.jsdt.web"/>
+  <fixed facet="jst.web"/>
+  <installed facet="java" version="1.7"/>
+  <installed facet="jst.web" version="3.1"/>
+  <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>

+ 1 - 0
.settings/org.eclipse.wst.jsdt.ui.superType.container

@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary

+ 1 - 0
.settings/org.eclipse.wst.jsdt.ui.superType.name

@@ -0,0 +1 @@
+Window

+ 3 - 0
WebContent/META-INF/MANIFEST.MF

@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path: 
+

+ 22 - 0
WebContent/WEB-INF/dwr.xml

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://getahead.org/dwr/dwr20.dtd">
+<dwr>
+
+     <allow>
+     <convert converter="bean" match="java.lang.StackTraceElement" />  
+<convert converter="exception" match="java.lang.Exception"/>  
+          <create creator="spring" javascript="loginService">
+              <param name="beanName" value="loginService"></param>
+          </create>
+          
+          <create creator="spring" javascript="catelogService">
+              <param name="beanName" value="catelog11Service"></param>
+          </create>
+          <convert converter="bean" match="com.model.Catelog">
+              <param name="include" value="catelogId,catelogName"></param>
+          </convert>
+          
+ 
+     </allow>
+     
+</dwr>

BIN
WebContent/WEB-INF/lib/FCKeditor-2.3.jar


BIN
WebContent/WEB-INF/lib/antlr-2.7.6rc1.jar


BIN
WebContent/WEB-INF/lib/aopalliance-1.0.jar


BIN
WebContent/WEB-INF/lib/asm-attrs.jar


BIN
WebContent/WEB-INF/lib/asm.jar


BIN
WebContent/WEB-INF/lib/aspectjweaver-1.6.11.jar


BIN
WebContent/WEB-INF/lib/c3p0-0.9.1.1.jar


BIN
WebContent/WEB-INF/lib/cglib-2.1.3.jar


BIN
WebContent/WEB-INF/lib/commons-attributes-api.jar


BIN
WebContent/WEB-INF/lib/commons-attributes-compiler.jar


BIN
WebContent/WEB-INF/lib/commons-codec-1.9.jar


BIN
WebContent/WEB-INF/lib/commons-collections-3.2.jar


BIN
WebContent/WEB-INF/lib/commons-dbcp.jar


BIN
WebContent/WEB-INF/lib/commons-fileupload-1.3.1.jar


BIN
WebContent/WEB-INF/lib/commons-io-2.4.jar


BIN
WebContent/WEB-INF/lib/commons-lang3-3.5.jar


BIN
WebContent/WEB-INF/lib/commons-logging-1.0.4.jar


BIN
WebContent/WEB-INF/lib/commons-logging-1.2.jar


BIN
WebContent/WEB-INF/lib/commons-math3-3.2.jar


BIN
WebContent/WEB-INF/lib/commons-pool-1.2.jar


BIN
WebContent/WEB-INF/lib/connector.jar


BIN
WebContent/WEB-INF/lib/cos.jar


BIN
WebContent/WEB-INF/lib/dom4j-1.6.1.jar


BIN
WebContent/WEB-INF/lib/dwr.jar


BIN
WebContent/WEB-INF/lib/ehcache-1.2.4.jar


BIN
WebContent/WEB-INF/lib/fckeditor-java-core-2.4.1.jar


BIN
WebContent/WEB-INF/lib/freemarker-2.3.8.jar


BIN
WebContent/WEB-INF/lib/freemarker.jar


BIN
WebContent/WEB-INF/lib/gson-2.2.4.jar


BIN
WebContent/WEB-INF/lib/gson-2.7.jar


BIN
WebContent/WEB-INF/lib/guava-19.0.jar


BIN
WebContent/WEB-INF/lib/httpclient-4.5.jar


BIN
WebContent/WEB-INF/lib/httpcore-4.4.1.jar


BIN
WebContent/WEB-INF/lib/jackson-annotations-2.8.0.jar


BIN
WebContent/WEB-INF/lib/jackson-core-2.10.1.jar


BIN
WebContent/WEB-INF/lib/jackson-databind-2.8.10.jar


BIN
WebContent/WEB-INF/lib/jakarta-oro-2.0.8.jar


BIN
WebContent/WEB-INF/lib/java-core-2.4.1.jar


BIN
WebContent/WEB-INF/lib/javaee.jar


BIN
WebContent/WEB-INF/lib/jcommon-1.0.14.jar


BIN
WebContent/WEB-INF/lib/jdbc2_0-stdext.jar


BIN
WebContent/WEB-INF/lib/jdo2-api.jar


BIN
WebContent/WEB-INF/lib/jotm.jar


BIN
WebContent/WEB-INF/lib/json.jar


BIN
WebContent/WEB-INF/lib/jspsmartupload.jar


BIN
WebContent/WEB-INF/lib/jstl-1.2.jar


BIN
WebContent/WEB-INF/lib/jta.jar


BIN
WebContent/WEB-INF/lib/log4j-1.2.14.jar


BIN
WebContent/WEB-INF/lib/mybatis-3.2.7.jar


BIN
WebContent/WEB-INF/lib/mybatis-spring-1.2.2.jar


BIN
WebContent/WEB-INF/lib/mysql-connector-java-5.0.4-bin.jar


BIN
WebContent/WEB-INF/lib/mysql-connector-java-5.1.20.jar


BIN
WebContent/WEB-INF/lib/ognl-2.6.11.jar


BIN
WebContent/WEB-INF/lib/oro-2.0.8.jar


BIN
WebContent/WEB-INF/lib/oscache-2.1.jar


BIN
WebContent/WEB-INF/lib/pager-taglib-2.0.jar


BIN
WebContent/WEB-INF/lib/pager-taglib.jar


BIN
WebContent/WEB-INF/lib/persistence.jar


BIN
WebContent/WEB-INF/lib/proxool-0.8.3.jar


BIN
WebContent/WEB-INF/lib/slf4j-api-1.5.2.jar


BIN
WebContent/WEB-INF/lib/slf4j-api-1.7.5.jar


BIN
WebContent/WEB-INF/lib/slf4j-simple-1.5.2.jar


BIN
WebContent/WEB-INF/lib/spring-aop-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-aspects-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-beans-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-context-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-context-support-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-core-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-expression-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-jdbc-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-orm-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-test-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-tx-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-web-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/spring-webmvc-3.2.0.RELEASE.jar


BIN
WebContent/WEB-INF/lib/ueditor-1.1.2.jar


BIN
WebContent/WEB-INF/lib/weixin-java-common-3.1.0.jar


BIN
WebContent/WEB-INF/lib/weixin-java-miniapp-3.1.0.jar


BIN
WebContent/WEB-INF/lib/weixin-java-mp-3.1.0.jar


BIN
WebContent/WEB-INF/lib/xapool.jar


BIN
WebContent/WEB-INF/lib/xml-apis-1.0.b2.jar


BIN
WebContent/WEB-INF/lib/xml-apis.jar


BIN
WebContent/WEB-INF/lib/xmlpull-1.1.3.1.jar


BIN
WebContent/WEB-INF/lib/xpp3_min-1.1.4c.jar


BIN
WebContent/WEB-INF/lib/xstream-1.4.9.jar


+ 81 - 0
WebContent/WEB-INF/web.xml

@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
+	http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+	<welcome-file-list>
+		<welcome-file>/admin/login.jsp</welcome-file>
+	</welcome-file-list>
+
+
+	<context-param>
+    <param-name>contextConfigLocation</param-name>
+    <param-value>/WEB-INF/classes/spring/applicationContext-*.xml</param-value>
+  </context-param>
+  <filter>
+    <filter-name>CharacterEncodingFilter</filter-name>
+    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
+    <init-param>
+      <param-name>encoding</param-name>
+      <param-value>utf-8</param-value>
+    </init-param>
+    <init-param>  
+        <param-name>forceEncoding</param-name>  
+        <param-value>true</param-value>  
+    </init-param> 
+  </filter>
+  <filter-mapping>
+    <filter-name>CharacterEncodingFilter</filter-name>
+    <url-pattern>/*</url-pattern>
+  </filter-mapping>
+  <listener>
+    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+  </listener>
+  <servlet>
+    <servlet-name>wxdc</servlet-name>
+    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
+    <init-param>
+      <param-name>contextConfigLocation</param-name>
+      <param-value>classpath:spring/mvc-dispatcher-servlet.xml</param-value>
+    </init-param>
+    <load-on-startup>1</load-on-startup>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>wxdc</servlet-name>
+    <url-pattern>/</url-pattern>
+  </servlet-mapping>
+	
+	
+	<servlet>
+    <servlet-name>dwr-invoker</servlet-name>
+    <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
+    <init-param>
+      <param-name>debug</param-name>
+      <param-value>true</param-value>
+    </init-param>
+    <init-param>
+			<param-name>crossDomainSessionSecurity</param-name>
+			<param-value>false</param-value>
+		</init-param>
+    <init-param>
+      <param-name>activeReverseAjaxEnabled</param-name>
+      <param-value>true</param-value>
+    </init-param>
+    <init-param>
+      <param-name>initApplicationScopeCreatorsAtStartup</param-name>
+      <param-value>true</param-value>
+    </init-param>
+    <init-param>
+      <param-name>maxWaitAfterWrite</param-name>
+      <param-value>500</param-value>
+    </init-param>
+    <load-on-startup>1</load-on-startup>
+  </servlet>
+ 
+
+  <servlet-mapping>
+    <servlet-name>dwr-invoker</servlet-name>
+    <url-pattern>/dwr/*</url-pattern>
+  </servlet-mapping>
+  
+</web-app>

+ 36 - 0
WebContent/admin/admin_top.jsp

@@ -0,0 +1,36 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<% String path = request.getContextPath(); %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<link href="<%=path%>/css/css_01.css" rel="stylesheet" type="text/css">
+<title>点餐推荐系统</title>
+</head>
+<body>
+
+	<header id="header">
+	<div id="menu">
+		<div id="logo">
+			<div>
+				 
+			</div>
+			<div id="system_title">点餐推荐系统</div>
+		</div>
+		<div id="rinfo">
+			当前用户:
+			<span>${sessionScope.admin.username}</span>
+			<span id="exit">
+				<a href="#" onclick="exit();">退出</a>
+			</span>
+		</div>
+	</div>
+	</header>
+
+</body>
+ <script type="text/javascript">
+    function exit(){
+    	window.top.location.href = '<%=path%>/adminlogout.jsp';
+    }
+ </script>
+</html>

+ 66 - 0
WebContent/admin/catelog/catelogAdd.jsp

@@ -0,0 +1,66 @@
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+
+<%@ page isELIgnored="false" %> 
+<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
+
+<%
+String path = request.getContextPath();
+%>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+	<head>
+		<meta http-equiv="pragma" content="no-cache" />
+		<meta http-equiv="cache-control" content="no-cache" />
+		<meta http-equiv="expires" content="0" />
+		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
+		<meta http-equiv="description" content="This is my page" />
+        
+        <link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
+        
+        <script language="javascript">
+            function closeOpen()
+		    {
+		       window.returnValue=false;
+		       window.close();
+		    }
+		    
+        </script>
+	</head>
+
+	<body leftmargin="2" topmargin="9" background='<%=path %>/images/allbg.gif'>
+			<form action="<%=path %>/catelogAdd.action" name="formAdd" method="post">
+				     <table width="98%" align="center" border="0" cellpadding="4" cellspacing="1" bgcolor="#CBD8AC" style="margin-bottom:8px">
+						<tr bgcolor="#EEF4EA">
+					        <td colspan="3" background="<%=path %>/images/wbg.gif" class='title'><span>商品类别添加</span></td>
+					    </tr>
+						<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
+						    <td width="25%" bgcolor="#FFFFFF" align="right">
+						         分类名称:
+						    </td>
+						    <td width="75%" bgcolor="#FFFFFF" align="left">
+						        <input type="text" name="catelogName" style="width:340px" maxlength=""/>
+						    </td>
+						</tr>
+						<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
+						    <td width="25%" bgcolor="#FFFFFF" align="right">
+						        分类描述:
+						    </td>
+						    <td width="75%" bgcolor="#FFFFFF" align="left">
+						    	<textarea rows="5" maxlength="200" name="catelogMiaoshu" style="width:340px"  placeholder="请输入描述"></textarea>
+						       
+						    </td>
+						</tr>
+						<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
+						    <td width="25%" bgcolor="#FFFFFF" align="right">
+						        &nbsp;
+						    </td>
+						    <td width="75%" bgcolor="#FFFFFF" align="left">
+						       <input type="submit" value="提交"/>&nbsp; 
+						       <input type="reset" value="重置"/>&nbsp;
+						    </td>
+						</tr>
+					 </table>
+			</form>
+   </body>
+</html>

+ 62 - 0
WebContent/admin/catelog/catelogEdit.jsp

@@ -0,0 +1,62 @@
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+
+<%@ page isELIgnored="false" %> 
+<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
+
+<%
+String path = request.getContextPath();
+%>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+	<head>
+		<meta http-equiv="pragma" content="no-cache" />
+		<meta http-equiv="cache-control" content="no-cache" />
+		<meta http-equiv="expires" content="0" />
+		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
+		<meta http-equiv="description" content="This is my page" />
+        
+        <link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
+        
+        <script language="javascript">
+		    
+        </script>
+	</head>
+
+	<body leftmargin="2" topmargin="9" background='<%=path %>/images/allbg.gif'>
+			<form action="<%=path %>/catelogEdit.action" name="formAdd" method="post">
+				     <table width="98%" align="center" border="0" cellpadding="4" cellspacing="1" bgcolor="#CBD8AC" style="margin-bottom:8px">
+						<tr bgcolor="#EEF4EA">
+					        <td colspan="3" background="<%=path %>/images/wbg.gif" class='title'><span>商品类别</span></td>
+					    </tr>
+						<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
+						    <td width="25%" bgcolor="#FFFFFF" align="right">
+						         分类名称:
+						    </td>
+						    <td width="75%" bgcolor="#FFFFFF" align="left">
+						        <input type="text" name="catelogName" style="width:340px" value="${catelog.catelogName }"/>
+						    </td>
+						</tr>
+						<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
+						    <td width="25%" bgcolor="#FFFFFF" align="right">
+						        分类描述:
+						    </td>
+						    <td width="75%" bgcolor="#FFFFFF" align="left">
+						        <textarea rows="5" maxlength="200" name="catelogMiaoshu" style="width:340px"  placeholder="请输入描述">${catelog.catelogMiaoshu }</textarea>
+						    </td>
+						</tr>
+						<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
+						    <td width="25%" bgcolor="#FFFFFF" align="right">
+						        &nbsp;
+						    </td>
+						    <td width="75%" bgcolor="#FFFFFF" align="left">
+						       <input type="hidden" name="catelogId" value="${requestScope.catelog.catelogId }"/>
+						       <input type="submit" value="提交"/>&nbsp; 
+						       <input type="button" value="取&nbsp;&nbsp;消" onClick="javascript :history.back(-1);"/>
+								&nbsp;
+						    </td>
+						</tr>
+					 </table>
+			</form>
+   </body>
+</html>

+ 0 - 0
WebContent/admin/catelog/catelogMana.jsp


Некоторые файлы не были показаны из-за большого количества измененных файлов