SSH整合配置文件概括
2017-02-19
0
配置方式一:struts.
(版本号, struts2:2.3.15; spring:3.2.0; hibernate:3.6.10)
web.
zjs_bos
openSessionInViewFilter
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
openSessionInViewFilter
/*
contextConfigLocation
classpath:applicationContext.
org.springframework.web.context.ContextLoaderListener
struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
struts2
/*
REQUEST
FORWARD
index.html
index.htm
index.jsp
default.html
default.htm
default.jsp
struts.
/p>
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
(备注,可以在action类中,通过this.getText("username