Skip to content
Tagged articles

WebMvcConfigurer

13 articles · Page 1 of 1
Java Architect Handbook
Java Architect Handbook
Nov 11, 2026 · Backend Development

SpringDoc Tutorial: Modern OpenAPI 3 Documentation for Spring Boot

This tutorial introduces SpringDoc as a modern replacement for SpringFox/Swagger UI in Spring Boot projects, covering zero-config setup, programmatic and declarative API grouping, handling WebMvcConfigurer and Spring Security conflicts, with code examples for OpenAPI 3 compliance.

API DocumentationOpenAPI 3Spring Boot
0 likes · 16 min read
SpringDoc Tutorial: Modern OpenAPI 3 Documentation for Spring Boot
Java Tech Workshop
Java Tech Workshop
Nov 10, 2026 · Backend Development

Why @EnableWebMvc Disables Spring Boot's Web MVC Auto-Configuration

This article explains how @EnableWebMvc imports WebMvcConfigurationSupport, triggering @ConditionalOnMissingBean to skip WebMvcAutoConfiguration entirely, causing loss of static resource mapping, custom message converters, content negotiation, and spring.mvc.* properties, while showing the correct pattern of implementing WebMvcConfigurer without the annotation.

@EnableWebMvcAuto-ConfigurationConditionalOnMissingBean
0 likes · 14 min read
Why @EnableWebMvc Disables Spring Boot's Web MVC Auto-Configuration
Java Tech Enthusiast
Java Tech Enthusiast
Nov 2, 2026 · Backend Development

SpringDoc vs Swagger: Complete Spring Boot API Documentation Migration Guide

This tutorial explains why SpringDoc replaces the deprecated SpringFox for Spring Boot 2.6+/3.x, demonstrates zero-config setup with springdoc-openapi-starter-webmvc-ui 2.5.0, covers programmatic and declarative API grouping via GroupedOpenApi beans or YAML, and shows how to resolve static resource conflicts with WebMvcConfigurer and SpringSecurity permitAll rules for /swagger-ui/**, /v3/api-docs/**, and /webjars/**.

API DocumentationGroupedOpenApiOpenAPI 3
0 likes · 15 min read
SpringDoc vs Swagger: Complete Spring Boot API Documentation Migration Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 8, 2026 · Backend Development

Spring Boot 3: Auto-Convert URL JSON to Objects with @ConvertJson Annotation

This tutorial demonstrates how to create a custom @ConvertJson annotation in Spring Boot 3.5.0 that automatically fetches JSON from a URL parameter and converts it into a typed Java object, using HandlerMethodArgumentResolver and BeanPostProcessor for both method-parameter and field-level injection with SpEL support.

BeanPostProcessorCustom AnnotationHandlerMethodArgumentResolver
0 likes · 12 min read
Spring Boot 3: Auto-Convert URL JSON to Objects with @ConvertJson Annotation
Java Tech Workshop
Java Tech Workshop
Mar 29, 2026 · Backend Development

Custom SpringBoot Interceptor for Login Authentication

This article explains how to implement a SpringBoot HandlerInterceptor to perform login authentication, configure it with a whitelist, return a unified 401 JSON response, and extend it with Redis token validation, advanced usage, and a comparison with servlet filters.

HandlerInterceptorInterceptorLogin Authentication
0 likes · 9 min read
Custom SpringBoot Interceptor for Login Authentication
Cloud Architecture
Cloud Architecture
Mar 7, 2026 · Backend Development

Mastering Spring MVC Configuration: In‑Depth Guide to WebMvcConfigurer

This guide explains how the WebMvcConfigurer callback interface lets developers extend Spring MVC behavior without disabling Spring Boot’s auto‑configuration, covering the full request lifecycle, common customizations such as interceptors, CORS, message converters, static resources, async support, and production‑grade pitfalls.

AsyncSupportCORSInterceptor
0 likes · 10 min read
Mastering Spring MVC Configuration: In‑Depth Guide to WebMvcConfigurer
Java Captain
Java Captain
Jun 9, 2025 · Backend Development

How to Use @PathVariable and Map Static Resources in Spring Boot

This guide explains how to use @PathVariable to capture URL segments, configure static resource mapping for local files, and centralize path values in Spring Boot applications, providing code examples for request mapping, resource handler registration, and property injection.

JavaPathVariableSpring Boot
0 likes · 3 min read
How to Use @PathVariable and Map Static Resources in Spring Boot
Shepherd Advanced Notes
Shepherd Advanced Notes
Aug 23, 2024 · Backend Development

Which Spring MVC Extension Points Parse Parameters and Handle Return Values?

This article explains the purpose and usage of Spring MVC’s HandlerMethodArgumentResolver and HandlerMethodReturnValueHandler extension points, demonstrates how to implement custom argument resolvers and return‑value handlers, discusses common pitfalls such as handler ordering, and shows how to replace the default processors to achieve unified request and response processing.

HandlerMethodArgumentResolverHandlerMethodReturnValueHandlerJava
0 likes · 16 min read
Which Spring MVC Extension Points Parse Parameters and Handle Return Values?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 25, 2022 · Backend Development

Mastering Spring MVC Auto-Configuration in Spring Boot 2.4.12

This guide explains how Spring Boot 2.4.12 automatically configures Spring MVC components such as view resolvers, converters, and message handlers, and shows how to customize them via WebMvcConfigurer, WebMvcRegistrations, HttpMessageConverters, and @JsonComponent, including code examples for full control over the Web MVC setup.

HttpMessageConvertersJSON SerializationSpring Boot
0 likes · 8 min read
Mastering Spring MVC Auto-Configuration in Spring Boot 2.4.12
Code Ape Tech Column
Code Ape Tech Column
May 10, 2021 · Backend Development

Mastering CORS in Spring: 5 Ways to Enable Cross‑Origin Requests

This article explains why browsers enforce the same‑origin policy, defines cross‑origin requests, outlines the restrictions of non‑same‑origin interactions, and presents five practical methods—including a global CorsFilter, WebMvcConfigurer, @CrossOrigin annotation, manual header setting, and a custom filter—to implement CORS in Java Spring backends.

BackendCORSCross-Origin
0 likes · 8 min read
Mastering CORS in Spring: 5 Ways to Enable Cross‑Origin Requests
Code Ape Tech Column
Code Ape Tech Column
Oct 8, 2020 · Backend Development

Extending and Fully Controlling Spring MVC in Spring Boot

This article explains how to extend Spring MVC in Spring Boot by implementing WebMvcConfigurer, how the default auto‑configuration works, and why using @EnableWebMvc fully takes over MVC configuration, while also providing code examples and resource links for deeper learning.

@EnableWebMvcBackend DevelopmentMVC
0 likes · 8 min read
Extending and Fully Controlling Spring MVC in Spring Boot