You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2016/04/04 11:22:31 UTC
[1/2] struts git commit: Adds missing closing tags
Repository: struts
Updated Branches:
refs/heads/support-2-3 6fee2eb1a -> 17dab897d
Adds missing closing tags
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/45fa8d03
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/45fa8d03
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/45fa8d03
Branch: refs/heads/support-2-3
Commit: 45fa8d03209dce903e32d6fd95a845c125eeb212
Parents: 6fee2eb
Author: Lukasz Lenart <lu...@apache.org>
Authored: Mon Apr 4 11:21:37 2016 +0200
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Mon Apr 4 11:21:37 2016 +0200
----------------------------------------------------------------------
apps/portlet/src/main/webapp/WEB-INF/view/index.jsp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/45fa8d03/apps/portlet/src/main/webapp/WEB-INF/view/index.jsp
----------------------------------------------------------------------
diff --git a/apps/portlet/src/main/webapp/WEB-INF/view/index.jsp b/apps/portlet/src/main/webapp/WEB-INF/view/index.jsp
index 217b158..6f6b97c 100644
--- a/apps/portlet/src/main/webapp/WEB-INF/view/index.jsp
+++ b/apps/portlet/src/main/webapp/WEB-INF/view/index.jsp
@@ -5,11 +5,11 @@ Here you'll find examples of what is possible with the Struts Portlet integratio
<ul>
<li><a href="<s:url action="formExample"/>">A simple form</a></li>
<li><a href="<s:url action="formExamplePrg" method="input"/>">Form example with proper PRG</a></li>
-<li><a href="<s:url action="formExampleModelDriven" method="input"/>">Model driven example</li>
+<li><a href="<s:url action="formExampleModelDriven" method="input"/>">Model driven example</a>/li>
<li><a href="<s:url action="validationExample"/>">Validation</a></li>
<li><a href="<s:url action="tokenExample"/>">Token</a></li>
<li><a href="<s:url action="springExample"/>">Spring integration</a></li>
-<li><a href="<s:url action="fileUpload" method="input"/>">File upload</li>
+<li><a href="<s:url action="fileUpload" method="input"/>">File upload</a></li>
<li><a href="<s:url action="freeMarkerExample"/>">FreeMarker</a></li>
<li><a href="<s:url action="velocityHelloWorld"/>">Velocity</a></li>
<li><a href="<s:url action="index" namespace="/tiles"/>">Form Example Validation with Tiles</a></li>
[2/2] struts git commit: Uses proper doctype version
Posted by lu...@apache.org.
Uses proper doctype version
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/17dab897
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/17dab897
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/17dab897
Branch: refs/heads/support-2-3
Commit: 17dab897d9e7e943aa6ece23ebdacf3d3f009877
Parents: 45fa8d0
Author: Lukasz Lenart <lu...@apache.org>
Authored: Mon Apr 4 11:21:54 2016 +0200
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Mon Apr 4 11:21:54 2016 +0200
----------------------------------------------------------------------
apps/portlet/src/main/webapp/WEB-INF/web.xml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/17dab897/apps/portlet/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/apps/portlet/src/main/webapp/WEB-INF/web.xml b/apps/portlet/src/main/webapp/WEB-INF/web.xml
index f424419..c95c0af 100644
--- a/apps/portlet/src/main/webapp/WEB-INF/web.xml
+++ b/apps/portlet/src/main/webapp/WEB-INF/web.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
-<web-app id="StrutsPortlet">
+<web-app
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+ version="2.5"
+ id="StrutsPortlet">
<context-param>
<param-name>org.apache.tiles.factory.TilesContainerFactory</param-name>