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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Xq^{P2\w1  
{u3u%^E;R  
struts.action.extension /omVM u  
      The URL extension to use to determine if the request is meant for a Struts action n8,/olqwW  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nzDY!Y  
biK.HL\V  
struts.configuration ![jP)WgF  
      The org.apache.struts2.config.Configuration implementation class FM];+d0  
        org.apache.struts2.config.Configuration接口名 `r Ql{$9IC  
an~Kc!Oki  
struts.configuration.files CB)#; |aDB  
      A list of configuration files automatically loaded by Struts h 42?^mV4?  
      struts自动加载的一个配置文件列表 _;W|iUreb  
i[J',  
struts.configuration.xml.reload w+H=Xh4t  
      Whether to reload the XML configuration or not |05LHwb>  
      是否加载xml配置(true,false) `BY`ltW  
mQJGKh&Pk  
struts.continuations.package 2[eY q1f!  
      The package containing actions that use Rife continuations s<]l[Y>  
      含有actions的完整连续的package名称 =Y0m;-1M  
{ q<l]jn9  
struts.custom.i18n.resources e#^by(1@}  
      Location of additional localization properties files to load o}z}79Z  
      加载附加的国际化属性文件(不包含.properties后缀) &h-1Z}  
+0DIN4Y(4  
struts.custom.properties ok'1  
      Location of additional configuration properties files to load eF@E|kK  
      加载附加的配置文件的位置 0M p>X  
% e(,PL  
Xqk$[ peS  
struts.devMode {[+gM?  
      Whether Struts is in development mode or not Ql 1# l:Q  
      是否为struts开发模式 j? A +qk  
I\_R& v  
struts.dispatcher.parametersWorkaround WjB[e>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic zD'gGxM1  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gMbvHlT  
_1~Sj*  
struts.enable.DynamicMethodInvocation $.kYAsZts  
      Allows one to disable dynamic method invocation from the URL [B[J%?NS  
        允许动态方法调用 =zKp(_[D  
~A)$="  
struts.freemarker.manager.classname 6~s,j({^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6-~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7blZAA?-  
*HRRv.iQ  
struts.i18n.encoding }|d:(*  
      The encoding to use for localization messages 3^\y>  
      国际化信息内码 Q.Acmht#  
{SJLM0=Z  
struts.i18n.reload SV~xNzo~  
      Whether the localization messages should automatically be reloaded Am0$UeSZ  
      是否国际化信息自动加载 *=8)]_=f  
2:abe  
struts.locale yQ}~ aA#h  
      The default locale for the Struts application |Yx8Ez  
      默认的国际化地区信息 ^$(|(N[;   
,-Na'n  
struts.mapper.class :X#(T- !t  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v#6.VUAw  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "YBA$ef$  
C9z{8 ;  
struts.multipart.maxSize #df43_u  
      The maximize size of a multipart request (file upload) OjHBzrK  
      multipart请求信息的最大尺寸(文件上传用) [Xrq+O,  
L81"W`?  
struts.multipart.parser .q=X58tHu  
      The org.apache.struts2.dispatcher.multipart. {`'b+0[;@  
      MultiPartRequest parser implementation for a multipart request (file upload) U{x'@/Ld  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8WH>  
..!yf e"5  
]:njP3r  
struts.multipart.saveDir WM#!X!Vo  
      The directory to use for storing uploaded files YP7<j*s8  
      设置存储上传文件的目录夹 eZv0"FK X  
|LQmdgVr$  
struts.objectFactory &`9lIVB,K  
      The com.opensymphony.xwork2.ObjectFactory implementation class <[q)2 5RL  
      com.opensymphony.xwork2.ObjectFactory接口(spring) L/ZZe5I  
8177x7UG2[  
struts.objectFactory.spring.autoWire IJ0RHDod:  
      Whether Spring should autoWire or not 7+c@pEU]  
      是否自动绑定Spring r}991O<  
~UnfS};U  
struts.objectFactory.spring.useClassCache Z` Aiw."|  
      Whether Spring should use its class cache or not 6QV/8IX  
      是否spring应该使用自身的cache q"Xls(  
P)H%dJ ^l  
struts.objectTypeDeterminer e0q a ~5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5ZSw0A(w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ovHbs^H%  
C?|gf?1p  
struts.serve.static.browserCache _V;J7Vz  
If static content served by the Struts filter should set browser caching header properties or not q\~7z1   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 NZ_45/(dx  
X2{3I\'Ft  
struts.serve.static i{,>2KVC|  
      Whether the Struts filter should serve static content or not koUH>J:  
      是否struts过滤器应该提供静态内容 u/MIB`@,  
|9g*rO  
struts.tag.altSyntax u&<LW4  
      Whether to use the alterative syntax for the tags or not 9Hu%Z/[!p  
      是否可以用替代的语法替代tags sC#Ixq'ls7  
$yt|nO  
struts.ui.templateDir B<o i,S  
      The directory containing UI templates X@cV']#V  
      UI templates的目录夹 T}zi P  
\/5 8#  
struts.ui.theme 8xNKVj)@  
      The default UI template theme B1GSZUd^?0  
      默认的UI template主题 )JjfPb64  
Cjd +\7#G  
struts.url.http.port L4dbrPE*0  
      The HTTP port used by Struts URLs ~E)I+$,  
      设置http端口 3:C *'@  
Ji7A9Hk  
struts.url.https.port -wO`o<  
      The HTTPS port used by Struts URLs 'Hq}h)`  
      设置https端口 ljk-xC p/  
F'"-4YV>&  
struts.url.includeParams 8g$ 8]'M^T  
      The default includeParams method to generate Struts URLs {d3r>Ub)7d  
      在url中产生 默认的includeParams jHFdDw|N`  
IX3r$}4  
jW6@U%[!b  
struts.velocity.configfile 8>w/Es5  
      The Velocity configuration file path #)\KV7f! ;  
      velocity配置文件路径 tkd2AMkh!  
F:\y#U6"J  
struts.velocity.contexts 2;q6~Y,  
      List of Velocity context names ZGS=;jM  
      velocity的context列表 iA:CPBv_mu  
F'Wef11Yz  
+x WT)h/  
struts.velocity.manager.classname BtjsN22  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8*|@A6ig  
      org.apache.struts2.views.velocity.VelocityManager接口名 QN0Ik 2L  
6#.R'O  
struts.velocity.toolboxlocation a ZfX |  
      The location of the Velocity toolbox ' rXkTm1{  
      velocity工具盒的位置 s(zG.7*3n  
struts.xslt.nocache ]ao]?=q C  
      Whether or not XSLT templates should not be cached ArF+9upGY  
      是否XSLT模版应该被缓存 zJ#q*2A(Z  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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