You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by GitBox <gi...@apache.org> on 2022/08/04 16:09:20 UTC

[GitHub] [struts-site] shrihari689 opened a new pull request, #167: Reorder Configurations in web.xml

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-unsubscribe@struts.apache.org

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


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


[GitHub] [struts-site] lukaszlenart merged pull request #167: Reorder Configurations in web.xml

Posted by GitBox <gi...@apache.org>.
lukaszlenart merged PR #167:
URL: https://github.com/apache/struts-site/pull/167


-- 
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-unsubscribe@struts.apache.org

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


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