Skip to content

Commit 7be3c7a

Browse files
committed
数据分析框架
Mybatis + Spring + AspectJ + MySql + Redis+ Struts2 + Aungular.js 后台代码中尽可能使用Annotation。除了SQL query 使用xml配置。 浏览器端使用MVC的Google Angular.js
0 parents  commit 7be3c7a

File tree

97 files changed

+21905
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+21905
-0
lines changed

.classpath

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/Java SE 6 [1.6.0_65-b14-462]">
5+
<attributes>
6+
<attribute name="owner.project.facets" value="java"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v7.0">
10+
<attributes>
11+
<attribute name="owner.project.facets" value="jst.web"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
15+
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
16+
<classpathentry kind="output" path="build/classes"/>
17+
</classpath>

.project

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>DA_Framework</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.jdt.core.javabuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.wst.common.project.facet.core.builder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>org.eclipse.wst.validation.validationbuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
31+
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
32+
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
33+
<nature>org.eclipse.jdt.core.javanature</nature>
34+
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
35+
</natures>
36+
</projectDescription>

.settings/.jsdtscope

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="WebContent"/>
4+
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
5+
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
6+
<attributes>
7+
<attribute name="hide" value="true"/>
8+
</attributes>
9+
</classpathentry>
10+
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
11+
<classpathentry kind="output" path=""/>
12+
</classpath>

.settings/org.eclipse.jdt.core.prefs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
4+
org.eclipse.jdt.core.compiler.compliance=1.6
5+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7+
org.eclipse.jdt.core.compiler.source=1.6
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
2+
<wb-module deploy-name="DA_Framework">
3+
<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
4+
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
5+
<property name="context-root" value="DA_Framework"/>
6+
<property name="java-output-path" value="/DA_Framework/build/classes"/>
7+
</wb-module>
8+
</project-modules>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<faceted-project>
3+
<runtime name="Apache Tomcat v7.0"/>
4+
<fixed facet="wst.jsdt.web"/>
5+
<fixed facet="java"/>
6+
<fixed facet="jst.web"/>
7+
<installed facet="java" version="1.6"/>
8+
<installed facet="jst.web" version="3.0"/>
9+
<installed facet="wst.jsdt.web" version="1.0"/>
10+
</faceted-project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Window

WebContent/META-INF/MANIFEST.MF

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
Class-Path:
3+

WebContent/WEB-INF/classes/log4j.xml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE log4j:configuration PUBLIC "-//log4j/log4j Configuration//EN" "log4j.dtd">
3+
4+
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
5+
6+
<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
7+
<layout class="org.apache.log4j.PatternLayout">
8+
<param name="ConversionPattern" value="%d %-5p %c.%M:%L - %m%n"/>
9+
</layout>
10+
</appender>
11+
12+
<!-- specify the logging level for loggers from other libraries -->
13+
<logger name="com.opensymphony">
14+
<level value="INFO" />
15+
</logger>
16+
17+
<logger name="org.apache.struts2">
18+
<level value="INFO" />
19+
</logger>
20+
21+
<logger name="com.zarsion">
22+
<level value="DEBUG" />
23+
</logger>
24+
25+
<!-- for all other loggers log only info and above log messages -->
26+
<root>
27+
<priority value="INFO"/>
28+
<appender-ref ref="STDOUT" />
29+
</root>
30+
31+
</log4j:configuration>
4.36 KB
Binary file not shown.

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

42.6 KB
Binary file not shown.
37.4 KB
Binary file not shown.
21 KB
Binary file not shown.
113 KB
Binary file not shown.
1.61 MB
Binary file not shown.
Binary file not shown.
170 KB
Binary file not shown.
308 KB
Binary file not shown.
60.6 KB
Binary file not shown.
97.8 KB
Binary file not shown.
909 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
600 KB
Binary file not shown.
136 KB
Binary file not shown.
478 KB
Binary file not shown.
697 KB
Binary file not shown.
Binary file not shown.

WebContent/WEB-INF/lib/ognl-3.0.6.jar

223 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
788 KB
Binary file not shown.
Binary file not shown.
638 KB
Binary file not shown.

WebContent/WEB-INF/web.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
3+
<welcome-file-list>
4+
<welcome-file>/showMainPage</welcome-file>
5+
</welcome-file-list>
6+
<filter>
7+
<filter-name>struts2</filter-name>
8+
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
9+
</filter>
10+
<filter-mapping>
11+
<filter-name>struts2</filter-name>
12+
<url-pattern>/*</url-pattern>
13+
</filter-mapping>
14+
</web-app>

WebContent/error.jsp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
2+
<%@ taglib prefix="s" uri="/struts-tags" %>
3+
4+
<html>
5+
<head><title>Simple jsp page</title></head>
6+
<body>
7+
<h3>Exception:</h3>
8+
<s:property value="exception"/>
9+
10+
<h3>Stack trace:</h3>
11+
<pre>
12+
<s:property value="exceptionStack"/>
13+
</pre>
14+
</body>
15+
</html>

WebContent/index.jsp

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
2+
<%
3+
String path = request.getContextPath();
4+
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5+
%>
6+
7+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8+
<html>
9+
<head>
10+
<base href="<%=basePath%>">
11+
12+
<title>My JSP 'index.jsp' starting page</title>
13+
<meta http-equiv="pragma" content="no-cache">
14+
<meta http-equiv="cache-control" content="no-cache">
15+
<meta http-equiv="expires" content="0">
16+
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
17+
<meta http-equiv="description" content="This is my page">
18+
<!--
19+
<link rel="stylesheet" type="text/css" href="styles.css">
20+
-->
21+
</head>
22+
23+
<body>
24+
This is my JSP page. <br>
25+
</body>
26+
</html>

WebContent/js/angular-resource.min.js

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)