Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8b68bf7

Browse files
sshweb
0 parents  commit 8b68bf7

File tree

113 files changed

+3068
-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.

113 files changed

+3068
-0
lines changed

sshweb/.classpath

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
15+
<attributes>
16+
<attribute name="optional" value="true"/>
17+
<attribute name="maven.pomderived" value="true"/>
18+
</attributes>
19+
</classpathentry>
20+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
21+
<attributes>
22+
<attribute name="maven.pomderived" value="true"/>
23+
</attributes>
24+
</classpathentry>
25+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
26+
<attributes>
27+
<attribute name="maven.pomderived" value="true"/>
28+
</attributes>
29+
</classpathentry>
30+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
31+
<attributes>
32+
<attribute name="maven.pomderived" value="true"/>
33+
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
34+
</attributes>
35+
</classpathentry>
36+
<classpathentry kind="output" path="target/classes"/>
37+
</classpath>

sshweb/.project

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>sshweb</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.m2e.core.maven2Builder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
<buildCommand>
29+
<name>org.eclipse.wst.validation.validationbuilder</name>
30+
<arguments>
31+
</arguments>
32+
</buildCommand>
33+
</buildSpec>
34+
<natures>
35+
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
36+
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
37+
<nature>org.eclipse.jdt.core.javanature</nature>
38+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
39+
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
40+
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
41+
</natures>
42+
</projectDescription>

sshweb/.settings/.jsdtscope

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src/main/webapp"/>
4+
<classpathentry kind="src" path="target/m2e-wtp/web-resources"/>
5+
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
6+
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
7+
<attributes>
8+
<attribute name="hide" value="true"/>
9+
</attributes>
10+
</classpathentry>
11+
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
12+
<classpathentry kind="output" path=""/>
13+
</classpath>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
eclipse.preferences.version=1
2+
encoding//src/main/resources/log4j.properties=UTF-8
3+
encoding//src/main/webapp/jsp/news/newsListWithJQ.html=UTF-8
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
4+
org.eclipse.jdt.core.compiler.compliance=1.5
5+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
8+
org.eclipse.jdt.core.compiler.source=1.5
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1
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"?><project-modules id="moduleCoreId" project-version="1.5.0">
2+
<wb-module deploy-name="sshweb">
3+
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
4+
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
5+
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
6+
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
7+
<property name="context-root" value="sshweb"/>
8+
<property name="java-output-path" value="/sshweb/target/classes"/>
9+
</wb-module>
10+
</project-modules>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<faceted-project>
3+
<fixed facet="wst.jsdt.web"/>
4+
<installed facet="java" version="1.5"/>
5+
<installed facet="jst.web" version="2.5"/>
6+
<installed facet="wst.jsdt.web" version="1.0"/>
7+
</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
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
disabled=06target
2+
eclipse.preferences.version=1

sshweb/Student.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package com.test;
2+
import java.util.*;
3+
import com.opensymphony.xwork2.*;
4+
import com.bibernatebeans.*;
5+
public class Student extends ActionSupport {
6+
private int studentId;
7+
private java.lang.String studentName;
8+
private java.util.Date studentBirthday;
9+
public void setStudentId ( int studentId ){
10+
this.studentId = studentId;
11+
}
12+
public void setStudentName ( java.lang.String studentName ){
13+
this.studentName = studentName;
14+
}
15+
public void setStudentBirthday ( java.util.Date studentBirthday ){
16+
this.studentBirthday = studentBirthday;
17+
}
18+
}

