欢迎来到天天文库
浏览记录
ID:32756315
大小:67.02 KB
页数:10页
时间:2019-02-15
《ssh配置过程(菜鸟级别)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、1、先将Iog4j.properties这个H志文件放在src目录下这个tl志文件表示输出工程的tl志2、讲struts.xml文件放到src目录下3^在webRoot目录的web.xml文件下配置Struts过滤器2、on二"http://jaua.sun.com/xmL/ns/javaeehttp://java.sun.com/xmL/ns/ja/aee/Meb-app_2_5.xsdu>index.jsp3、param>contextConfigLocation/WEB・INF/spring_*param-value〉struts2CleanUpFilterx/filter-name〉org>apache>struts2>dispatcher・ActionContextCleanllp4、cfilter-name>struts2FiIterorg>apache•struts2fiIter>StrutsPrepareAndExecuteFilterhibernateOpenSessionlnViewFilIter-name〉org•springframew5、ork.orm.hibernate3•support•OpenSessionlnViewFilIter-class>hibernateOpenSessionlnViewFiIterstruts2CleanUpFilter-name〉*>action6、lter-mapping>struts2FiIter/*org.springframework.web.uti1・IntrospectorCleanupListener注:不是每个都必须配置,”web・app”中的配置顺序必须按照下面的顺序配置不然可能会报错"(icon?,display-name?,description?,distributable?/context-param*/filter*,filter-mapping*/listener*,ser
2、on二"http://jaua.sun.com/xmL/ns/javaeehttp://java.sun.com/xmL/ns/ja/aee/Meb-app_2_5.xsdu>index.jsp3、param>contextConfigLocation/WEB・INF/spring_*param-value〉struts2CleanUpFilterx/filter-name〉org>apache>struts2>dispatcher・ActionContextCleanllp4、cfilter-name>struts2FiIterorg>apache•struts2fiIter>StrutsPrepareAndExecuteFilterhibernateOpenSessionlnViewFilIter-name〉org•springframew5、ork.orm.hibernate3•support•OpenSessionlnViewFilIter-class>hibernateOpenSessionlnViewFiIterstruts2CleanUpFilter-name〉*>action6、lter-mapping>struts2FiIter/*org.springframework.web.uti1・IntrospectorCleanupListener
3、param>contextConfigLocation/WEB・INF/spring_*param-value〉struts2CleanUpFilterx/filter-name〉org>apache>struts2>dispatcher・ActionContextCleanllp
4、cfilter-name>struts2FiIterorg>apache•struts2fiIter>StrutsPrepareAndExecuteFilterhibernateOpenSessionlnViewFilIter-name〉org•springframew
5、ork.orm.hibernate3•support•OpenSessionlnViewFilIter-class>hibernateOpenSessionlnViewFiIterstruts2CleanUpFilter-name〉*>action6、lter-mapping>struts2FiIter/*org.springframework.web.uti1・IntrospectorCleanupListener
6、lter-mapping>struts2FiIter/*org.springframework.web.uti1・IntrospectorCleanupListener
8、vlet*/servlet-mapping*,ses
此文档下载收益归作者所有