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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vn!3l1\+J  
Y0@"fU35  
struts.action.extension GqvpA# i  
      The URL extension to use to determine if the request is meant for a Struts action '&tG?gb&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 zuad~%D<I  
T{.pM4Hd  
struts.configuration XbKYiy  
      The org.apache.struts2.config.Configuration implementation class r&JgLC(   
        org.apache.struts2.config.Configuration接口名 _Xc8Yg }`  
p!7FpxZY  
struts.configuration.files OJuG~euy  
      A list of configuration files automatically loaded by Struts Smn;(K  
      struts自动加载的一个配置文件列表 ,+DG2u  
5|j<`()H :  
struts.configuration.xml.reload /<=u\e'rE  
      Whether to reload the XML configuration or not %KhI>O<  
      是否加载xml配置(true,false) v5#j Z$<F  
E)5\i-n  
struts.continuations.package t7Iv?5]N  
      The package containing actions that use Rife continuations FEz-+X<q2  
      含有actions的完整连续的package名称 N=5a54!/  
QvlObEhcS  
struts.custom.i18n.resources DS(}<HK{  
      Location of additional localization properties files to load l'-Bu(  
      加载附加的国际化属性文件(不包含.properties后缀) s4y73-J^.v  
%~H-)_d20  
struts.custom.properties DFB@O|JL  
      Location of additional configuration properties files to load a`E#F] Z  
      加载附加的配置文件的位置 EReZkvseC  
(z {#Eq4  
I by\$~V  
struts.devMode &tLgG4pd  
      Whether Struts is in development mode or not #uG%j  
      是否为struts开发模式 kX7C3qdmt  
}%ojw |  
struts.dispatcher.parametersWorkaround nLZTK&7}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \O3m9,a   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A5I)^B<(  
rxvx  
struts.enable.DynamicMethodInvocation MDZ640-Y  
      Allows one to disable dynamic method invocation from the URL 7hD>As7`/  
        允许动态方法调用 _ @NL;w:!  
kzQ+j8.,U  
struts.freemarker.manager.classname GX!G>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class pHXm>gTd,J  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A@!qv#'  
45@ I*`  
struts.i18n.encoding -8ywO"6  
      The encoding to use for localization messages oi&VgnSk  
      国际化信息内码 HSE!x_$  
+ZaSM~   
struts.i18n.reload EPI4!3]  
      Whether the localization messages should automatically be reloaded #C74z$  
      是否国际化信息自动加载 T= y}y  
["k,QX  
struts.locale %op**@4/t\  
      The default locale for the Struts application Q^9_' t}X  
      默认的国际化地区信息 )Pa'UGY  
ah4N|zJ>v  
struts.mapper.class Ct<udO  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H7&8\ FNa  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *MhRW,=  
z;,u}u}aI  
struts.multipart.maxSize c \J:![x  
      The maximize size of a multipart request (file upload) Y1W1=Uc uk  
      multipart请求信息的最大尺寸(文件上传用) 36&e.3/#  
+aCv&sg  
struts.multipart.parser w>s,"2&5J  
      The org.apache.struts2.dispatcher.multipart. .GP T!lDc  
      MultiPartRequest parser implementation for a multipart request (file upload) YNyk1cE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b5dD/-Vj  
7 UKh688  
KI iO  
struts.multipart.saveDir g#pr yYz  
      The directory to use for storing uploaded files O-0x8O^B  
      设置存储上传文件的目录夹 ?DS@e@lx  
f M :]&  
struts.objectFactory (?1y4M  
      The com.opensymphony.xwork2.ObjectFactory implementation class B?gOHG*vd>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $Ps|HN  
Af~$TyX  
struts.objectFactory.spring.autoWire -e"H ^:  
      Whether Spring should autoWire or not `t>l:<@%  
      是否自动绑定Spring iJ)_RSFK  
9IdA%RM~mH  
struts.objectFactory.spring.useClassCache Fh&G;aEq  
      Whether Spring should use its class cache or not +6M}O[LP  
      是否spring应该使用自身的cache lwxaMjaL4K  
d`=MgHz  
struts.objectTypeDeterminer Z!a =dnwHz  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `!3SF|x&  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 T*/rySs  
XB;7!8|  
struts.serve.static.browserCache 6m/r+?'  
If static content served by the Struts filter should set browser caching header properties or not U/66L+1  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  L^/5ux  
}1L4 "}L.  
struts.serve.static e }?db  
      Whether the Struts filter should serve static content or not *k7+/bU~~  
      是否struts过滤器应该提供静态内容 MIeU,KT#U  
a_^\=&?'  
struts.tag.altSyntax oz\!V*CtK  
      Whether to use the alterative syntax for the tags or not K-^\" W8  
      是否可以用替代的语法替代tags q5J5>  
Gt8M&S-;  
struts.ui.templateDir X&.ArXn*  
      The directory containing UI templates *2>&"B09`  
      UI templates的目录夹 ;>U2|>5V  
'2A)}uR  
struts.ui.theme :DK {Vg6  
      The default UI template theme 8?B!2  
      默认的UI template主题 K e;E1S-~  
.FP$m?  
struts.url.http.port q<x/Hat)  
      The HTTP port used by Struts URLs R^8o^z['6u  
      设置http端口 + B,}Qr  
T8?Ghbn  
struts.url.https.port ,1.p%UE]>  
      The HTTPS port used by Struts URLs <6%?OJhp  
      设置https端口  sg^zH8,3  
pTth}JM>  
struts.url.includeParams M~Tuj1?  
      The default includeParams method to generate Struts URLs f <Zxz9  
      在url中产生 默认的includeParams \}yc`7T:L0  
"=HA Y  
B {n,t}z  
struts.velocity.configfile ANAVn@ [  
      The Velocity configuration file path 9d0@wq.  
      velocity配置文件路径 =g7x' kN  
;Zcswt8]u  
struts.velocity.contexts gs^Xf;g vI  
      List of Velocity context names gMi0FO'  
      velocity的context列表 ]\-A;}\e  
kYE9M8s;  
>4x(e\B  
struts.velocity.manager.classname p%up)]?0  
      org.apache.struts2.views.velocity.VelocityManager implementation class \i>?q   
      org.apache.struts2.views.velocity.VelocityManager接口名 Fk&c=V;SU  
x /(^7#u,  
struts.velocity.toolboxlocation 2lZ Q)   
      The location of the Velocity toolbox k&M;,e3v6  
      velocity工具盒的位置 `z}?"BW|  
struts.xslt.nocache ]? c B:}  
      Whether or not XSLT templates should not be cached Ye%~I`@?  
      是否XSLT模版应该被缓存 ydEoC$?0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八