- 博客(4)
- 收藏
- 关注
转载 java.lang.NoSuchMethodException
在学习struts2的时有时会出现此异常,现将其总结如下,方便大家参考: 1、 先尝试下看其它的方法能不能用,要是都是这种情况的话,可能是你的Action类没有继承structs里面的DispatchAction或者其它的类。还有你注意下方法的参数列表,类型顺序要正确才行,是按照以下顺序的:ActionMapping mapping,ActionForm form ,HttpServletR
2014-05-23 09:33:23
577
转载 使用spring过程中需要在web.xml中配置的三种情况
(一):解决中文乱码问题,在web.xml中加入配置: encoding org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 encoding /* (二):解决hibernate因Session关闭导致的延迟加载例外(异常
2014-05-06 08:59:30
512
转载 Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
2014-05-03 15:19:26
7515
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人