摘要: 1: 配置和启动 (1)配置web.xml 配置<context-param>,其中内容为Spring的配置文件applicationContext.xml。注意<param-name>的内容,必须为"contextConfigLocation";配置<listener>,使用Spring提供的Co 阅读全文
posted @ 2019-10-24 19:57 小马000 阅读(1760) 评论(0) 推荐(1)
摘要: java中特殊的String类型 Java中String是一个特殊的包装类数据有两种创建形式: String s = "abc"; String s = new String("abc"); 第一种先在栈中创建一个对String类的对象引用变量s,然后去查找"abc"是否被保存在字符串常量池中,如果 阅读全文
posted @ 2019-10-24 11:24 小马000 阅读(988) 评论(0) 推荐(2)