wiflish
          Loving Life! Loving Coding!
          posts - 98,comments - 98,trackbacks - 0
          struts的屬性配置文件。默認為default.properties,已包含在struts2的發布包里面。
          如果要修改配置文件,只需要在web application的classpath中放置一個struts.properties(一般放置在/WEB-INF/classes目錄下)文件,并將需要修改的key和值寫入該文件即可。

          在開發環境下,需要配置的幾個屬性:
          ? struts.i18n.reload = true – enables reloading of internationalization files
          ? struts.devMode = true – enables development mode that provides more comprehensive debugging
          ? struts.configuration.xml.reload = true – enables reloading of XML configuration files (for the action)
          ????????? when a change is made without reloading the entire web application in the servlet container
          ? struts.url.http.port = 8080 – sets the port that the server is run on (so that generated URLs are created correctly)

          posted on 2007-10-30 22:29 想飛的魚 閱讀(380) 評論(0)  編輯  收藏 所屬分類: struts2

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 大埔区| 柞水县| 田阳县| 肥乡县| 东乌珠穆沁旗| 桃源县| 丹阳市| 大田县| 天津市| 视频| 温州市| 军事| 株洲市| 石家庄市| 临泉县| 上犹县| 鄱阳县| 琼海市| 宝兴县| 桃江县| 穆棱市| 界首市| 屯门区| 衡山县| 隆化县| 大英县| 长沙县| 元朗区| 广东省| 乌拉特后旗| 集贤县| 淳化县| 法库县| 汤阴县| 呼伦贝尔市| 两当县| 固镇县| 通渭县| 吴旗县| 疏勒县| 阿鲁科尔沁旗|