From the course: Spring: Spring MVC

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Add folders and static files

Add folders and static files

From the course: Spring: Spring MVC

Start my 1-month free trial

Add folders and static files

- [Instructor] The next step will be to create the source and the resources folders. So lets go to the IDE again. And if you see, in this project structure, lets expand it, under the source folder you have the main folder and then you have the Webapp folder. There's nothing else. So lets first create the folders that we want to be a part of this project. So under the main folder, I'm going to create a directory. Lets name it Java. So this is the place where our source code will reside. Quickly right-click on the Project and say Mark Directory yes, Sources Root. Similarly, another folder on the main directory, which will have the name as Resources. Right-click on this, and mark this as Resources Root. Now, this folder is going to have all the static resources for your application. Which means your CSS files, your images, any java script files that you may want to insert, et cetera. So, that is the one. And…

Contents