You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by gi...@apache.org on 2022/08/07 08:48:43 UTC

[struts-site] branch asf-staging updated: Updates stage by Jenkins

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new 1d6ec2194 Updates stage by Jenkins
1d6ec2194 is described below

commit 1d6ec21945e0f2f61eb5d1183425cfe03bbef1c2
Author: jenkins <bu...@apache.org>
AuthorDate: Sun Aug 7 08:48:40 2022 +0000

    Updates stage by Jenkins
---
 .../getting-started/how-to-create-a-struts2-web-application.html   | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/content/getting-started/how-to-create-a-struts2-web-application.html b/content/getting-started/how-to-create-a-struts2-web-application.html
index ef9852371..61e3f2ce2 100644
--- a/content/getting-started/how-to-create-a-struts2-web-application.html
+++ b/content/getting-started/how-to-create-a-struts2-web-application.html
@@ -379,10 +379,6 @@ mapping to <code class="highlighter-rouge">web.xml</code>. Below is how the <cod
 	<span class="na">xmlns:xsi=</span><span class="s">"http://www.w3.org/2001/XMLSchema-instance"</span>
 	<span class="na">xsi:schemaLocation=</span><span class="s">"http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"</span><span class="nt">&gt;</span>
 	<span class="nt">&lt;display-name&gt;</span>Basic Struts2<span class="nt">&lt;/display-name&gt;</span>
-	<span class="nt">&lt;welcome-file-list&gt;</span>
-		<span class="nt">&lt;welcome-file&gt;</span>index<span class="nt">&lt;/welcome-file&gt;</span>
-	<span class="nt">&lt;/welcome-file-list&gt;</span>
-
 	<span class="nt">&lt;filter&gt;</span>
 		<span class="nt">&lt;filter-name&gt;</span>struts2<span class="nt">&lt;/filter-name&gt;</span>
 		<span class="nt">&lt;filter-class&gt;</span>org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter<span class="nt">&lt;/filter-class&gt;</span>
@@ -393,6 +389,9 @@ mapping to <code class="highlighter-rouge">web.xml</code>. Below is how the <cod
 		<span class="nt">&lt;url-pattern&gt;</span>/*<span class="nt">&lt;/url-pattern&gt;</span>
 	<span class="nt">&lt;/filter-mapping&gt;</span>
 
+	<span class="nt">&lt;welcome-file-list&gt;</span>
+		<span class="nt">&lt;welcome-file&gt;</span>index<span class="nt">&lt;/welcome-file&gt;</span>
+	<span class="nt">&lt;/welcome-file-list&gt;</span>
 <span class="nt">&lt;/web-app&gt;</span>
 </code></pre></div></div>