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.
Loading...
Related Quiz
- How can you reduce the memory footprint of a Spring Boot application?
- You need to implement a feature in a Spring Boot application where data is streamed from the server to the client as soon as it’s available. How would you implement this feature using reactive programming principles?
- The Spring Cloud component _____ provides a simple, scalable, and flexible way to route API requests to microservices.
- What considerations should be taken into account when choosing between Flyway and Liquibase for a large-scale, complex Spring Boot application?
- Which of the following is not a benefit of connection pooling in Spring Boot applications?