IDE都支持使用Spring的项目创建Spring的项目创建向导,快速创建一个SpringBoot项目;
选择我们需要的模块;向导会联网创建SpringBoot项目;
默认生成的SpringBoot项目;
a.主程序已经生成好了,我们只需要我们编写自己的逻辑
b.resources文件夹中目录结构
a1.static:保存所有的静态资源;js css images;
a2:templates:保存所有的模版页面;(SpringBoot默认jar包使用嵌入式的Tomcat,默认不支持JSP页面);可以使用模版引擎(freemarker、thymeleaf);
a3;application.propertis:SpringBoot应用的配置文件;可以修改一些默认配置;

相关文章:

  • 2021-12-27
  • 2021-05-15
  • 2021-04-20
猜你喜欢
  • 2022-12-23
  • 2021-11-28
  • 2021-07-24
  • 2021-04-03
  • 2021-06-03
  • 2021-09-02
  • 2021-05-21
相关资源
相似解决方案