File tree 3 files changed +23
-5
lines changed
3 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 1
1
/target /
2
2
/bin /
3
+ /.settings /
4
+ .classpath
5
+ .project
Original file line number Diff line number Diff line change 1
- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
2
+ xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
2
3
xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
4
+
3
5
<modelVersion >4.0.0</modelVersion >
4
6
<groupId >jbr</groupId >
5
- <artifactId >SpringMvcMaven </artifactId >
7
+ <artifactId >springmvc-helloworld </artifactId >
6
8
<packaging >war</packaging >
7
9
<version >0.1</version >
8
- <name >SpringMvcMaven Maven Webapp</name >
10
+ <name >springmvc-helloworld Maven Webapp</name >
9
11
<url >http://maven.apache.org</url >
12
+
10
13
<properties >
11
14
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
12
15
<spring .version>4.3.2.RELEASE</spring .version>
13
16
<junit .version>4.12</junit .version>
14
17
<servlet .version>3.1.0</servlet .version>
18
+ <java .version>1.8</java .version>
15
19
</properties >
16
20
17
21
<dependencies >
69
73
</dependency >
70
74
</dependencies >
71
75
<build >
72
- <finalName >SpringMvcMaven</finalName >
76
+ <finalName >springmvc-helloworld</finalName >
77
+ <sourceDirectory >src/main/java</sourceDirectory >
78
+ <plugins >
79
+ <plugin >
80
+ <artifactId >maven-compiler-plugin</artifactId >
81
+ <version >3.5.1</version >
82
+ <configuration >
83
+ <source >${java.version} </source >
84
+ <target >${java.version} </target >
85
+ </configuration >
86
+ </plugin >
87
+ </plugins >
73
88
</build >
74
89
</project >
Original file line number Diff line number Diff line change 1
1
<html >
2
2
<body >
3
3
<h2 >Hit Submit</h2 >
4
- <form method =" POST" action =" /SpringMvcMaven /hello" >
4
+ <form method =" POST" action =" /springmvc-helloworld /hello" >
5
5
<table >
6
6
<tr >
7
7
<td colspan =" 2" ><input type =" submit" value =" Submit" /></td >
You can’t perform that action at this time.
0 commit comments