Skip to content

Conversation

Dongnyoung
Copy link
Contributor

@Dongnyoung Dongnyoung commented Sep 8, 2025

Supersedes #35430

Summary

This PR reworks the mvc-jsp section following the review feedback:

  • Replace the XML <bean> declaration with a higher-level JavaConfig configureViewResolvers(ViewResolverRegistry registry) snippet as the default example.
  • Add a complementary <mvc:view-resolvers> XML example within a note for legacy configuration.
  • Remove duplication of default prefix/suffix values, instead pointing to the Javadoc.

Motivation

As suggested in the review, this section is not the right place to document low-level defaults.
By focusing on configuration style and best practices, while still covering XML for legacy users, the documentation stays concise and aligned with Spring’s reference doc guidelines.

Dongnyoung added 4 commits May 6, 2025 20:12
…ttpRequest

This pull request fixes a grammatical mistake in the JavaDoc of the setResponse method in MockClientHttpRequest.

- Original: "the this request"
- Changed to: "this request"

This change improves the clarity and quality of the documentation.

Signed-off-by: DongNyoung Lee <[email protected]>
Fix grammatical error in JavaDoc of setResponse method in MockClientHttpRequest.
Signed-off-by: DongNyoung Lee <[email protected]>
Signed-off-by: DongNyoung Lee <[email protected]>
@sdeleuze sdeleuze self-assigned this Sep 8, 2025
@sdeleuze sdeleuze added type: documentation A documentation task in: web Issues in web modules (web, webmvc, webflux, websocket) and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Sep 8, 2025
@sdeleuze sdeleuze added this to the 7.0.0-M9 milestone Sep 9, 2025
sdeleuze pushed a commit to sdeleuze/spring-framework that referenced this pull request Sep 9, 2025
@sdeleuze sdeleuze closed this in dff489d Sep 9, 2025
sdeleuze added a commit to sdeleuze/spring-framework that referenced this pull request Sep 9, 2025
This commit ensures consistency with the documentation of other view
resolvers.

See spring-projectsgh-35444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: web Issues in web modules (web, webmvc, webflux, websocket) type: documentation A documentation task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants