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

          在開發(fā)環(huán)境下,需要配置的幾個(gè)屬性:
          ? 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 想飛的魚 閱讀(374) 評(píng)論(0)  編輯  收藏 所屬分類: struts2

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 淮安市| 朝阳县| 南陵县| 竹山县| 双城市| 公安县| 舞钢市| 惠州市| 来凤县| 潜山县| 含山县| 乌拉特前旗| 留坝县| 栾川县| 清徐县| 酉阳| 汝南县| 柏乡县| 咸丰县| 西藏| 遂溪县| 藁城市| 信阳市| 兴文县| 黄大仙区| 平顶山市| 嵩明县| 马龙县| 新平| 西宁市| 奇台县| 巩留县| 新营市| 巴林右旗| 石楼县| 庄河市| 屏东市| 青神县| 石棉县| 大埔县| 泰兴市|