File tree Expand file tree Collapse file tree 6 files changed +136
-0
lines changed
target/m2e-wtp/web-resources/META-INF
maven/net.javatutorial.tutorials/JSPExample Expand file tree Collapse file tree 6 files changed +136
-0
lines changed 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"
2+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+
5+ <groupId >net.javatutorial.tutorials</groupId >
6+ <artifactId >JSPExample</artifactId >
7+ <version >1</version >
8+ <packaging >war</packaging >
9+
10+ <name >JSPExample</name >
11+ <url >https://javatutorial.net</url >
12+
13+ <properties >
14+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
15+ </properties >
16+
17+ <dependencies >
18+ <dependency >
19+ <groupId >javax.servlet</groupId >
20+ <artifactId >javax.servlet-api</artifactId >
21+ <version >3.1.0</version >
22+ <scope >provided</scope >
23+ </dependency >
24+ <dependency >
25+ <groupId >javax.servlet.jsp</groupId >
26+ <artifactId >javax.servlet.jsp-api</artifactId >
27+ <version >2.3.1</version >
28+ <scope >provided</scope >
29+ </dependency >
30+ </dependencies >
31+
32+ <build >
33+ <finalName >jspexample</finalName >
34+ <plugins >
35+ <plugin >
36+ <groupId >org.apache.maven.plugins</groupId >
37+ <artifactId >maven-war-plugin</artifactId >
38+ <version >2.3</version >
39+ <configuration >
40+ <warSourceDirectory >src/main/webapp</warSourceDirectory >
41+ </configuration >
42+ </plugin >
43+ <plugin >
44+ <groupId >org.apache.maven.plugins</groupId >
45+ <artifactId >maven-compiler-plugin</artifactId >
46+ <version >3.1</version >
47+ <configuration >
48+ <source >1.8</source >
49+ <target >1.8</target >
50+ </configuration >
51+ </plugin >
52+ </plugins >
53+ </build >
54+ </project >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <web-app xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns =" http://xmlns.jcp.org/xml/ns/javaee" xsi : schemaLocation =" http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version =" 3.1" >
3+ <display-name >JSP Example</display-name >
4+ </web-app >
Original file line number Diff line number Diff line change 1+ <%@ page contentType =" text/html;charset=UTF-8" language =" java" %>
2+ <%@ page import =" java.time.LocalDateTime" %>
3+ <!DOCTYPE html>
4+ <html >
5+ <head >
6+ <title >Simple JSP Application</title >
7+ </head >
8+ <body >
9+ <h1 >Hello world!</h1 >
10+ <h2 >Current time is <%= LocalDateTime . now() % > </h2 >
11+ </body >
12+ </html >
Original file line number Diff line number Diff line change 1+ Manifest-Version : 1.0
2+ Built-By : filip
3+ Build-Jdk : 1.8.0_73
4+ Created-By : Maven Integration for Eclipse
5+
Original file line number Diff line number Diff line change 1+ # Generated by Maven Integration for Eclipse
2+ # Fri Nov 24 15:44:46 EET 2017
3+ version =1
4+ groupId =net.javatutorial.tutorials
5+ m2e.projectName =JSPExample
6+ m2e.projectLocation =/Users/filip/Development/GitHub/JavaTutorialNet/JSPExample
7+ artifactId =JSPExample
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"
2+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+
5+ <groupId >net.javatutorial.tutorials</groupId >
6+ <artifactId >JSPExample</artifactId >
7+ <version >1</version >
8+ <packaging >war</packaging >
9+
10+ <name >JSPExample</name >
11+ <url >https://javatutorial.net</url >
12+
13+ <properties >
14+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
15+ </properties >
16+
17+ <dependencies >
18+ <dependency >
19+ <groupId >javax.servlet</groupId >
20+ <artifactId >javax.servlet-api</artifactId >
21+ <version >3.1.0</version >
22+ <scope >provided</scope >
23+ </dependency >
24+ <dependency >
25+ <groupId >javax.servlet.jsp</groupId >
26+ <artifactId >javax.servlet.jsp-api</artifactId >
27+ <version >2.3.1</version >
28+ <scope >provided</scope >
29+ </dependency >
30+ </dependencies >
31+
32+ <build >
33+ <finalName >jspexample</finalName >
34+ <plugins >
35+ <plugin >
36+ <groupId >org.apache.maven.plugins</groupId >
37+ <artifactId >maven-war-plugin</artifactId >
38+ <version >2.3</version >
39+ <configuration >
40+ <warSourceDirectory >src/main/webapp</warSourceDirectory >
41+ </configuration >
42+ </plugin >
43+ <plugin >
44+ <groupId >org.apache.maven.plugins</groupId >
45+ <artifactId >maven-compiler-plugin</artifactId >
46+ <version >3.1</version >
47+ <configuration >
48+ <source >1.8</source >
49+ <target >1.8</target >
50+ </configuration >
51+ </plugin >
52+ </plugins >
53+ </build >
54+ </project >
You can’t perform that action at this time.
0 commit comments