Skip to content

WW-3717 docs: document the http-method action attribute - #360

Merged
lukaszlenart merged 1 commit into
mainfrom
WW-3717-http-method-attribute
Oct 17, 2026
Merged

lukaszlenart merged 1 commit into
mainfrom
WW-3717-http-method-attribute

Conversation

@lukaszlenart

Copy link
Copy Markdown
Member

Documents WW-3717, implemented in apache/struts#2038 (7.5.0).

Adds an "HTTP Methods" section to Action Configuration:

  • the http-method attribute (7.5 DTD), single value or comma-separated list
  • enforcement by the httpMethod interceptor, the stacks that include it, and the startup warning when it is missing
  • how it combines with the @AllowedHttpMethod / @HttpGet … annotations
  • rejected requests: the resolvable bad-request result, otherwise 405 + Allow
  • a custom status code / message per package via a global bad-request result of type httpheader

Merge together with the 7.5.0 release.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lukaszlenart
lukaszlenart marked this pull request as ready for review October 16, 2026 14:47
@asf-ci

asf-ci commented Oct 16, 2026

Copy link
Copy Markdown

Staged site is ready at https://struts.staged.apache.org/

@lukaszlenart
lukaszlenart merged commit 62a692b into main Oct 17, 2026
1 check passed
@lukaszlenart
lukaszlenart deleted the WW-3717-http-method-attribute branch October 17, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants