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