会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
现在开始
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2021年11月29日
Java常见数据结构以及特点、使用场景
摘要: Java常见数据结构以及特点Java中常见的数据结构,主要分为Collection和Map两种主要接口,程序中的数据结构是继承这些接口的数据结构类。 Collection接口: List 接口继承:ArrayList、 Vector、 LinkedList等实现; Set 接口继承:HashSet、
阅读全文
posted @ 2021-11-29 13:28 现在开始JAVA
阅读(523)
评论(0)
推荐(0)
2021年11月17日
springboot依赖
摘要: 1 <!-- thymeleaf依赖--> 2 <dependency> 3 <groupId>org.thymeleaf</groupId> 4 <artifactId>thymeleaf-spring5</artifactId> 5 </dependency> 6 <dependency> 7
阅读全文
posted @ 2021-11-17 22:43 现在开始JAVA
阅读(29)
评论(0)
推荐(0)
2021年10月31日
文件上传和下载
摘要: 1:导入包: 1 <dependencies> 2 <!--文件上传--> 3 <dependency> 4 <groupId>commons-fileupload</groupId> 5 <artifactId>commons-fileupload</artifactId> 6 <version>
阅读全文
posted @ 2021-10-31 17:55 现在开始JAVA
阅读(60)
评论(0)
推荐(0)
2021年10月28日
spring拦截器配置和实现
摘要: 1:配置(applicationContext.xml中): 1 <!-- 拦截器配置 --> 2 <mvc:interceptors> 3 <mvc:interceptor> 4 <!-- 包括这个请求下面的所有的请求 --> 5 <mvc:mapping path="/**"/> 6 <bean
阅读全文
posted @ 2021-10-28 21:55 现在开始JAVA
阅读(213)
评论(0)
推荐(0)
2021年10月26日
mybatis中使用like匹配查询的错误
摘要: 提示: Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException
阅读全文
posted @ 2021-10-26 23:01 现在开始JAVA
阅读(309)
评论(0)
推荐(0)
2021年10月12日
SpringMVC中将时间戳转换成自定义格式输出
摘要: 类中的方法: 1 public String json3() throws JsonProcessingException { 2 3 ObjectMapper mapper = new ObjectMapper(); 4 5 // 不使用时间戳格式 6 mapper.configure(Seria
阅读全文
posted @ 2021-10-12 22:43 现在开始JAVA
阅读(162)
评论(0)
推荐(0)
springmvc中处理json乱码的配置
摘要: servlet.xml中添加 1 <mvc:annotation-driven> 2 <mvc:message-converters register-defaults="true"> 3 <bean class="org.springframework.http.converter.StringH
阅读全文
posted @ 2021-10-12 22:21 现在开始JAVA
阅读(45)
评论(0)
推荐(0)
2021年10月11日
springmvc自带过滤器的配置
摘要: web.xml中添加 1 <filter> 2 <filter-name>encoding</filter-name> 3 <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> 4 <i
阅读全文
posted @ 2021-10-11 23:09 现在开始JAVA
阅读(427)
评论(0)
推荐(0)
2021年9月15日
spring利用aop横切配置事务
摘要: xml中的配置: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <beans xmlns="http://www.springframework.org/schema/beans" 3 xmlns:xsi="http://www.w3.org/2001/XML
阅读全文
posted @ 2021-09-15 23:37 现在开始JAVA
阅读(80)
评论(0)
推荐(0)
2021年9月13日
AOP面向切面编程的三种方式
摘要: 一:Spring API接口方式 1.1:applicationContext.xml 1 <bean id="userService" class="com.lieyan.service.UserServiceImpl"/> 2 <bean id="log" class="com.lieyan.l
阅读全文
posted @ 2021-09-13 23:00 现在开始JAVA
阅读(270)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告