http://www.csdn.net/expert/topic/844/844195.xml?temp=.9682733
http://www.csdn.net/expert/topic/886/886839.xml?temp=.8783686
http://www.csdn.net/expert/topic/736/736726.xml?temp=.4591791
http://www.csdn.net/expert/topic/886/886839.xml?temp=.8783686
http://www.csdn.net/expert/topic/736/736726.xml?temp=.4591791
解决方案 »
- org.apache.jasper.JasperException: Unsupported encoding: gb2312
- 急救!!在线等答案!There is no Action mapped for namespace / and action name
- tomcat的问题
- 看购物车代码时的两个疑问
- 如何上传整个目录?
- jsf inputText设为readonly提交数据为空?
- 大哥,大姐,行行好,帮帮忙吧!!!
- 很急的问题!!
- 打印问题
- 学习JSP,用什么开发工具好?JBuilder可以吗?听说它对JSP支持不够!
- 请教高手,JSP能否像ASP一样将图片以二进制代码形式写入数据库中?
- 高手请进:请问用response.sendRedirect()函数传递的中文参数如何正确识别?
ConnectionPool pool = (ConnectionPool) getServletContext().getAttribute("conPool");
if (pool == null)
{
pool = new ConnectionPool();
getServletContext().setAttribute("conPool",pool);
} Connection conn = pool.getConnection();
//事务处理 再在jsp中通过bean获取连接,
<jsp:useBean id="conPool" class="ConnectionPool" scope="application" /> 连接池id为"conPool"
想知道:这是servlet和jsp用的是同一个连接池?,
还是分别创建了连接池?