上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
摘要: 看到一篇关于web.xm文件中标签的讲解,顺带还阐述了容器的工作流程,因此转载此,以供参考,原文地址:与的区别与作用 的作用:web.xml的配置中配置作用1. 启动一个WEB项目的时候,容器(如:Tomcat)会去读它的配置文件web.xml.读两个节点: 和 2.紧接着,容器创建一个Servl... 阅读全文
posted @ 2015-08-30 23:09 yunlvrensheng 阅读(316) 评论(0) 推荐(0)
摘要: 需要初始化的参数比如你的servlet里面有个属性为int total=0默认是0,你想让他初始时50则用init-param 给他赋值init-param面对应的参数名和值,是给servlet在初始化执行init()方法的时候(servlet有doGet doPost 在这之前还有init()方... 阅读全文
posted @ 2015-08-30 22:54 yunlvrensheng 阅读(1385) 评论(0) 推荐(0)
摘要: spring的bean配置文件中p:代表什么p表示对该bean里面的属性进行注入,格式为p:属性名=注入的对象效果与在bean里面使用标签一样Spring2.0中还有一个非常实用的解析 器,SimplePropertyNamespaceHandle,若配置文件中引用http://www.spring... 阅读全文
posted @ 2015-08-30 13:21 yunlvrensheng 阅读(683) 评论(0) 推荐(0)
摘要: 原文链接: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)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页