摘要: 原文链接:http://www.blogjava.net/redhatlinux/archive/2008/08/20/223148.htmlhttp://www.blogjava.net/redhatlinux/archive/2008/09/01/226010.html【总结-含源码】Sprin... 阅读全文
posted @ 2015-08-28 20:57 yunlvrensheng 阅读(328) 评论(0) 推荐(0)
摘要: 【总结-含源码】Spring Security学习总结一(补命名空间配置)Posted on 2008-08-20 10:25 tangtb 阅读(43111) 评论(27) 编辑 收藏 所属分类: Spring 、Spring Security Spring Security学习总结一在认识Spr... 阅读全文
posted @ 2015-08-28 20:56 yunlvrensheng 阅读(427) 评论(0) 推荐(0)
摘要: 在tomcat下部署两个或多个项目时,web.xml文件中最好定义webAppRootKey参数,如果不定义,将会缺省为“webapp.root”,如下: webAppRootKey webapp.root 最好保持每个项目的参数值不同,... 阅读全文
posted @ 2015-08-28 19:17 yunlvrensheng 阅读(335) 评论(0) 推荐(0)
摘要: web.xml中webAppRootKey ------------------------------------------------------------------------------------------------1、 web.xml配置 webAppRootKey w... 阅读全文
posted @ 2015-08-28 18:52 yunlvrensheng 阅读(309) 评论(0) 推荐(0)
摘要: 转自:http://blog.csdn.net/liaoxiaohua1981/article/details/6759206格式定义:[html]view plaincopy contextConfigLocation contextConfigLocationValue作用:该元素用来声明应... 阅读全文
posted @ 2015-08-28 18:40 yunlvrensheng 阅读(302) 评论(0) 推荐(0)
摘要: 前言:数组没有length()这个方法,有length的属性。String有有length()这个方法。1.String字符串String str = "abcdefg";str.length();2.Array数组int[] arr = new int[10];System.out.println... 阅读全文
posted @ 2015-08-28 13:42 yunlvrensheng 阅读(7663) 评论(0) 推荐(0)
摘要: JSONObject与JSONArray的使用一、JAR包简介 要使程序可以运行必须引入JSON-lib包,JSON-lib包同时依赖于以下的JAR包: 1.commons-lang.jar 2.commons-beanutils.jar 3.commons-collections.jar4.com... 阅读全文
posted @ 2015-08-28 09:30 yunlvrensheng 阅读(9990) 评论(0) 推荐(1)
摘要: 参考文献:http://blog.csdn.net/huangwuyi/article/details/54125001.JAR包简介要使程序可以运行必须引入JSON-lib包,JSON-lib包同时依赖于以下的JAR包:commons-lang.jarcommons-beanutils.jarco... 阅读全文
posted @ 2015-08-28 09:29 yunlvrensheng 阅读(301) 评论(0) 推荐(0)
摘要: JSONObject与JSONArray的区别简述:区别在于JSONObject是一个{}包裹起来的一个对象(Object),而JSONArray则是[]包裹起来的一个数组(Array),说白点就是一个是数组一个是对象或字符串。例1:package com.rtt.lltest;import jav... 阅读全文
posted @ 2015-08-28 09:27 yunlvrensheng 阅读(448) 评论(0) 推荐(0)
摘要: 一.下载json 具体到http://www.json.org/上找java-json下载,并把其放到项目源代码中,这样就可以引用其类对象了二.具体转化过程//JSONObjectString jsonMessage = "{\"语文\":\"88\",\"数学\":\"78\",\"计算机\":\... 阅读全文
posted @ 2015-08-28 09:08 yunlvrensheng 阅读(782) 评论(0) 推荐(0)