会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
墨尘无雪
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2020年6月11日
批量删除中String[]转成Integer[]
摘要: 1.导入依赖 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils --><dependency> <groupId>commons-beanutils</groupId> <artifactId>co
阅读全文
posted @ 2020-06-11 10:50 墨尘无雪
阅读(212)
评论(0)
推荐(0)
2020年6月10日
spring依赖(部分)
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc
阅读全文
posted @ 2020-06-10 22:29 墨尘无雪
阅读(165)
评论(0)
推荐(0)
2020年6月8日
ModelAndView的部分回顾
摘要: ModelAndView的部分回顾 //@RestController @Controller //@SessionAttributes("user") //把modelandview中user attribute对象 拷贝了一份到session的共享控制当中。 public class Test0
阅读全文
posted @ 2020-06-08 22:28 墨尘无雪
阅读(159)
评论(0)
推荐(0)
SringMVC 国际化
摘要: SringMVC 国际化 0.依赖(不只是本案例所需) <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/200
阅读全文
posted @ 2020-06-08 21:58 墨尘无雪
阅读(186)
评论(0)
推荐(0)
spring事物配置,声明式事务管理和基于@Transactional注解的使用
摘要: 事物管理对于企业应用来说是至关重要的,好使出现异常情况,它也可以保证数据的一致性。spring支持编程式事务管理和声明式事务管理两种方式。 编程式事务管理使用TransactionTemplate或者直接使用底层的PlatformTransactionManager。对于编程式事务管理,spring
阅读全文
posted @ 2020-06-08 11:00 墨尘无雪
阅读(748)
评论(0)
推荐(0)
2020年6月5日
spring mvc拦截器和<mvc:annotation-driven />为什么不共存???
摘要: 如果使用了<mvc:annotation-driven />, 它会自动注册DefaultAnnotationHandlerMapping 与AnnotationMethodHandlerAdapter 这两个bean, 所以就没有机会再给它注入interceptors属性,就无法指定拦截器。 当然
阅读全文
posted @ 2020-06-05 09:46 墨尘无雪
阅读(437)
评论(0)
推荐(0)
2020年6月4日
注解之@PathVariable
摘要: 注解之@PathVariable @PathVariable只支持一个属性value,类型是为String,代表绑定的属性名称。默认不传递时,绑定为同名的形参。 用来便捷地提取URL中的动态参数。其英文注释如下: Annotation which indicates that a method pa
阅读全文
posted @ 2020-06-04 13:51 墨尘无雪
阅读(890)
评论(0)
推荐(0)
request.getParameter(“xxx”)的参数的取值
摘要: request.getParameter(“xxx”)的参数的取值 request.getParameter(“xxx”)的参数的取值的几种可能: 1. Html中form表单中标签的name属性: <form name="form" method="post" action="checkUser"
阅读全文
posted @ 2020-06-04 08:35 墨尘无雪
阅读(478)
评论(0)
推荐(0)
2020年6月3日
面试官:什么是AOP?Spring AOP和AspectJ的区别是什么?
摘要: AOP(Aspect Orient Programming),它是面向对象编程的一种补充,主要应用于处理一些具有横切性质的系统级服务,如日志收集、事务管理、安全检查、缓存、对象池管理等。 AOP实现的关键就在于AOP框架自动创建的AOP代理,AOP代理则可分为静态代理和动态代理两大类,其中静态代理是
阅读全文
posted @ 2020-06-03 14:31 墨尘无雪
阅读(10999)
评论(1)
推荐(3)
上一页
1
2
公告