jeudi 7 mars 2019

How to keep JSP files in two or more different folders with Springboot?

I have a demo SpringBoot Project integrated with jsp running fine.

So that jsp files can be detected I have kept them in say /WEB-INF/view/jsp1.

So for that in my application.properties file I have mentioned this two lines-

spring.mvc.view.prefix=/WEB-INF/view/jsp1/

spring.mvc.view.suffix=.jsp

and the application is running fine.

Now if I want to keep some more jsp files this time in /WEB-INF/view/jsp2 folder. How to achieve that?




Aucun commentaire:

Enregistrer un commentaire