![](https://img-blog.csdnimg.cn/20190927151026427.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
SpringBoot
SpringBoot
朱朱呀
这个作者很懒,什么都没留下…
展开
-
SpringBoot学习之web
1. Servletcom.zzz.servlet.MyServlet.java文件内容package com.zzz.servlet;import javax.servlet.ServletException;import javax.servlet.annotation.WebServlet;import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpServletRequest;import javax.s原创 2021-10-29 23:22:20 · 74 阅读 · 0 评论 -
SpringBoot学习之—springboot配置文件
1. 生成可直接运行的jar包pom.xml–>idea右侧maven–>Lifecyde.package–>生成target.xxx.jar包–>win+R–>cmd–>java -jar jar包路径–>回车C:\Users\朱朱呀>java -jar E:\work\msb\springboot\springboot-study\target\springboot-study-0.0.1-SNAPSHOT.jar ___ ___原创 2021-10-29 14:45:13 · 267 阅读 · 0 评论 -
SpringBoot学习之—动态banner生成
1. 原始/默认:2. 创建resources.banner.txt文件3. Spring Boot自定义启动Banner在线生成工具https://bootschool.net/ascii4. 将生成的图标拷贝到banner.txt文件下5. 重新启动springboot效果原创 2021-10-29 13:42:47 · 2026 阅读 · 0 评论 -
SpringBoot学习之Controller—第一个springboot程序
第一种:@RestControllerpackage com.mashibing.controller;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RestController;@RestControllerpublic.原创 2021-10-29 10:37:35 · 247 阅读 · 0 评论