Tag

modelandview

1 views collected around this technical thread.

Java Captain
Java Captain
May 27, 2025 · Backend Development

Resolving Thymeleaf Template Not Found Errors in Spring Boot 3.4.3 When Running as a JAR

After encountering Thymeleaf template parsing failures when packaging a Spring Boot 3.4.3 application as a JAR, the author resolves the issue by configuring the template resolver in Java code, disabling Thymeleaf settings in application.yml, and adjusting ModelAndView paths to omit leading slashes.

Backend DevelopmentJavaSpringBoot
0 likes · 3 min read
Resolving Thymeleaf Template Not Found Errors in Spring Boot 3.4.3 When Running as a JAR
Top Architect
Top Architect
Sep 11, 2021 · Backend Development

14 Tips for Writing Spring MVC Controllers

This tutorial explains fourteen practical techniques for building Spring MVC controller classes, covering annotation‑based definitions, interface implementation, extending AbstractController, URL mapping, request method handling, parameter binding, model handling, redirects, form validation, file uploads, dependency injection, and best practices such as single‑responsibility and domain‑specific controllers.

AnnotationsControllerJava
0 likes · 15 min read
14 Tips for Writing Spring MVC Controllers
Selected Java Interview Questions
Selected Java Interview Questions
Apr 29, 2021 · Backend Development

Understanding Spring MVC: From Servlets to DispatcherServlet and Request Handling

This article explains how Spring MVC evolved from basic Servlets to a two‑level controller architecture, detailing the roles of DispatcherServlet, HandlerMapping, HandlerInterceptor, ModelAndView, ViewResolver and View, and shows configuration examples that simplify server‑side development in Java web applications.

Backend DevelopmentDispatcherServletHandlerMapping
0 likes · 16 min read
Understanding Spring MVC: From Servlets to DispatcherServlet and Request Handling