1.项目功能展示(1)注册 (2)修改地址与级别信息,点击修改 (3)再添加一位成员,进行删除点击第二行的删除(4)登录模块测试输入数据库中没有的信息:输入数据库中存在的信息: 2. Web. Spring提供了ContextLoaderListener,该**实 ...
1.项目功能展示
(1)注册
(2)修改地址与级别信息,点击修改
(3)再添加一位成员,进行删除
点击第二行的删除
(4)登录模块测试
输入数据库中没有的信息:
输入数据库中存在的信息:
2. Web.
Spring提供了ContextLoaderListener,该**实现了ServletContextListener接口,他在Web应用程序启动时被触发。当他创建时会自动查找WEB-INF/下的applicationContext.
<??><web-app ="http://www.w3.org/2001/ ="http:// xsi:schemaLocation="http:// id="WebApp_ID" version="3.1"> <display-name>ssh</display-name> <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext.</param-value> </context-param> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list></web-app>
原标题:SSH案例
关键词:SSH
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。