摘要: //在spring 事务默认控制下,只有在运行时异常出现时,事务才会回滚,所以,通常的做法是对service方法try{}catch(){throw new RuntimeException();}在service的上层action再一次捕获异常进行处理,返回到页面;此方法还可以调整spring事务... 阅读全文
posted @ 2015-07-22 16:45 flay 阅读(322) 评论(0) 推荐(0)
摘要: org.apache.jasper.JasperException: /commons/meta.jsp(1,1) PWC5988: Page directive: illegal to have multiple occurrences of contentType with different ... 阅读全文
posted @ 2015-07-22 15:39 flay 阅读(475) 评论(0) 推荐(0)
摘要: //在jsp中使用后台service中方法需要在jsp页面引入service bean 1 2 3 4 5 6 7 8 9 阅读全文
posted @ 2015-07-22 11:14 flay 阅读(340) 评论(0) 推荐(0)