摘要: os.name Operating system name os.arch Operating system architecture os.version Operating system version file.separator File separator ("/" on UNIX) path.separator Path separator (":" on UNIX) line.separator Line separator ("\n" on UNIX) user.name User's account name 阅读全文
posted @ 2013-05-29 10:31 samj114 阅读(120) 评论(0) 推荐(0) 编辑
摘要: <context-param>与<init-param>的区别与作用<context-param>的作用:web.xml的配置中<context-param>配置作用1. 启动一个WEB项目的时候,容器(如:Tomcat)会去读它的配置文件web.xml.读两个节点: <listener></listener> 和 <context-param></context-param>2.紧接着,容器创建一个ServletContext(上下文),这个WEB项目所有部分都将共享这个上下文.3.容器将< 阅读全文
posted @ 2013-05-29 10:12 samj114 阅读(123) 评论(0) 推荐(0) 编辑