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

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

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

    heting

      BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
      40 隨筆 :: 9 文章 :: 45 評(píng)論 :: 0 Trackbacks

     

    struts.action.extension
    The URL extension to use to determine if the request is meant for a Struts action
    用URL擴(kuò)展名來確定是否這個(gè)請(qǐng)求是被用作Struts action,其實(shí)也就是設(shè)置 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自動(dòng)加載的一個(gè)配置文件列表
     
    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的完整連續(xù)的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開發(fā)模式
     
    struts.dispatcher.parametersWorkaround
    Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
    (某些版本的weblogic專用)是否使用一個(gè)servlet請(qǐng)求參數(shù)工作區(qū)(PARAMETERSWORKAROUND)
     
    struts.enable.DynamicMethodInvocation
    Allows one to disable dynamic method invocation from the URL
    允許動(dòng)態(tài)方法調(diào)用
     
    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
    國際化信息內(nèi)碼
     
    struts.i18n.reload
    Whether the localization messages should automatically be reloaded
    是否國際化信息自動(dòng)加載
     
    struts.locale
    The default locale for the Struts application
    默認(rèn)的國際化地區(qū)信息
     
    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請(qǐng)求信息的最大尺寸(文件上傳用)
     
    struts.multipart.parser
    The org.apache.struts2.dispatcher.multipart.MultiPartRequest parser implementation for a multipart request (file upload)
    專為multipart請(qǐng)求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上傳用)

    struts.multipart.saveDir
    The directory to use for storing uploaded files
    設(shè)置存儲(chǔ)上傳文件的目錄夾
     
    struts.objectFactory
    The com.opensymphony.xwork2.ObjectFactory implementation class
    com.opensymphony.xwork2.ObjectFactory接口(spring)
     
    struts.objectFactory.spring.autoWire
    Whether Spring should autoWire or not
    是否自動(dòng)綁定Spring
     
    struts.objectFactory.spring.useClassCache
    Whether Spring should use its class cache or not
    是否spring應(yīng)該使用自身的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過濾器中提供的靜態(tài)內(nèi)容應(yīng)該被瀏覽器緩存在頭部屬性中
     
    struts.serve.static
    Whether the Struts filter should serve static content or not 
    是否struts過濾器應(yīng)該提供靜態(tài)內(nèi)容
     
    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
    默認(rèn)的UI template主題
     
    struts.url.http.port
    The HTTP port used by Struts URLs
    設(shè)置http端口
     
    struts.url.https.port
    The HTTPS port used by Struts URLs
    設(shè)置https端口
     
    struts.url.includeParams
    The default includeParams method to generate Struts URLs
    在url中產(chǎn)生 默認(rèn)的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模版應(yīng)該被緩存
     
    struts.serve.static.browserCache
    該屬性設(shè)置瀏覽器是否緩存靜態(tài)內(nèi)容。當(dāng)應(yīng)用處于開發(fā)階段時(shí),我們希望每次請(qǐng)求都獲得服務(wù)器的最新響應(yīng),則可設(shè)置該屬性為false。
     
    struts.enable.DynamicMethodInvocation
    該屬性設(shè)置Struts 2是否支持動(dòng)態(tài)方法調(diào)用,該屬性的默認(rèn)值是true。如果需要關(guān)閉動(dòng)態(tài)方法調(diào)用,則可設(shè)置該屬性為false。
     
    struts.enable.SlashesInActionNames
    該屬性設(shè)置Struts 2是否允許在Action名中使用斜線,該屬性的默認(rèn)值是false。如果開發(fā)者希望允許在Action名中使用斜線,則可設(shè)置該屬性為true。
     
    struts.tag.altSyntax
    該屬性指定是否允許在Struts 2標(biāo)簽中使用表達(dá)式語法,因?yàn)橥ǔ6夹枰跇?biāo)簽中使用表達(dá)式語法,故此屬性應(yīng)該設(shè)置為true,該屬性的默認(rèn)值是true。
     
    struts.devMode
    該屬性設(shè)置Struts 2應(yīng)用是否使用開發(fā)模式。如果設(shè)置該屬性為true,則可以在應(yīng)用出錯(cuò)時(shí)顯示更多、更友好的出錯(cuò)提示。該屬性只接受true和flase兩個(gè)值,該屬性的默認(rèn)值是false。通常,應(yīng)用在開發(fā)階段,將該屬性設(shè)置為true,當(dāng)進(jìn)入產(chǎn)品發(fā)布階段后,則該屬性設(shè)置為false。
     
    struts.i18n.reload
    該屬性設(shè)置是否每次HTTP請(qǐng)求到達(dá)時(shí),系統(tǒng)都重新加載資源文件。該屬性默認(rèn)值是false。在開發(fā)階段將該屬性設(shè)置為true會(huì)更有利于開發(fā),但在產(chǎn)品發(fā)布階段應(yīng)將該屬性設(shè)置為false。
    提示開發(fā)階段將該屬性設(shè)置了true,將可以在每次請(qǐng)求時(shí)都重新加載國際化資源文件,從而可以讓開發(fā)者看到實(shí)時(shí)開發(fā)效果;產(chǎn)品發(fā)布階段應(yīng)該將該屬性設(shè)置為false,是為了提供響應(yīng)性能,每次請(qǐng)求都需要重新加載資源文件會(huì)大大降低應(yīng)用的性能。
     
    struts.ui.theme
    該屬性指定視圖標(biāo)簽?zāi)J(rèn)的視圖主題,該屬性的默認(rèn)值是xhtml。
     
    struts.ui.templateDir
    該屬性指定視圖主題所需要模板文件的位置,該屬性的默認(rèn)值是template,即默認(rèn)加載template路徑下的模板文件。
     
    struts.ui.templateSuffix
    該屬性指定模板文件的后綴,該屬性的默認(rèn)屬性值是ftl。該屬性還允許使用ftl、vm或jsp,分別對(duì)應(yīng)FreeMarker、Velocity和JSP模板。
     
    struts.configuration.xml.reload
    該屬性設(shè)置當(dāng)struts.xml文件改變后,系統(tǒng)是否自動(dòng)重新加載該文件。該屬性的默認(rèn)值是false。
     
    struts.velocity.configfile
    該屬性指定Velocity框架所需的velocity.properties文件的位置。該屬性的默認(rèn)值為velocity.properties。
     
    struts.velocity.contexts
    該屬性指定Velocity框架的Context位置,如果該框架有多個(gè)Context,則多個(gè)Context之間以英文逗號(hào)(,)隔開。
     
    struts.velocity.toolboxlocation
    該屬性指定Velocity框架的toolbox的位置。
     
    struts.url.http.port
    該屬性指定Web應(yīng)用所在的監(jiān)聽端口。該屬性通常沒有太大的用戶,只是當(dāng)Struts 2需要生成URL時(shí)(例如Url標(biāo)簽),該屬性才提供Web應(yīng)用的默認(rèn)端口。
     
    struts.url.https.port
    該屬性類似于struts.url.http.port屬性的作用,區(qū)別是該屬性指定的是Web應(yīng)用的加密服務(wù)端口。
     
    struts.url.includeParams
    該屬性指定Struts 2生成URL時(shí)是否包含請(qǐng)求參數(shù)。該屬性接受none、get和all三個(gè)屬性值,分別對(duì)應(yīng)于不包含、僅包含GET類型請(qǐng)求參數(shù)和包含全部請(qǐng)求參數(shù)。

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

    struts.dispatcher.parametersWorkaround
    對(duì)于某些Java EE服務(wù)器,不支持HttpServlet Request調(diào)用getParameterMap()方法,此時(shí)可以設(shè)置該屬性值為true來解決該問題。該屬性的默認(rèn)值是false。對(duì)于 WebLogic、Orion和OC4J服務(wù)器,通常應(yīng)該設(shè)置該屬性為true。
     
    struts.freemarker.manager.classname
    該屬性指定Struts 2使用的FreeMarker管理器。該屬性的默認(rèn)值是
    org.apache.struts2.views.freemarker.FreemarkerManager,這是Struts 2內(nèi)建的FreeMarker管理器。
    struts.freemarker.wrapper.altMap該屬性只支持true和false兩個(gè)屬性值,默認(rèn)值是true。通常無需修改該屬性值。
     
    struts.xslt.nocache
    該屬性指定XSLT Result是否使用樣式表緩存。當(dāng)應(yīng)用處于開發(fā)階段時(shí),該屬性通常被設(shè)置為true;當(dāng)應(yīng)用處于產(chǎn)品使用階段時(shí),該屬性通常被設(shè)置為false。
     
    struts.configuration.files
    該屬性指定Struts 2框架默認(rèn)加載的配置文件,如果需要指定默認(rèn)加載多個(gè)配置文件,則多個(gè)配置文件的文件名之間以英文逗號(hào)(,)隔開。該屬性的默認(rèn)值為struts- default.xml,struts-plugin.xml,struts.xml,看到該屬性值,讀者應(yīng)該明白為什么Struts 2框架默認(rèn)加載struts.xml文件了。
    posted on 2009-04-02 14:34 賀挺 閱讀(180) 評(píng)論(0)  編輯  收藏

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


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 久久精品国产亚洲AV麻豆不卡| 好男人资源在线WWW免费| 国产av天堂亚洲国产av天堂| 精品国产免费观看一区| 69影院毛片免费观看视频在线| 一级一级一片免费高清| 亚洲一区二区观看播放| 亚洲最新永久在线观看| 亚洲综合av永久无码精品一区二区 | 亚洲国产熟亚洲女视频| 亚洲AV天天做在线观看| 在线观看国产区亚洲一区成人| 在线观看免费亚洲| 久久久久国色AV免费观看性色| 99久久久国产精品免费牛牛 | 国产人在线成免费视频| 8x8x华人永久免费视频| 男女午夜24式免费视频| www在线观看播放免费视频日本| 亚洲Av永久无码精品黑人| 中文日韩亚洲欧美制服| 亚洲人成黄网在线观看| 亚洲经典在线中文字幕| 337p欧洲亚洲大胆艺术| 亚洲va在线va天堂va不卡下载| 亚洲精品中文字幕乱码三区| 亚洲伊人久久综合影院| 亚洲熟妇少妇任你躁在线观看无码| 国产免费直播在线观看视频| 性感美女视频免费网站午夜 | 亚洲精品日韩专区silk| 亚洲人成电影福利在线播放| 亚洲人成电影在线天堂| 亚洲无砖砖区免费| 亚洲av乱码一区二区三区香蕉| 亚洲国产成人久久99精品| 精品久久亚洲中文无码| 亚洲人成未满十八禁网站| 亚洲AⅤ男人的天堂在线观看| 亚洲国产精品无码久久九九大片| 亚洲国产精品成人综合色在线|