struts2和hibernate,jsp成功提交数据到action并且显示出来,但是无法插入到数据库,
在action中新建一个main方法,可以成功插入数据到数据库中typeExceptionreportmessageMethod"addTr"failedforobjec...
在action中新建一个main方法,可以成功插入数据到数据库中
type Exception report
message Method "addTr" failed for object
com.action.addAction@563ce497
description The server encountered an internal error that prevented
it from fulfilling this request.
exception 展开
type Exception report
message Method "addTr" failed for object
com.action.addAction@563ce497
description The server encountered an internal error that prevented
it from fulfilling this request.
exception 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询