摘要: 问题描述:我欲优化代码,将dao层分为接口和实现类两部分如图:BaseDao接口中:BaseDaoImpl实现类中:ProductionDaoImpl中:至于Service层Action层及jsp都没发生变化可参照上一篇SSH2问题之一中代码运行的话会出现:解决方案:在ProductionDaoImpl的父类BaseDaoImpl的上方加上@Transactional(在父类中标注@Transactional(父类是抽象类也可以)) 阅读全文
posted @ 2012-12-17 19:17 月亮之城 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 问题描述:dao层代码:service层:action层代码:jsp页面代码:出现问题:解决方法:关键字: JSP TLD一下转帖别人博客的解决方式 http://blog.csdn.net/f9inux/archive/2006/11/05/1368428.aspx应用部署运行的时候出现JSP异常, 发生在使用JSTL库的时候: According to TLD or attributedirective in tag file, attribute value does not accept anyexpression_rs, 可能是因为使用了JSP2.0版本, 同时又没有使用JSTL c 阅读全文
posted @ 2012-12-17 17:38 月亮之城 阅读(283) 评论(0) 推荐(0) 编辑