09 2017 档案
摘要:在网上找了一个例子,试着运行之后,画出了他的时序图。以后便于复习
阅读全文
摘要:java的虚拟机在内存中开辟出一块单独的区域,用来存储字符串对象,这款内存区域被称为字符串缓冲池。 //创建字符串的时候先查找字符串缓冲池中没相同的对象,如果相同的对象就直接返回改对象的引用 //如果没相同的对象就在字符串中创建该对象,然后将该对象的引用返回 String a = "123"; St
阅读全文
摘要:在练习servlet下载例子的时候,刚才报了一个clinetabortException错误。百度了一下说点击取消的时候才有这个错误,可是我明明点击的是下载。 于是回过头来再次检查代码,发现byte定义的大小有问题于是定义了一个大的,下载1G的压缩文件。 1. byte java中的基本数据类型by
阅读全文
摘要:这是目前的理解 附上服务端源码 接口源码 实现类源码
阅读全文
摘要:bean的定义<?xml version="1.0" encoding="UTF-8"?><!-- 此引用需要联网才可以 --><!-- <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/
阅读全文
摘要:Action的实现方式第一种:在web.xml中添加配置<filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteF
阅读全文
摘要:疑问:为什么autowired必须放在set方法里面在测试之中? Annotation-based configuration (The implicitly registered post-processors include AutowiredAnnotationBeanPostProcesso
阅读全文
摘要:学习要顺序渐进、持之以恒 代码编码配置 <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001
阅读全文
摘要:4.5.1 The singleton scope 4.5.1 The singleton scope Only one shared instance of a singleton bean is managed, and all requests for beans with an id or
阅读全文
摘要:在org.springframework.context包中有一个接口叫 applicationContext applicationContext中有一个getBean方法,此方法继承之BeanFactory Methods inherited from interface org.springf
阅读全文
摘要:UserMapper.xml UserMapper.java UserQueryVo.java UserCustom.java 测试程序
阅读全文
摘要:SqlMapConfig.xml Users.xml User.java MybatisFirst.java
阅读全文

浙公网安备 33010602011771号