社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 4511阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &^K,"a{  
^qNr<Ye  
struts.action.extension 9at_F'> R  
      The URL extension to use to determine if the request is meant for a Struts action I73=PfS:m  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 LVBE+{P\5?  
bG!/%,s  
struts.configuration @`:z$52  
      The org.apache.struts2.config.Configuration implementation class 7SJtW`~  
        org.apache.struts2.config.Configuration接口名 #HmZe98[%  
h9l 6AnbJ  
struts.configuration.files [|APMMYK1  
      A list of configuration files automatically loaded by Struts C.?~D*Q  
      struts自动加载的一个配置文件列表 l[b`4  
A0gRX]  
struts.configuration.xml.reload e#|YROHf  
      Whether to reload the XML configuration or not ECvTmU'=  
      是否加载xml配置(true,false) u:%Ln_S  
\ H!Klp  
struts.continuations.package `:YCOF  
      The package containing actions that use Rife continuations g3vR\?c`  
      含有actions的完整连续的package名称 G Y+li {  
{1J4Q[N9m  
struts.custom.i18n.resources h=MEQ-3jg  
      Location of additional localization properties files to load - ~`)V`@  
      加载附加的国际化属性文件(不包含.properties后缀) 18G=j@k7  
f2Z(hYH~  
struts.custom.properties 9%^O-8!  
      Location of additional configuration properties files to load ?4YLt|sn  
      加载附加的配置文件的位置 \vqqs  
|sPUb;&~  
v1\/dQK  
struts.devMode C?t!Uvs  
      Whether Struts is in development mode or not Apc!!*7  
      是否为struts开发模式 . MH;u3U  
2 UPG8]  
struts.dispatcher.parametersWorkaround \MB$Cwc  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +W}6o3x~  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) VqnM>||  
t`E e/L%  
struts.enable.DynamicMethodInvocation x^)W}p"  
      Allows one to disable dynamic method invocation from the URL JO&L1<B{v  
        允许动态方法调用 K4Hu0  
6=g! Hs{  
struts.freemarker.manager.classname V ^hR%*i'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O{ |Ug~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #= @?)\~  
dc,qQM  
struts.i18n.encoding b-HELS`nX  
      The encoding to use for localization messages #,Cz+ k*4  
      国际化信息内码 sTw+.m{F  
9 f= ~E8P  
struts.i18n.reload :HkX sZ  
      Whether the localization messages should automatically be reloaded "*ww>0[  
      是否国际化信息自动加载 QeG3X+  
,d$D0w  
struts.locale EfGy^`,'G  
      The default locale for the Struts application \U.js-  
      默认的国际化地区信息 Oz Axnd\.N  
A/88WC$v  
struts.mapper.class $Ahe Vps@@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class G]O5irsV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 N%!{n7`N:  
w L4P-4'  
struts.multipart.maxSize >IJX=24Rc  
      The maximize size of a multipart request (file upload) _~O*V&  
      multipart请求信息的最大尺寸(文件上传用) kxt/I<cs  
c]R27r E  
struts.multipart.parser xt1\Sie  
      The org.apache.struts2.dispatcher.multipart. ^JAp#?N^9  
      MultiPartRequest parser implementation for a multipart request (file upload) 8QQh1q2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3_ko=& B$  
(ty&$  
DIx.a^LR  
struts.multipart.saveDir J7+[+Y  
      The directory to use for storing uploaded files 59BB-R,V  
      设置存储上传文件的目录夹 9E}JtLgT  
t {H{xd  
struts.objectFactory 3>mAZZL5[  
      The com.opensymphony.xwork2.ObjectFactory implementation class j?1wP6/NP  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1x^Vv;K  
LpN3cy>U  
struts.objectFactory.spring.autoWire h}4yz96WD  
      Whether Spring should autoWire or not 1C(sBU"  
      是否自动绑定Spring +P%k@w#<Z  
Ik-E_U2  
struts.objectFactory.spring.useClassCache fw)Q1"|  
      Whether Spring should use its class cache or not "w3%BbIx  
      是否spring应该使用自身的cache ew<_2Xy"<  
&1ZUMc  
struts.objectTypeDeterminer @S1Z "%S  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class NiD_v  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'zOB!QqA`v  
HYl~)O>  
struts.serve.static.browserCache k5)a|  
If static content served by the Struts filter should set browser caching header properties or not _fS4a134R  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2 ])e}& i  
|!{ Y:f;  
struts.serve.static `N8t2yF  
      Whether the Struts filter should serve static content or not *auT_*  
      是否struts过滤器应该提供静态内容 o+Fm+5t;  
Ako]34Rl,  
struts.tag.altSyntax 0[E \h   
      Whether to use the alterative syntax for the tags or not ~bsdy2&/q  
      是否可以用替代的语法替代tags ^G4@cR.An  
&z@}9U*6b  
struts.ui.templateDir I>{o]^xw-D  
      The directory containing UI templates U7HfDDh  
      UI templates的目录夹 c2-oFLNP=  
Y=t? "E  
struts.ui.theme [ps4i_  
      The default UI template theme 1)!2D?w  
      默认的UI template主题 l2ie\4dK@  
k~)@D| ?  
struts.url.http.port *Sps^Wl  
      The HTTP port used by Struts URLs h s_x @6  
      设置http端口 a[p$e?gka  
}m&\I  
struts.url.https.port S_?sJwM  
      The HTTPS port used by Struts URLs Po*!eD  
      设置https端口 & H8  %  
3n~O&{  
struts.url.includeParams qiH)J- ~GZ  
      The default includeParams method to generate Struts URLs J&&)%&h'I  
      在url中产生 默认的includeParams 88l1g,`**  
u;+8Jg+xH/  
d:"7Tw2v+  
struts.velocity.configfile yhrjML2K  
      The Velocity configuration file path HuR774f[  
      velocity配置文件路径 y?U@F/^}N  
FC WF$'cO  
struts.velocity.contexts F}=_"IkZ  
      List of Velocity context names udmLHc  
      velocity的context列表 L7R!,  
'KDt%?24  
NF7  
struts.velocity.manager.classname z/fSs tN  
      org.apache.struts2.views.velocity.VelocityManager implementation class -[}Aka,f!  
      org.apache.struts2.views.velocity.VelocityManager接口名 d0R;|p''Z  
bM.$D-?dF*  
struts.velocity.toolboxlocation Rh#`AM`)j  
      The location of the Velocity toolbox S|af?IW  
      velocity工具盒的位置 ;hF}"shJN  
struts.xslt.nocache z[6avW"q  
      Whether or not XSLT templates should not be cached a~?B/ g&_  
      是否XSLT模版应该被缓存 _]-8gr-T  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五