How to add JSP file in Spring Tool Suite STS

preview_player
Показать описание
Learn how to add and display dynamic JSP pages with Spring Boot in Spring Tool Suite (STS).

We discuses which dependency you will need for your Spring Boot project. Where to save JSP pages, and how to use the controller to point to your pages. We also discus the use of application properties for MVC to find the pages by prefix and suffix. I will copy and paste the code in the comments for you to use.

In the following page we will dive into using JSP tag to display or even loop through data.

Chapters:
0:00 Intro
1:05 Create Project with Dependencies
2:11 Adding JSP Dependencies
2:55 Folder Structure for JSP
4:00 Update application properties for JSP
4:40 Check if STS supports JSP
5:40 Create JSP page from Template
6:42 Create Controller for JSP
8:00 Run Spring Boot Project with JSP

If you run into issues with this or any other Java Spring Boot issues, let me know in the comments and I can help you out.

My setup:

Want to learn Moring about Spring Boot!?!

#sts #java #jsp
Рекомендации по теме
Комментарии
Автор

Thanks, I really appreciate.You saved my time. God bless you bro

mdriadmahamudsirazy
Автор

That was a life-saver; thanks! God bless!

andreonsouza
Автор

In springboot jsp foreach loop to print values to work foreach how to add jstl tags plz suggest me

lathamanimj