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

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

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

    千里冰封
    JAVA 濃香四溢
    posts - 151,comments - 2801,trackbacks - 0

    struts.action.extension
              The URL extension to use to determine if the request is meant for a Struts action 
               用URL擴展名來確定是否這個請求是被用作Struts action,其實也就是設置 action的后綴,例如login.do的'do'字。

    struts.configuration
              The org.apache.struts2.config.Configuration implementation class
                org.apache.struts2.config.Configuration接口名

    struts.configuration.files
              A list of configuration files automatically loaded by Struts 
               struts自動加載的一個配置文件列表

    struts.configuration.xml.reload
              Whether to reload the XML configuration or not
               是否加載xml配置(true,false)

    struts.continuations.package
               The package containing actions that use Rife continuations
               含有actions的完整連續的package名稱

    struts.custom.i18n.resources
              Location of additional localization properties files to load 
               加載附加的國際化屬性文件(不包含.properties后綴)

    struts.custom.properties
              Location of additional configuration properties files to load
               加載附加的配置文件的位置


    struts.devMode
              Whether Struts is in development mode or not
               是否為struts開發模式

    struts.dispatcher.parametersWorkaround
              Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
                (某些版本的weblogic專用)是否使用一個servlet請求參數工作區(PARAMETERSWORKAROUND)

    struts.enable.DynamicMethodInvocation
              Allows one to disable dynamic method invocation from the URL
                允許動態方法調用

    struts.freemarker.manager.classname
              The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 
               org.apache.struts2.views.freemarker.FreemarkerManager接口名

    struts.i18n.encoding
              The encoding to use for localization messages
               國際化信息內碼

    struts.i18n.reload
              Whether the localization messages should automatically be reloaded
               是否國際化信息自動加載 

    struts.locale
              The default locale for the Struts application
               默認的國際化地區信息

    struts.mapper.class
              The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
                org.apache.struts2.dispatcher.mapper.ActionMapper接口

    struts.multipart.maxSize
              The maximize size of a multipart request (file upload)
               multipart請求信息的最大尺寸(文件上傳用) 

    struts.multipart.parser
              The org.apache.struts2.dispatcher.multipart.MultiPartRequest parser implementation for a multipart request (file upload) 
              專為multipart請求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上傳用)


    struts.multipart.saveDir
              The directory to use for storing uploaded files 
               設置存儲上傳文件的目錄夾

    struts.objectFactory
              The com.opensymphony.xwork2.ObjectFactory implementation class
               com.opensymphony.xwork2.ObjectFactory接口(spring)

    struts.objectFactory.spring.autoWire
              Whether Spring should autoWire or not
               是否自動綁定Spring

    struts.objectFactory.spring.useClassCache
              Whether Spring should use its class cache or not
               是否spring應該使用自身的cache 

    struts.objectTypeDeterminer
              The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
                com.opensymphony.xwork2.util.ObjectTypeDeterminer接口

    struts.serve.static.browserCache
              If static content served by the Struts filter should set browser caching header properties or not 
               是否struts過濾器中提供的靜態內容應該被瀏覽器緩存在頭部屬性中

    struts.serve.static
              Whether the Struts filter should serve static content or not 
               是否struts過濾器應該提供靜態內容

    struts.tag.altSyntax
              Whether to use the alterative syntax for the tags or not 
               是否可以用替代的語法替代tags

    struts.ui.templateDir
              The directory containing UI templates
               UI templates的目錄夾 

    struts.ui.theme
              The default UI template theme
               默認的UI template主題

    struts.url.http.port
              The HTTP port used by Struts URLs
               設置http端口

    struts.url.https.port
              The HTTPS port used by Struts URLs 
               設置https端口

    struts.url.includeParams
              The default includeParams method to generate Struts URLs 
              在url中產生 默認的includeParams


    struts.velocity.configfile
              The Velocity configuration file path
               velocity配置文件路徑

    struts.velocity.contexts
              List of Velocity context names
               velocity的context列表


    struts.velocity.manager.classname
              org.apache.struts2.views.velocity.VelocityManager implementation class
               org.apache.struts2.views.velocity.VelocityManager接口名

    struts.velocity.toolboxlocation
              The location of the Velocity toolbox
               velocity工具盒的位置 
    struts.xslt.nocache
              Whether or not XSLT templates should not be cached
               是否XSLT模版應該被緩存

    struts.serve.static.browserCache 該屬性設置瀏覽器是否緩存靜態內容。當應用處于開發階段時,我們希望每次請求都獲得服務器的最新響應,則可設置該屬性為false。

    struts.enable.DynamicMethodInvocation 該屬性設置Struts 2是否支持動態方法調用,該屬性的默認值是true。如果需要關閉動態方法調用,則可設置該屬性為false。

    struts.enable.SlashesInActionNames 該屬性設置Struts 2是否允許在Action名中使用斜線,該屬性的默認值是false。如果開發者希望允許在Action名中使用斜線,則可設置該屬性為true。

    struts.tag.altSyntax 該屬性指定是否允許在Struts 2標簽中使用表達式語法,因為通常都需要在標簽中使用表達式語法,故此屬性應該設置為true,該屬性的默認值是true。

    struts.devMode該屬性設置Struts 2應用是否使用開發模式。如果設置該屬性為true,則可以在應用出錯時顯示更多、更友好的出錯提示。該屬性只接受true和flase兩個值,該屬性的 默認值是false。通常,應用在開發階段,將該屬性設置為true,當進入產品發布階段后,則該屬性設置為false。

    struts.i18n.reload該屬性設置是否每次HTTP請求到達時,系統都重新加載資源文件。該屬性默認值是false。在開發階段將該屬性設置為true會更有利于開發,但在產品發布階段應將該屬性設置為false。

    提示 開發階段將該屬性設置了true,將可以在每次請求時都重新加載國際化資源文件,從而可以讓開發者看到實時開發效果;產品發布階段應該將該屬性設置為false,是為了提供響應性能,每次請求都需要重新加載資源文件會大大降低應用的性能。

    struts.ui.theme該屬性指定視圖標簽默認的視圖主題,該屬性的默認值是xhtml。

    struts.ui.templateDir該屬性指定視圖主題所需要模板文件的位置,該屬性的默認值是template,即默認加載template路徑下的模板文件。

    struts.ui.templateSuffix該屬性指定模板文件的后綴,該屬性的默認屬性值是ftl。該屬性還允許使用ftl、vm或jsp,分別對應FreeMarker、Velocity和JSP模板。

    struts.configuration.xml.reload該屬性設置當struts.xml文件改變后,系統是否自動重新加載該文件。該屬性的默認值是false。

    struts.velocity.configfile該屬性指定Velocity框架所需的velocity.properties文件的位置。該屬性的默認值為velocity.properties。

    struts.velocity.contexts該屬性指定Velocity框架的Context位置,如果該框架有多個Context,則多個Context之間以英文逗號(,)隔開。

    struts.velocity.toolboxlocation該屬性指定Velocity框架的toolbox的位置。

    struts.url.http.port該屬性指定Web應用所在的監聽端口。該屬性通常沒有太大的用戶,只是當Struts 2需要生成URL時(例如Url標簽),該屬性才提供Web應用的默認端口。

    struts.url.https.port該屬性類似于struts.url.http.port屬性的作用,區別是該屬性指定的是Web應用的加密服務端口。

    struts.url.includeParams該屬性指定Struts 2生成URL時是否包含請求參數。該屬性接受none、get和all三個屬性值,分別對應于不包含、僅包含GET類型請求參數和包含全部請求參數。


    struts.custom.i18n.resources該屬性指定Struts 2應用所需要的國際化資源文件,如果有多份國際化資源文件,則多個資源文件的文件名以英文逗號(,)隔開。


    struts.dispatcher.parametersWorkaround 對于某些Java EE服務器,不支持HttpServlet Request調用getParameterMap()方法,此時可以設置該屬性值為true來解決該問題。該屬性的默認值是false。對于 WebLogic、Orion和OC4J服務器,通常應該設置該屬性為true。

    struts.freemarker.manager.classname 該屬性指定Struts 2使用的FreeMarker管理器。該屬性的默認值是 org.apache.struts2.views.freemarker.FreemarkerManager,這是Struts 2內建的FreeMarker管理器。

    struts.freemarker.wrapper.altMap該屬性只支持true和false兩個屬性值,默認值是true。通常無需修改該屬性值。

    struts.xslt.nocache 該屬性指定XSLT Result是否使用樣式表緩存。當應用處于開發階段時,該屬性通常被設置為true;當應用處于產品使用階段時,該屬性通常被設置為false。

    struts.configuration.files 該屬性指定Struts 2框架默認加載的配置文件,如果需要指定默認加載多個配置文件,則多個配置文件的文件名之間以英文逗號(,)隔開。該屬性的默認值為struts- default.xml,struts-plugin.xml,struts.xml,看到該屬性值,讀者應該明白為什么Struts 2框架默認加載struts.xml文件了。




    盡管千里冰封
    依然擁有晴空

    你我共同品味JAVA的濃香.
    posted on 2008-12-03 21:00 千里冰封 閱讀(11592) 評論(2)  編輯  收藏 所屬分類: JAVAEE

    FeedBack:
    # re: struts2的struts.properties配置文件詳解
    2010-01-05 20:06 | javaanddonet
    受益了。。。。。  回復  更多評論
      
    # re: struts2的struts.properties配置文件詳解
    2011-04-21 15:10 | crazyxiao
    有幫助,thx  回復  更多評論
      
    主站蜘蛛池模板: 日韩a级毛片免费观看| 无码人妻丰满熟妇区免费| 日韩成人免费在线| 亚洲色无码国产精品网站可下载| 久久久久国色AV免费看图片| 精品日韩99亚洲的在线发布| 嫩草视频在线免费观看| 亚洲黄色免费在线观看| 亚洲国产精品国自产电影| 久久久久国色av免费看| 亚洲综合网美国十次| 四虎永久在线精品免费观看视频| 亚洲中文字幕日本无线码| 午夜老司机免费视频| 猫咪www免费人成网站| 久久精品国产精品亚洲| a毛片在线免费观看| 精品亚洲成a人片在线观看| 四虎在线成人免费网站| 亚洲一本到无码av中文字幕| 国产精品国产午夜免费福利看| 日日摸夜夜添夜夜免费视频| 亚洲成AV人在线播放无码| 亚洲人成免费电影| 亚洲中文字幕无码mv| 亚洲高清成人一区二区三区| 免费黄色电影在线观看| 77777亚洲午夜久久多喷| 亚洲AV无码乱码在线观看牲色 | 香蕉高清免费永久在线视频| 粉色视频在线观看www免费| 亚洲色精品88色婷婷七月丁香| 最近2019免费中文字幕视频三| 亚洲中文无码永久免| 伊人婷婷综合缴情亚洲五月| 最近最好最新2019中文字幕免费 | jizz免费观看视频| 精品亚洲成a人片在线观看 | 亚洲精品无码永久在线观看你懂的| 一级毛片免费播放| 美女羞羞视频免费网站 |