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.git
The following commit(s) were added to refs/heads/master by this push:
new a7c4ef8 Excludes non-Struts related requests
a7c4ef8 is described below
commit a7c4ef827dfd59d9f177f7d071a8ce08b53e8534
Author: Lukasz Lenart <[email protected]>
AuthorDate: Thu Dec 3 09:05:23 2020 +0100
Excludes non-Struts related requests
---
apps/showcase/src/main/resources/struts.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/apps/showcase/src/main/resources/struts.xml
b/apps/showcase/src/main/resources/struts.xml
index ee7dbce..0e2ce10 100644
--- a/apps/showcase/src/main/resources/struts.xml
+++ b/apps/showcase/src/main/resources/struts.xml
@@ -44,6 +44,8 @@
<constant name="struts.serve.static" value="true" />
<constant name="struts.serve.static.browserCache" value="false" />
+ <constant name="struts.action.excludePattern"
value=".*\.gif,.*\.css,.*\.js"/>
+
<include file="struts-interactive.xml" />
<include file="struts-hangman.xml" />