Does thymeleaf really work?

spring officially recommends using thymeleaf instead of jsp,. I try to use it in new projects. It"s just a html suffix file, which is really cool. I asked the front end to write the page and import it into the project myself. The work is not as good as I thought!

after entering url in the browser, the error will be reported directly. I TMD will wonder, pure html can also make mistakes!

The

clipboard.png
:

clipboard.png

clipboard.png
link tag reported an error when it was not closed. This syntax makes the front end very crazy, and I am also very crazy. But this is the thymeleaf syntax mandatory template must comply with the xml specification, this is how people think of this. Is it endured in silence, or is there any configuration, or a way to get around this limitation? If not, I am still a user freemarket, or jsp.

Sep.08,2021

strict mode can be turned off, adding:

to application.properties
spring.thymeleaf.mode=LEGACYHTML5

add dependencies:

   <dependency>
       <groupId>net.sourceforge.nekohtml</groupId>
       <artifactId>nekohtml</artifactId>
       <version>1.9.22</version>
   </dependency>

reference: https://stackoverflow.com/que.

By the way, thymeleaf this self-righteous approach is really unpopular


I also encountered this problem. Pure html also reported an error, which is disgusting.


theamleaf this point is quite disgusting. Often report this kind of label error, and the label requirements are very strict. If you write something complex, you often need to use escape characters, or you will report an error.


me, who is a bit perfectionist, says that thymeleaf is doing a good job (even golang is so strict with the code format).
is it disgusting to give an editor that automatically prompts for formatting errors when editing? On this point, we would like to pay tribute to VS,Eclipse and other great IDE

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4b9b1-27385.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4b9b1-27385.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?