摘要:
LoginInfo loginInfo = new LoginInfo(); xmlNode = _xml.SelectSingleNode(loginUrl); loginInfo.LoginUrl = xmlNode.InnerText; xmlNode = _xml.SelectSingleNode(l... 阅读全文
摘要:
[2013-12-06 11:06:21,715] [C3P0PooledConnectionPoolManager[identityToken->2tl0n98y1iwg7cbdzzq7a|719f1f]-HelperThread-#2] DEBUG - com.mchange.v2.c3p0.impl.NewPooledConnection@484c6b closed by a client.... 阅读全文
摘要:
ContextLoaderListener的作用就是启动Web容器时,自动装配ApplicationContext的配置信息。因为它实现了ServletContextListener这个接口,在web.xml配置这个监听器,启动容器时,就会默认执行它实现的方法。至于ApplicationContext.xml这个配置文件部署在哪,如何配置多个xml文件,书上都没怎么详细说明。现在的方法就是查看它的API文档。在ContextLoaderListener中关联了ContextLoader这个类,所以整个加载配置过程由ContextLoader来完成。看看它的API说明第一段说明ContextLo 阅读全文
摘要:
不使用转换为字符串的函数:import java.util.Scanner;/* 判断回文数 * 由用户输入一个整数,判断是不是回文数(完全对称的数),如果是 打印 true, 否则打印false * 提示:本题仅要求判断一个五位数是不是回文数 * 通过除法运算和求模运算符... 阅读全文
摘要:
jsp中: 报错:The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar 解决办法: 增加包jstl.jar和standard.jar即可 其它:http://blog.csdn.net/lzz313/article/deta... 阅读全文