摘要:
问题描述: 一切配置和注解都正确,但是无法访问action中的方法 解决问题: 之前将action层的包名命名成了web,改成action就对了 原因: struts2路径访问的规则: struts2-convention-plugin-*jar的包,这个包会默认依次检索包名里含有struts,st 阅读全文
posted @ 2015-10-21 10:26
六月瓜
阅读(200)
评论(0)
推荐(0)
摘要:
The JPA spec. defines the JPA annotation in thejavax.persistencepackage.Hibernate not only implements JPA spec , but extends it to adds more features ... 阅读全文
posted @ 2015-10-21 10:26
六月瓜
阅读(788)
评论(0)
推荐(0)
摘要:
错误描述: 登录成功后将对象放入session(ActionContext.getContext().getSession().put("authUser", authUser)),jsp页面用EL取对象属性时(${authUser.userName})报该错误。解决办法: 在web.xml中配... 阅读全文
posted @ 2015-10-21 10:25
六月瓜
阅读(235)
评论(0)
推荐(0)

浙公网安备 33010602011771号