Tag

WebMvcConfigurer

1 views collected around this technical thread.

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
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.

Auto‑ConfigurationHttpMessageConvertersJSON serialization
0 likes · 8 min read
Mastering Spring MVC Auto-Configuration in Spring Boot 2.4.12
Top Architect
Top Architect
Jul 24, 2021 · Backend Development

Implementing Login Interception in SpringBoot Using HandlerInterceptor and WebMvcConfigurer

This article explains how to secure a SpringBoot web application by creating a login interceptor with the HandlerInterceptor interface, registering it via WebMvcConfigurer, managing user sessions, and demonstrates the complete code and verification steps to ensure authenticated access.

HandlerInterceptorJavaLogin Interceptor
0 likes · 9 min read
Implementing Login Interception in SpringBoot Using HandlerInterceptor and WebMvcConfigurer
Top Architect
Top Architect
Jan 1, 2021 · Backend Development

Resolving CORS Issues in Spring Boot: Concepts, Headers, and Three Implementation Approaches

This article explains the Same Origin Policy, introduces CORS as its solution, details the required response headers, and provides three practical ways—global configuration, servlet filter, and @CrossOrigin annotation—to enable cross‑origin requests in Spring Boot applications.

CORSCross-Origin Resource SharingCrossOrigin
0 likes · 10 min read
Resolving CORS Issues in Spring Boot: Concepts, Headers, and Three Implementation Approaches
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.

Backend DevelopmentEnableWebMvcMVC
0 likes · 8 min read
Extending and Fully Controlling Spring MVC in Spring Boot