SSH
文章平均质量分 52
QAQ_
迷茫是因为能力还配不上梦想
展开
-
c3p0数据库连接池老是报错,怒换dpcp连接池
部分错误信息如下: Struts has detected an unhandled exception: Messages: A ResourcePool could not acquire a resource from its primary factory or source. Connections could not be acquired from the underlying原创 2017-03-19 19:42:51 · 1765 阅读 · 0 评论 -
SSH整合之Hibernate4遇见Spring3——Http500org.springframework.orm.hibernate4.SessionHolder cannot be cast to
问题: 今天尝试整对Struts2+Spring+Hibernate三大框架进行整合时,发现了下面这个错误 HTTP Status 500 - org.springframework.orm.hibernate4.SessionHolder cannot be cast to org.springframework.orm.hibernate3.SessionHolder type Exce原创 2017-03-11 17:06:48 · 2092 阅读 · 0 评论 -
SSH整合Demo——完成登录注册
文件目录结构: ApplicationContext.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/s原创 2017-03-14 10:51:34 · 658 阅读 · 0 评论 -
SSH+Ajax实现用户特定身份登录
功能:根据用户输入的用户名和密码,自动读取该账户的状态(锁定或开放),若是开放则允许登录,否则不允许登录Jsp:<s:form id="theform" action="user_login" method="post" namespace="/" theme="simple"> <p class="main">原创 2017-03-26 22:09:26 · 4149 阅读 · 0 评论 -
SSH实现批量删除
实现效果: 以下是部分关键代码: Js实现多项选择<script type="text/javascript"> /*全选JS*/ function CheckAll(thisform){ for (var i=0;i<thisform.elements.length;i++){原创 2017-03-26 22:31:28 · 6557 阅读 · 1 评论 -
SSH2—分页实现
1.PageBean 首先封装分页的基本信息 /** * @author ZSQ 分页封装 */ public class PageBean<T> { private int currPage; //当前页 private int pageSize; //页面大小 private int totalCount;//总记录数 private int totalPa原创 2017-05-11 18:31:32 · 376 阅读 · 0 评论