sshweb/pom.xml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>com.way</groupId>
4+
<artifactId>sshweb</artifactId>
5+
<version>0.0.1-SNAPSHOT</version>
6+
<packaging>war</packaging>
7+
<dependencies>
8+
<dependency>
9+
<groupId>org.apache.struts</groupId>
10+
<artifactId>struts2-core</artifactId>
11+
<version>2.3.16.3</version>
12+
</dependency>
13+
<dependency>
14+
<groupId>org.apache.struts</groupId>
15+
<artifactId>struts2-spring-plugin</artifactId>
16+
<version>2.3.16.3</version>
17+
</dependency>
18+
<dependency>
19+
<groupId>org.apache.struts</groupId>
20+
<artifactId>struts2-json-plugin</artifactId>
21+
<version>2.3.16.3</version>
22+
</dependency>
23+
24+
<dependency>
25+
<groupId>org.springframework</groupId>
26+
<artifactId>spring-core</artifactId>
27+
<version>4.1.2.RELEASE</version>
28+
</dependency>
29+
30+
31+
<dependency>
32+
<groupId>org.springframework</groupId>
33+
<artifactId>spring-context</artifactId>
34+
<version>4.1.2.RELEASE</version>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.springframework</groupId>
38+
<artifactId>spring-beans</artifactId>
39+
<version>4.1.2.RELEASE</version>
40+
</dependency>
41+
42+
<dependency>
43+
<groupId>org.springframework</groupId>
44+
<artifactId>spring-orm</artifactId>
45+
<version>4.1.2.RELEASE</version>
46+
</dependency>
47+
<dependency>
48+
<groupId>org.aspectj</groupId>
49+
<artifactId>aspectjweaver</artifactId>
50+
<version>1.8.4</version>
51+
</dependency>
52+
53+
<dependency>
54+
<groupId>org.hibernate</groupId>
55+
<artifactId>hibernate-core</artifactId>
56+
<version>4.3.7.Final</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>org.hibernate</groupId>
60+
<artifactId>hibernate-c3p0</artifactId>
61+
<version>4.3.7.Final</version>
62+
</dependency>
63+
64+
<dependency>
65+
<groupId>log4j</groupId>
66+
<artifactId>log4j</artifactId>
67+
<version>1.2.17</version>
68+
</dependency>
69+
70+
71+
<dependency>
72+
<groupId>mysql</groupId>
73+
<artifactId>mysql-connector-java</artifactId>
74+
<version>5.1.33</version>
75+
</dependency>
76+
77+
</dependencies>
78+
</project>
79+
80+
81+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
3+
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
4+
<!-- Generated 2014-12-17 11:19:13 by Hibernate Tools 4.3.1 -->
5+
<hibernate-mapping>
6+
<class name="com.hibernatebeans.Events" table="events" catalog="test" optimistic-lock="version">
7+
<id name="eventId" type="long">
8+
<column name="EVENT_ID" />
9+
<generator class="assigned" />
10+
</id>
11+
<property name="eventDate" type="timestamp">
12+
<column name="EVENT_DATE" length="19" />
13+
</property>
14+
<property name="title" type="string">
15+
<column name="title" />
16+
</property>
17+
</class>
18+
</hibernate-mapping>
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
package com.bibernatebeans;
2+
3+
// Generated 2014-12-17 11:19:13 by Hibernate Tools 4.3.1
4+
5+
import java.util.Date;
6+
7+
/**
8+
* Events generated by hbm2java
9+
*/
10+
public class Events implements java.io.Serializable {
11+
12+
private long eventId;
13+
private Date eventDate;
14+
private String title;
15+
16+
public Events() {
17+
}
18+
19+
public Events(long eventId) {
20+
this.eventId = eventId;
21+
}
22+
23+
public Events(long eventId, Date eventDate, String title) {
24+
this.eventId = eventId;
25+
this.eventDate = eventDate;
26+
this.title = title;
27+
}
28+
29+
public long getEventId() {
30+
return this.eventId;
31+
}
32+
33+
public void setEventId(long eventId) {
34+
this.eventId = eventId;
35+
}
36+
37+
public Date getEventDate() {
38+
return this.eventDate;
39+
}
40+
41+
public void setEventDate(Date eventDate) {
42+
this.eventDate = eventDate;
43+
}
44+
45+
public String getTitle() {
46+
return this.title;
47+
}
48+
49+
public void setTitle(String title) {
50+
this.title = title;
51+
}
52+
53+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
3+
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
4+
<!-- Generated 2014-12-17 11:19:13 by Hibernate Tools 4.3.1 -->
5+
<hibernate-mapping>
6+
<class name="com.hibernatebeans.News" table="news" catalog="test" optimistic-lock="version">
7+
<id name="newsId" type="int">
8+
<column name="newsId" />
9+
<generator class="assigned" />
10+
</id>
11+
<property name="newsName" type="string">
12+
<column name="newsName" />
13+
</property>
14+
<property name="newsSource" type="string">
15+
<column name="newsSource" />
16+
</property>
17+
<property name="newsDetail" type="string">
18+
<column name="newsDetail" />
19+
</property>
20+
<property name="newsTime" type="timestamp">
21+
<column name="newsTime" length="19" />
22+
</property>
23+
</class>
24+
</hibernate-mapping>

0 commit comments

Comments
 (0)