Use thymeleaf template for some pages and rest for some for building gradle project

79 views Asked by At

I am new to this please someone tell me whether I can use Thymeleaf template for some pages and REST for some for building Gradle project?

I created my login page retrieving through MySQL database using Thymeleaf template now for adding other information in my database I want to use RESTful services,

1

There are 1 answers

0
ndrone On BEST ANSWER

Yes you can do both have REST controllers, and also have other controllers that serve up Thymeleaf pages.