<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    前端系統(tǒng)-備忘1

    Posted on 2008-12-08 11:18 Robert Su 閱讀(239) 評論(0)  編輯  收藏 所屬分類: Java

     

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app>
     <display-name>系統(tǒng)</display-name>
     <context-param>
      <param-name>log4jConfigLocation</param-name>
      <param-value>/WEB-INF/log4j.properties</param-value>
     </context-param>
     <!-- ContextConfigLocation -->
     <context-param>
      <param-name>contextConfigLocation</param-name>
      <param-value>/WEB-INF/vbm_action.xml,/WEB-INF/vbm_hibernate.xml,/WEB-INF/vbm_dao.xml</param-value>
     </context-param>

     <!-- 著名 Character Encoding filter -->

     <filter>
      <filter-name>encodingFilter</filter-name>
      <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
      <init-param>
       <param-name>encoding</param-name>
       <param-value>UTF-8</param-value>
      </init-param>
     </filter>
     <filter>
      <filter-name>struts2</filter-name>
      <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
      <init-param>
       <param-name>config</param-name>
       <param-value>struts-default.xml,struts-plugin.xml,struts.xml,struts_books.xml</param-value>
      </init-param>
     </filter>

     <filter-mapping>
      <filter-name>encodingFilter</filter-name>
      <url-pattern>/*</url-pattern>
     </filter-mapping>
     <filter-mapping>
      <filter-name>struts2</filter-name>
      <url-pattern>/*</url-pattern>
     </filter-mapping>
     <!-- 加入jpaFilter,是為了不讓hibernate的session過早關(guān)閉,因?yàn)橛械腶ction會通過ajax動態(tài)調(diào)用 -->
     <filter>
      <filter-name>jpaFilter</filter-name>
      <filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>
      <init-param>
       <param-name>entityManagerFactory</param-name>
       <param-value>entityManagerFactory</param-value>
      </init-param>
     </filter>
     <filter-mapping>
      <filter-name>jpaFilter</filter-name>
      <url-pattern>*.htm</url-pattern>
     </filter-mapping>
     <!-- Listener contextConfigLocation -->
     <listener>
      <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
     </listener>
     <!-- Listener log4jConfigLocation -->
     <listener>
      <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
     </listener>
     <!-- Spring 刷新Introspector防止內(nèi)存泄露 -->
     <listener>
      <listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class>
     </listener>
     <!-- session超時定義,單位為分鐘 -->
     <session-config>
      <session-timeout>10</session-timeout>
     </session-config>
     <!-- The Welcome File List -->
     <welcome-file-list>
      <welcome-file>index.html</welcome-file>
     </welcome-file-list>
    </web-app>

    posts - 103, comments - 104, trackbacks - 0, articles - 5

    Copyright © Robert Su

    主站蜘蛛池模板: 国产在线精品观看免费观看| 亚洲欧美日韩自偷自拍| 久久久久久国产a免费观看不卡| 女人被男人桶得好爽免费视频 | 成人性生免费视频| 亚洲视频一区二区在线观看| 久久免费观看国产精品| 国产AV无码专区亚洲AVJULIA| 中文字幕免费在线视频| 亚洲成AV人片在线观看| 国产三级在线免费| 日韩亚洲AV无码一区二区不卡| 日本免费一区二区三区四区五六区 | 在线看片无码永久免费视频| 亚洲人成免费网站| 毛片免费观看网址| 黄页网站在线观看免费| 亚洲男人在线无码视频| 中文字幕在线成人免费看| 亚洲五月激情综合图片区| 8090在线观看免费观看| 亚洲综合偷自成人网第页色| 青草草在线视频永久免费| 免费看美女午夜大片| 国产自偷亚洲精品页65页| 丁香花在线视频观看免费| 亚洲日本中文字幕区| 97免费人妻无码视频| 亚洲国产精品成人午夜在线观看 | 成人毛片18女人毛片免费视频未| 亚洲经典千人经典日产| 亚洲人成电影网站国产精品| 中国一级毛片免费看视频| 4444亚洲国产成人精品| 国产精品国产自线拍免费软件| 黄色视屏在线免费播放| 亚洲另类图片另类电影| 波多野结衣免费视频观看| 日韩免费在线视频| 色噜噜噜噜亚洲第一| 亚洲国产另类久久久精品黑人 |