- /WEB-INF/validation/index.jsp
+ index.jsp
- quiz-basic.jsp
- quiz-success.jsp
+ /WEB-INF/validation/quiz-basic.jsp
+ /WEB-INF/validation/quiz-success.jsp
- quiz-client.jsp
- quiz-success.jsp
+ /WEB-INF/validation/quiz-client.jsp
+ /WEB-INF/validation/quiz-success.jsp
- quiz-client-css.jsp
- quiz-success.jsp
+ /WEB-INF/validation/quiz-client-css.jsp
+ /WEB-INF/validation/quiz-success.jsp
- quiz-ajax.jsp
- quiz-success.jsp
+ /WEB-INF/validation/quiz-ajax.jsp
+ /WEB-INF/validation/quiz-success.jsp
diff --git a/apps/showcase/src/main/webapp/WEB-INF/fileupload/multiple-success.jsp b/apps/showcase/src/main/webapp/WEB-INF/fileupload/multiple-success.jsp
new file mode 100644
index 000000000..3ce6d84bb
--- /dev/null
+++ b/apps/showcase/src/main/webapp/WEB-INF/fileupload/multiple-success.jsp
@@ -0,0 +1,65 @@
+
+<%@ page
+ language="java"
+ contentType="text/html; charset=UTF-8"
+ pageEncoding="UTF-8"%>
+<%@ taglib prefix="s" uri="/struts-tags" %>
+
+
+ Struts2 Showcase - Fileupload sample - Multiple fileupload
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
File ():
+
+ - ContentType:
+ - FileName:
+ - File:
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/apps/showcase/src/main/webapp/WEB-INF/tags/non-ui/ifTag/testIf.jsp b/apps/showcase/src/main/webapp/WEB-INF/tags/non-ui/ifTag/testIf.jsp
index f9fe49997..a0d52a677 100644
--- a/apps/showcase/src/main/webapp/WEB-INF/tags/non-ui/ifTag/testIf.jsp
+++ b/apps/showcase/src/main/webapp/WEB-INF/tags/non-ui/ifTag/testIf.jsp
@@ -18,6 +18,7 @@
* under the License.
*/
-->
+<%@page import="org.apache.struts2.showcase.hangman.HangmanConstants" %>
<%@taglib prefix="s" uri="/struts-tags" %>
@@ -635,5 +636,18 @@
+
+
+
+ A secondary test for this JSP visually verifies expression access to a public constant.
+ A direct access to the same public constant via scriptlet provides secondary verification.
+
+
+
+ Test public static (constant) access (expression). Value:
+
+
+ Test public static (constant) access (scriptlet). Value: <%=org.apache.struts2.showcase.hangman.HangmanConstants.HANGMAN_SESSION_KEY%>
+
diff --git a/apps/showcase/src/main/webapp/WEB-INF/token/example4.ftl b/apps/showcase/src/main/webapp/WEB-INF/token/example4.ftl
index 46a1ec064..19dac0114 100644
--- a/apps/showcase/src/main/webapp/WEB-INF/token/example4.ftl
+++ b/apps/showcase/src/main/webapp/WEB-INF/token/example4.ftl
@@ -50,7 +50,7 @@
<@s.form action="transfer4">
<@s.token/>
- <@s.textfield label="Amount" name="amount" required="true" value="400"/>
+ <@s.textfield label="Amount" name="amount" required=true value="400"/>
<@s.submit value="Transfer money" cssClass="btn btn-primary"/>
@s.form>