S

Shyam Dubey • 3.70K Points
Extraordinary

Q. How do you define a custom banner in Spring Boot?

  • (A) Set banner=true in application.properties
  • (B) Place banner.txt in the resources folder
  • (C) Use @BannerConfig
  • (D) Use banner.xml file
  • Correct Answer - Option(B)
  • Views: 29
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey

Spring Boot loads banner.txt from the classpath and displays it at startup.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.