wt., 10 paź 2023 o 11:50 Greg Huber <gregh3...@gmail.com> napisał(a):
>
> My bad the filter mapping has changed from /struts/*.
>
> <filter-mapping>
>       <filter-name>struts2</filter-name>
>       <url-pattern>/static/*</url-pattern>
> </filter-mapping>
>
> ....Although the docs don't mention this, if you app is bigger and only
> filter on the .action you need to map the static.
>
> <filter-mapping>
>       <filter-name>struts2</filter-name>
>       <url-pattern>*.action</url-pattern>
> </filter-mapping>
>
> <filter-mapping>
>       <filter-name>struts2</filter-name>
>       <url-pattern>/static/*</url-pattern>
> </filter-mapping>

Great! I extended the description to match your case, is this clear enough?
https://github.com/apache/struts-site/pull/206


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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

Reply via email to