In the Spring Boot project structure, the _____ directory is recommended for placing application's static content.

  • assets
  • resources/static
  • static-content
  • web-resources
In Spring Boot, the recommended directory for placing static content like CSS, images, and JavaScript files is the resources/static directory. When you place static resources there, Spring Boot serves them directly to clients, making it suitable for web assets that do not require dynamic processing by a controller.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *