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

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


The following commit(s) were added to refs/heads/master by this push:
     new 21570d7cc Reorder Configurations in web.xml
     new 54234c378 Merge pull request #167 from shrihari689/patch-1
21570d7cc is described below

commit 21570d7cc8c690004a3d595115741d5299d37a64
Author: Shri Hari L <57325503+shrihari...@users.noreply.github.com>
AuthorDate: Thu Aug 4 21:31:53 2022 +0530

    Reorder Configurations in web.xml
---
 source/getting-started/how-to-create-a-struts2-web-application.md | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/source/getting-started/how-to-create-a-struts2-web-application.md 
b/source/getting-started/how-to-create-a-struts2-web-application.md
index 5dc98e63e..c5373ad32 100644
--- a/source/getting-started/how-to-create-a-struts2-web-application.md
+++ b/source/getting-started/how-to-create-a-struts2-web-application.md
@@ -241,10 +241,6 @@ mapping to `web.xml`. Below is how the `web.xml` may look 
after adding the filte
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
        <display-name>Basic Struts2</display-name>
-       <welcome-file-list>
-               <welcome-file>index</welcome-file>
-       </welcome-file-list>
-
        <filter>
                <filter-name>struts2</filter-name>
                
<filter-class>org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter</filter-class>
@@ -255,6 +251,9 @@ mapping to `web.xml`. Below is how the `web.xml` may look 
after adding the filte
                <url-pattern>/*</url-pattern>
        </filter-mapping>
 
+       <welcome-file-list>
+               <welcome-file>index</welcome-file>
+       </welcome-file-list>
 </web-app>
 ```
 

Reply via email to