shrihari689 opened a new pull request, #167:
URL: https://github.com/apache/struts-site/pull/167

   ## Steps to Reproduce
   ```
          <display-name>Archetype Created Web Application</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>
        </filter>
        <filter-mapping>
                <filter-name>struts2</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>
   ```
   This gives us the warning as 👇
   <img width="948" alt="Screenshot 2022-08-04 at 9 35 49 PM" 
src="https://user-images.githubusercontent.com/57325503/182894987-d99cd00f-87bf-4c2d-8d75-36619114eff0.png";>
   
   ## Proposed Solution
   - This happens because order of the configuration is not correct. The _dtd_ 
expects it be in the order as shown in the error message (icon, display-name, 
filter, ...., and then welcome-list)
   - Minor change in order works
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to