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.
- Loading branch information
Showing
404 changed files
with
3,544 additions
and
1,618 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -9,6 +9,9 @@ | |
.project | ||
.settings/ | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# Scripts | ||
*.sh | ||
|
||
|
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
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
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
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
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
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
56 changes: 28 additions & 28 deletions
56
...nk/src/main/webapp/example/HelloWorld.jsp → ...webapp/WEB-INF/jsp/example/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,28 +1,28 @@ | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<html> | ||
<head> | ||
<title><s:text name="HelloWorld.message"/></title> | ||
</head> | ||
|
||
<body> | ||
<h2><s:property value="message"/></h2> | ||
|
||
<h3>Languages</h3> | ||
<ul> | ||
<li> | ||
<s:url id="url" action="HelloWorld"> | ||
<s:param name="request_locale">en</s:param> | ||
</s:url> | ||
<s:a href="%{url}">English</s:a> | ||
</li> | ||
<li> | ||
<s:url id="url" action="HelloWorld"> | ||
<s:param name="request_locale">es</s:param> | ||
</s:url> | ||
<s:a href="%{url}">Espanol</s:a> | ||
</li> | ||
</ul> | ||
|
||
</body> | ||
</html> | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<html> | ||
<head> | ||
<title><s:text name="HelloWorld.message"/></title> | ||
</head> | ||
|
||
<body> | ||
<h2><s:property value="message"/></h2> | ||
|
||
<h3>Languages</h3> | ||
<ul> | ||
<li> | ||
<s:url id="url" action="HelloWorld"> | ||
<s:param name="request_locale">en</s:param> | ||
</s:url> | ||
<s:a href="%{url}">English</s:a> | ||
</li> | ||
<li> | ||
<s:url id="url" action="HelloWorld"> | ||
<s:param name="request_locale">es</s:param> | ||
</s:url> | ||
<s:a href="%{url}">Espanol</s:a> | ||
</li> | ||
</ul> | ||
|
||
</body> | ||
</html> |
30 changes: 15 additions & 15 deletions
30
...s-blank/src/main/webapp/example/Login.jsp → ...main/webapp/WEB-INF/jsp/example/Login.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,15 +1,15 @@ | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<html> | ||
<head> | ||
<title>Sign On</title> | ||
</head> | ||
|
||
<body> | ||
<s:form action="Login"> | ||
<s:textfield key="username"/> | ||
<s:password key="password" /> | ||
<s:submit/> | ||
</s:form> | ||
</body> | ||
</html> | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<html> | ||
<head> | ||
<title>Sign On</title> | ||
</head> | ||
|
||
<body> | ||
<s:form action="Login"> | ||
<s:textfield key="username"/> | ||
<s:password key="password" /> | ||
<s:submit/> | ||
</s:form> | ||
</body> | ||
</html> |
4 changes: 2 additions & 2 deletions
4
...ss-blank/src/main/webapp/example/Menu.jsp → .../main/webapp/WEB-INF/jsp/example/Menu.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,3 +1,3 @@ | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<s:include value="Missing.jsp"/> |
22 changes: 11 additions & 11 deletions
22
...blank/src/main/webapp/example/Missing.jsp → ...in/webapp/WEB-INF/jsp/example/Missing.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,11 +1,11 @@ | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<html> | ||
<head><title>Missing Feature</title></head> | ||
|
||
<body> | ||
<p> | ||
<s:text name="Missing.message"/> | ||
</p> | ||
</body> | ||
</html> | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<html> | ||
<head><title>Missing Feature</title></head> | ||
|
||
<body> | ||
<p> | ||
<s:text name="Missing.message"/> | ||
</p> | ||
</body> | ||
</html> |
4 changes: 2 additions & 2 deletions
4
...lank/src/main/webapp/example/Register.jsp → ...n/webapp/WEB-INF/jsp/example/Register.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,3 +1,3 @@ | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<s:include value="Missing.jsp"/> |
36 changes: 18 additions & 18 deletions
36
...blank/src/main/webapp/example/Welcome.jsp → ...in/webapp/WEB-INF/jsp/example/Welcome.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,18 +1,18 @@ | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<html> | ||
<head> | ||
<title>Welcome</title> | ||
<link href="<s:url value="/css/examplecss"/>" rel="stylesheet" | ||
type="text/css"/> | ||
</head> | ||
|
||
<body> | ||
<h3>Commands</h3> | ||
<ul> | ||
<li><a href="<s:url action="Login_input"/>">Sign On</a></li> | ||
<li><a href="<s:url action="Register"/>">Register</a></li> | ||
</ul> | ||
|
||
</body> | ||
</html> | ||
<%@ page contentType="text/html; charset=UTF-8" %> | ||
<%@ taglib prefix="s" uri="/struts-tags" %> | ||
<html> | ||
<head> | ||
<title>Welcome</title> | ||
<link href="<s:url value="/css/examplecss"/>" rel="stylesheet" | ||
type="text/css"/> | ||
</head> | ||
|
||
<body> | ||
<h3>Commands</h3> | ||
<ul> | ||
<li><a href="<s:url action="Login_input"/>">Sign On</a></li> | ||
<li><a href="<s:url action="Register"/>">Register</a></li> | ||
</ul> | ||
|
||
</body> | ||
</html> |
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
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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
Oops, something went wrong.