-
struts配置文件:web.xml struts.xml hibernate配置文件:hibernate.ctf.hbn() 映射文件(有实体类后)查看全部
-
注解开发jar包现在不用,struts2-spring在spring的jar包也有一样的二选一查看全部
-
新建类 product查看全部
-
在spring中,只需要有set方法,即可完成注入操作查看全部
-
Spring监听器默认加载WEB-INF下的applicationContext.xml,需要通过以上配置更改加载至class下的applicationContext.xml。查看全部
-
Web.xml配置struts,filter-name的名字自行拟定,但要上下一致。查看全部
-
通过以上方法,可以自动完成web层到业务层的注入,即将页面的数据传去service中查看全部
-
在struts包的配置文件中,默认设置自动装配name,即从页面中,从s标签中获取name值至action 类中处理,但必须在action 类中加入getModel的方法,并返回其模型对象查看全部
-
在jsp页面中,使用theme=simple表示不采用struts提供的样式查看全部
-
struts2-convention-plugin struts注解开发jar包查看全部
-
开启注解事务是什么查看全部
-
在DAO中注入SessionFactory查看全部
-
spring的jar(AOP与IOC开发)查看全部
-
open type 快捷键:ctrl +shift +t查看全部
-
ctrl+shift+t 快速搜索类 然后找到类路径 粘贴查看全部
举报
0/150
提交
取消