forked from apache/struts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves JSPs under /WEB-INF to promote good practises
- Loading branch information
1 parent
13a3b92
commit 0b510ca
Showing
2 changed files
with
35 additions
and
35 deletions.
There are no files selected for viewing
32 changes: 16 additions & 16 deletions
32
...starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/helloWorld.jsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<!DOCTYPE html PUBLIC | ||
"-//W3C//DTD XHTML 1.1 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<%@taglib prefix="s" uri="/struts-tags" %> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<title>Hello World</title> | ||
<s:head /> | ||
</head> | ||
<body> | ||
Hello <s:property value="name"/>, today is <s:property value="dateNow" /><br/> | ||
|
||
</body> | ||
</html> | ||
<!DOCTYPE html PUBLIC | ||
"-//W3C//DTD XHTML 1.1 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<%@taglib prefix="s" uri="/struts-tags" %> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<title>Hello World</title> | ||
<s:head /> | ||
</head> | ||
<body> | ||
Hello <s:property value="name"/>, today is <s:property value="dateNow" /><br/> | ||
|
||
</body> | ||
</html> |
38 changes: 19 additions & 19 deletions
38
...type-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/index.jsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<!DOCTYPE html PUBLIC | ||
"-//W3C//DTD XHTML 1.1 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<%@taglib prefix="s" uri="/struts-tags" %> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<title>Index</title> | ||
<s:head /> | ||
</head> | ||
<body> | ||
<s:form action="helloWorld"> | ||
<s:textfield label="What is your name?" name="name" /> | ||
<s:textfield label="What is the date?" name="dateNow" /> | ||
<s:submit /> | ||
</s:form> | ||
</body> | ||
</html> | ||
<!DOCTYPE html PUBLIC | ||
"-//W3C//DTD XHTML 1.1 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<%@taglib prefix="s" uri="/struts-tags" %> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<title>Index</title> | ||
<s:head /> | ||
</head> | ||
<body> | ||
<s:form action="helloWorld"> | ||
<s:textfield label="What is your name?" name="name" /> | ||
<s:textfield label="What is the date?" name="dateNow" /> | ||
<s:submit /> | ||
</s:form> | ||
</body> | ||
</html> | ||
|