What is the advantage of using thimeleaf instead of jsp for spring

I am wondering what benefits I can get using Thymeleaf instead of jsp for submission in spring.

+4
source share
1 answer

The generally recognized benefits are:

  • Spring integration is a first-class aspect of Thymeleaf (here here ). “First class” in this context means that it is not accidental or partially implemented, it is a deliberate, well-supported aspect of Timeleaf.
  • Spring , JSP. " " , Spring, Spring EL ( , bean ) JSP.
  • Thymeleaf , ${#calendars.format(...)}, ${#strings.capitalize(...)}, Spring, . beans, Spring MVC, .
  • // Thymeleaf. ; , -. Thymeleaf : (1) .html, () .css; (2) F5 ; (3) . , JSP : (1) ; (2) ; (3) ; (4) ( ) ; (5) .
  • JSP; . , Thymeleaf . ; Spring MVC- Thymeleaf ( / ) Thymeleaf .
  • Thymeleaf HTML ( " " ), ( /), , - / Thymeleaf - JSP.
+6

Source: https://habr.com/ru/post/1684649/


All Articles