Tagged articles
4 articles
Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 1, 2024 · Backend Development

Master Spring MVC Customization: From WebConfig to YAML Message Converters

This tutorial walks through enabling Spring MVC, configuring type conversion, validation, interceptors, content negotiation, custom YAML message converters, view controllers, view resolvers, and static resource handling in a Spring Boot 2.7.12 application, complete with code examples and output screenshots.

Content negotiationMessage ConverterSpring Boot
0 likes · 9 min read
Master Spring MVC Customization: From WebConfig to YAML Message Converters
Programmer DD
Programmer DD
Jun 17, 2021 · Backend Development

How to Seamlessly Handle XML Requests and Responses in Spring Boot

This tutorial explains how to configure Spring Boot to automatically convert XML payloads into Java objects using message converters, define XML‑Java mappings with Jackson annotations, and create controller endpoints that both consume and produce XML, complete with code examples and Maven setup.

JavaMessage ConverterSpring Boot
0 likes · 6 min read
How to Seamlessly Handle XML Requests and Responses in Spring Boot
Programmer DD
Programmer DD
Sep 29, 2018 · Backend Development

How to Handle XML Requests in Spring Boot Controllers with Message Converters

Learn how to quickly wrap XML requests into objects and return XML responses in Spring Boot by leveraging the HttpMessageConverter mechanism, adding the Jackson XML message converter, defining POJOs with Jackson annotations, and creating controller endpoints that consume and produce XML.

JacksonMessage ConverterSpring Boot
0 likes · 6 min read
How to Handle XML Requests in Spring Boot Controllers with Message Converters