springboot应用结构

springboot应用结构

  • static:存放所有静态资源,js、css、images等
  • templates:保存所有的模板页面(springboot默认jar包使用嵌入式的tomcat,默认不支持jsp页面,可以使用模板引擎(freemarker等))
  • application.properties:springboot应用的配置文件(springboot使用application.properties或者application.yml为配置文件)