From a67af73d48b975882f5c8a790ecbd61e9993f0f4 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Fri, 13 Nov 2026 11:49:31 +0100 Subject: [PATCH] build(deps): upgrade to Apache Struts 7.5.0 and struts-7.5.dtd Bump struts2.version from 7.3.0 to 7.5.0 and switch every Struts config DOCTYPE from struts-6.5.dtd to the new struts-7.5.dtd. Update CLAUDE.md to name 7.5 as the current DOCTYPE. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 2 +- action-chaining/src/main/resources/struts.xml | 4 ++-- basic-struts/src/main/resources/struts.xml | 4 ++-- bean-validation/src/main/resources/struts.xml | 4 ++-- blank/src/main/resources/example.xml | 4 ++-- blank/src/main/resources/struts.xml | 4 ++-- coding-actions/src/main/resources/struts.xml | 4 ++-- control-tags/src/main/resources/struts.xml | 4 ++-- crud/src/main/resources/struts.xml | 4 ++-- debugging-struts/src/main/resources/struts.xml | 4 ++-- dynamic-href/src/main/resources/struts.xml | 4 ++-- exception-handling/src/main/resources/struts.xml | 4 ++-- exclude-parameters/src/main/resources/struts.xml | 4 ++-- expression-cache/src/main/resources/struts.xml | 4 ++-- file-upload/src/main/resources/struts.xml | 4 ++-- form-processing/src/main/resources/struts.xml | 4 ++-- form-tags/src/main/resources/struts.xml | 4 ++-- form-validation/src/main/resources/struts.xml | 4 ++-- form-xml-validation/src/main/resources/struts.xml | 4 ++-- helloworld/src/main/resources/struts.xml | 4 ++-- http-session/src/main/resources/struts.xml | 4 ++-- interceptors/src/main/resources/struts.xml | 4 ++-- jasperreports/src/main/resources/struts.xml | 2 +- jfreechart/src/main/resources/struts.xml | 4 ++-- json-customize/src/main/resources/struts.xml | 4 ++-- json/src/main/resources/struts.xml | 4 ++-- mailreader2/src/main/resources/mailreader-default.xml | 4 ++-- mailreader2/src/main/resources/mailreader-support.xml | 4 ++-- mailreader2/src/main/resources/struts.xml | 4 ++-- message-resource/src/main/resources/struts.xml | 4 ++-- message-store/src/main/resources/example.xml | 4 ++-- message-store/src/main/resources/struts.xml | 4 ++-- pom.xml | 2 +- preparable-interface/src/main/resources/struts.xml | 4 ++-- quarkus/src/main/resources/struts.xml | 4 ++-- rest-angular/src/main/resources/struts.xml | 4 ++-- restful2actionmapper/src/main/resources/struts.xml | 4 ++-- shiro-basic/src/main/resources/struts.xml | 4 ++-- sitemesh3/src/main/resources/struts.xml | 4 ++-- spring-struts/src/main/resources/struts.xml | 4 ++-- struts-parameter/src/main/resources/struts.xml | 4 ++-- text-provider/src/main/resources/struts.xml | 4 ++-- themes-override/src/main/resources/struts.xml | 4 ++-- themes/src/main/resources/struts.xml | 4 ++-- tiles/src/main/resources/example.xml | 4 ++-- tiles/src/main/resources/struts.xml | 4 ++-- type-conversion/src/main/resources/example.xml | 4 ++-- type-conversion/src/main/resources/struts.xml | 4 ++-- unit-testing/src/main/resources/struts.xml | 4 ++-- unknown-handler/src/main/resources/struts.xml | 4 ++-- using-tags/src/main/resources/struts.xml | 4 ++-- validation-messages/src/main/resources/struts.xml | 4 ++-- wildcard-method-selection/src/main/resources/struts.xml | 4 ++-- wildcard-regex/src/main/resources/form.xml | 4 ++-- wildcard-regex/src/main/resources/store.xml | 4 ++-- wildcard-regex/src/main/resources/struts.xml | 4 ++-- 56 files changed, 109 insertions(+), 109 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0b578db9..f2f7e753 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -44,7 +44,7 @@ tutorial link and the URL to open. These examples are teaching material, so keep config files on the current standard: -- Struts config DOCTYPE: `struts-6.5.dtd` (`https://struts.apache.org/dtds/struts-6.5.dtd`); +- Struts config DOCTYPE: `struts-7.5.dtd` (`https://struts.apache.org/dtds/struts-7.5.dtd`); `web.xml` on `web-app_6_0.xsd`, `version="6.0"`; Jakarta (`jakarta.*`) namespaces only. - **`@StrutsParameter` is required** for request parameters to reach an action (`struts.parameters.requireAnnotations=true` is the default). A missing annotation silently drops diff --git a/action-chaining/src/main/resources/struts.xml b/action-chaining/src/main/resources/struts.xml index b5fe8520..ec7c6abf 100644 --- a/action-chaining/src/main/resources/struts.xml +++ b/action-chaining/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/basic-struts/src/main/resources/struts.xml b/basic-struts/src/main/resources/struts.xml index 12fc5dad..4904a513 100644 --- a/basic-struts/src/main/resources/struts.xml +++ b/basic-struts/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/bean-validation/src/main/resources/struts.xml b/bean-validation/src/main/resources/struts.xml index c902e92f..828e077c 100755 --- a/bean-validation/src/main/resources/struts.xml +++ b/bean-validation/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/blank/src/main/resources/example.xml b/blank/src/main/resources/example.xml index 06f24c2d..bcdd9030 100644 --- a/blank/src/main/resources/example.xml +++ b/blank/src/main/resources/example.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/blank/src/main/resources/struts.xml b/blank/src/main/resources/struts.xml index a0aeaf82..f1b895db 100644 --- a/blank/src/main/resources/struts.xml +++ b/blank/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/coding-actions/src/main/resources/struts.xml b/coding-actions/src/main/resources/struts.xml index cce0c02b..a878eebd 100644 --- a/coding-actions/src/main/resources/struts.xml +++ b/coding-actions/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/control-tags/src/main/resources/struts.xml b/control-tags/src/main/resources/struts.xml index a168b353..1e3c4166 100755 --- a/control-tags/src/main/resources/struts.xml +++ b/control-tags/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/crud/src/main/resources/struts.xml b/crud/src/main/resources/struts.xml index 1bc0a2db..0e921865 100755 --- a/crud/src/main/resources/struts.xml +++ b/crud/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/debugging-struts/src/main/resources/struts.xml b/debugging-struts/src/main/resources/struts.xml index b34df267..14aff8fc 100644 --- a/debugging-struts/src/main/resources/struts.xml +++ b/debugging-struts/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/dynamic-href/src/main/resources/struts.xml b/dynamic-href/src/main/resources/struts.xml index 637745e6..9a3a518e 100644 --- a/dynamic-href/src/main/resources/struts.xml +++ b/dynamic-href/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/exception-handling/src/main/resources/struts.xml b/exception-handling/src/main/resources/struts.xml index 728cbcf3..4dbd8b05 100644 --- a/exception-handling/src/main/resources/struts.xml +++ b/exception-handling/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/exclude-parameters/src/main/resources/struts.xml b/exclude-parameters/src/main/resources/struts.xml index d655346a..c6029991 100644 --- a/exclude-parameters/src/main/resources/struts.xml +++ b/exclude-parameters/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/expression-cache/src/main/resources/struts.xml b/expression-cache/src/main/resources/struts.xml index 91e38839..c15b7a87 100644 --- a/expression-cache/src/main/resources/struts.xml +++ b/expression-cache/src/main/resources/struts.xml @@ -20,8 +20,8 @@ */ --> + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/file-upload/src/main/resources/struts.xml b/file-upload/src/main/resources/struts.xml index ee39bc50..44cb82d5 100644 --- a/file-upload/src/main/resources/struts.xml +++ b/file-upload/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/form-processing/src/main/resources/struts.xml b/form-processing/src/main/resources/struts.xml index 33f66ceb..c5cc167e 100644 --- a/form-processing/src/main/resources/struts.xml +++ b/form-processing/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/form-tags/src/main/resources/struts.xml b/form-tags/src/main/resources/struts.xml index 06f572cb..f05e5690 100644 --- a/form-tags/src/main/resources/struts.xml +++ b/form-tags/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/form-validation/src/main/resources/struts.xml b/form-validation/src/main/resources/struts.xml index f8112bf2..35a8f77f 100644 --- a/form-validation/src/main/resources/struts.xml +++ b/form-validation/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/form-xml-validation/src/main/resources/struts.xml b/form-xml-validation/src/main/resources/struts.xml index 952922b2..87e8c611 100644 --- a/form-xml-validation/src/main/resources/struts.xml +++ b/form-xml-validation/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/helloworld/src/main/resources/struts.xml b/helloworld/src/main/resources/struts.xml index dff0c8c9..600ed4bc 100755 --- a/helloworld/src/main/resources/struts.xml +++ b/helloworld/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/http-session/src/main/resources/struts.xml b/http-session/src/main/resources/struts.xml index 28bc7943..dc90d7f1 100644 --- a/http-session/src/main/resources/struts.xml +++ b/http-session/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/interceptors/src/main/resources/struts.xml b/interceptors/src/main/resources/struts.xml index 204cf83d..9058bbaf 100644 --- a/interceptors/src/main/resources/struts.xml +++ b/interceptors/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/jasperreports/src/main/resources/struts.xml b/jasperreports/src/main/resources/struts.xml index 9b8b6a6f..d49cba09 100644 --- a/jasperreports/src/main/resources/struts.xml +++ b/jasperreports/src/main/resources/struts.xml @@ -1,5 +1,5 @@ - + diff --git a/jfreechart/src/main/resources/struts.xml b/jfreechart/src/main/resources/struts.xml index 96d09271..57d1c02a 100644 --- a/jfreechart/src/main/resources/struts.xml +++ b/jfreechart/src/main/resources/struts.xml @@ -21,8 +21,8 @@ --> + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/json-customize/src/main/resources/struts.xml b/json-customize/src/main/resources/struts.xml index e82637c7..8f5b9cba 100644 --- a/json-customize/src/main/resources/struts.xml +++ b/json-customize/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/json/src/main/resources/struts.xml b/json/src/main/resources/struts.xml index 4564a00b..920466e3 100644 --- a/json/src/main/resources/struts.xml +++ b/json/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/mailreader2/src/main/resources/mailreader-default.xml b/mailreader2/src/main/resources/mailreader-default.xml index 7f2c8861..25beee32 100644 --- a/mailreader2/src/main/resources/mailreader-default.xml +++ b/mailreader2/src/main/resources/mailreader-default.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/mailreader2/src/main/resources/mailreader-support.xml b/mailreader2/src/main/resources/mailreader-support.xml index fe36cae4..1fc60486 100644 --- a/mailreader2/src/main/resources/mailreader-support.xml +++ b/mailreader2/src/main/resources/mailreader-support.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/mailreader2/src/main/resources/struts.xml b/mailreader2/src/main/resources/struts.xml index 89ede247..a56fdad0 100644 --- a/mailreader2/src/main/resources/struts.xml +++ b/mailreader2/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/message-resource/src/main/resources/struts.xml b/message-resource/src/main/resources/struts.xml index ca438958..8c104214 100644 --- a/message-resource/src/main/resources/struts.xml +++ b/message-resource/src/main/resources/struts.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd"> diff --git a/message-store/src/main/resources/example.xml b/message-store/src/main/resources/example.xml index d2e73a1d..3057a9fa 100644 --- a/message-store/src/main/resources/example.xml +++ b/message-store/src/main/resources/example.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Struts Configuration 7.5//EN" + "https://struts.apache.org/dtds/struts-7.5.dtd">