The resource directory in SpringBoot’s standard project is as follows

We can also create two directories in the resources directory: public and resource. Each of these directories can be used to store static resources. The access priority is Resource >static(default)>public, where templates is the template engine and, like our WEB-INF, requires jump access to the Controller

In static resources, we can access it with: localhost:88080/ resource name

The index.html here can also be left unwritten and accessed by default