| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | "http://struts.apache.org/dtds/struts-2.0.dtd"> | |
| 6 | 6 | ||
| 7 | 7 | <struts> | |
| 8 | - <package name="S2-001" extends="struts-default"> | ||
| 8 | + <package name="S2-002" extends="struts-default"> | ||
| 9 | 9 | <action name="login" class="com.drunkbaby.action.LoginAction" method="execute"> | |
| 10 | 10 | <result name="success">welcome.jsp</result> | |
| 11 | 11 | <result name="error">index.jsp</result> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | "http://java.sun.com/dtd/web-app_2_3.dtd" > | |
| 4 | 4 | ||
| 5 | 5 | <web-app> | |
| 6 | - <display-name>S2-001 Example</display-name> | ||
| 6 | + <display-name>S2-002 Example</display-name> | ||
| 7 | 7 | <filter> | |
| 8 | 8 | <filter-name>struts2</filter-name> | |
| 9 | 9 | <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,10 +5,10 @@ | |||
| 5 | 5 | <html> | |
| 6 | 6 | <head> | |
| 7 | 7 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| 8 | - <title>S2-001</title> | ||
| 8 | + <title>S2-002</title> | ||
| 9 | 9 | </head> | |
| 10 | 10 | <body> | |
| 11 | - <h2>S2-001 Demo</h2> | ||
| 11 | + <h2>S2-002 Demo</h2> | ||
| 12 | 12 | <s:url action="login" includeParams="all"></s:url> | |
| 13 | 13 | <s:a href="%{url}">click</s:a> | |
| 14 | 14 | </body> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | <html> | |
| 6 | 6 | <head> | |
| 7 | 7 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| 8 | - <title>S2-001</title> | ||
| 8 | + <title>S2-002</title> | ||
| 9 | 9 | </head> | |
| 10 | 10 | <body> | |
| 11 | 11 | <p>Hello <s:property value="username"></s:property></p> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | "http://struts.apache.org/dtds/struts-2.0.dtd"> | |
| 6 | 6 | ||
| 7 | 7 | <struts> | |
| 8 | - <package name="S2-001" extends="struts-default"> | ||
| 8 | + <package name="S2-002" extends="struts-default"> | ||
| 9 | 9 | <action name="login" class="com.drunkbaby.action.LoginAction" method="execute"> | |
| 10 | 10 | <result name="success">welcome.jsp</result> | |
| 11 | 11 | <result name="error">index.jsp</result> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments