I am using spring boot framework,to return HTML views from controllers I use this dependency :
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
but it seems that Spring boot does not support JSP files, so I have to remove the first denpendency( as a result spring boot will not know my HTML files ) and add this one :
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>
so what is the solutions to make Spring boot knows both of HTML and JSP files ?
Aucun commentaire:
Enregistrer un commentaire