![](https://img-blog.csdnimg.cn/202012081715193.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Framework
后端开发框架笔记
终极之旅
小白
展开
-
mybatis数组判空、数组循环
参数为String[],参数名array,对array遍历。 <if test="array != null and array.length>0"> and <foreach collection='array' item='arr' index='no' open='(' separator='or' close=')'> FIND_IN_SET(#{arr},direction_one) </foreach&g原创 2020-12-08 17:07:14 · 2311 阅读 · 0 评论 -
idea运行第一个springboot项目
idea自带tomcat,搭建好环境后,直接运行demoApplication,然后在浏览器输入localhost:8080/hello @SpringBootApplication public class DemoApplication { public static void main(String[] args) { SpringApplication.ru原创 2018-01-16 10:02:47 · 1911 阅读 · 0 评论 -
idea开启tomcat后,不能访问localhost:8080页面的解决方法
配置tomcat 点击deployment的绿色+号,选中tomcat解压路径的ROOT文件夹。再重启tomcat,首页就可以正常访问啦原创 2018-01-16 09:31:35 · 40799 阅读 · 14 评论 -
用过的SpringBoot注解
@component (把普通pojo实例化到spring容器中,相当于配置文件中的) @Component,@Service,@Controller,@Repository注解的类,并把这些类纳入进spring容器中管理。原创 2019-06-28 15:48:03 · 200 阅读 · 0 评论