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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 O:5Rp_?^  
AK@`'$  
struts.action.extension cD'HQ3+  
      The URL extension to use to determine if the request is meant for a Struts action DD/>{kff  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5q(]1|Se i  
Z#OhYm+y  
struts.configuration !^)wPmk  
      The org.apache.struts2.config.Configuration implementation class `?zg3GD_  
        org.apache.struts2.config.Configuration接口名 o[bE  
s FQ4O- SM  
struts.configuration.files M1/M}~  
      A list of configuration files automatically loaded by Struts +{")E)  
      struts自动加载的一个配置文件列表 ~|y^\U@  
` j&0VIU>>  
struts.configuration.xml.reload T}L^CU0  
      Whether to reload the XML configuration or not Ci7P%]9  
      是否加载xml配置(true,false) 5|<yfk8*J  
eK Z@ FEZ  
struts.continuations.package C%}]"0Q1  
      The package containing actions that use Rife continuations &dhcKO<4  
      含有actions的完整连续的package名称  k#axt Sc  
Snc; p  
struts.custom.i18n.resources 99l>CYXd  
      Location of additional localization properties files to load /~3N@J  
      加载附加的国际化属性文件(不包含.properties后缀) Pl rkgS0J  
F`Dg*O  
struts.custom.properties K0EY<Ltq  
      Location of additional configuration properties files to load ]6$,IKE7  
      加载附加的配置文件的位置 KGV.S  
54q4CagFq  
8sN#e(@  
struts.devMode V=j-Um;  
      Whether Struts is in development mode or not GBH_r 0  
      是否为struts开发模式 w/b>awI  
=jg#fdM -  
struts.dispatcher.parametersWorkaround mR{CVU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y7<zm}=(/  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Vq3gceo'0A  
}xAie(  
struts.enable.DynamicMethodInvocation &8[ZN$Xe"  
      Allows one to disable dynamic method invocation from the URL [>W"R1/  
        允许动态方法调用 !c3```*  
EMVk:Vt]  
struts.freemarker.manager.classname ?z2jk  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?QCmSK=L  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 w)+wj[6 E  
V]I:2k5  
struts.i18n.encoding ?PBa'g  
      The encoding to use for localization messages ,HFs.9#&B  
      国际化信息内码 uh]"(h(>  
k: b/Gq`  
struts.i18n.reload S~KS9E~\  
      Whether the localization messages should automatically be reloaded a q3~!T;W  
      是否国际化信息自动加载 yXJ]U \ %  
J|V K P7  
struts.locale 9T(L"9r-e  
      The default locale for the Struts application ;B&^yj&;  
      默认的国际化地区信息 e^j<jV`1  
c_ La^HS  
struts.mapper.class r55qmPhg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2t+D8 d|c<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Fi mN?s  
>_XOc  
struts.multipart.maxSize *IC^IC:  
      The maximize size of a multipart request (file upload) A_!QrM  
      multipart请求信息的最大尺寸(文件上传用) ')B =|T)  
>T<6fpXuk2  
struts.multipart.parser >^a$  
      The org.apache.struts2.dispatcher.multipart. YEzU{J  
      MultiPartRequest parser implementation for a multipart request (file upload) 6cJ<9i &  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ` ^DjEdUN  
0,HqE='w  
 %BUEX  
struts.multipart.saveDir 4-mVB wq  
      The directory to use for storing uploaded files 3Jk[/ .h  
      设置存储上传文件的目录夹 6+.>5e  
a:85L!~:l  
struts.objectFactory n.*3,4.]  
      The com.opensymphony.xwork2.ObjectFactory implementation class PU W[e%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) i+g~ Uj}h  
,V,f2W 4  
struts.objectFactory.spring.autoWire <OTWT`G2  
      Whether Spring should autoWire or not nqT>qS[Z  
      是否自动绑定Spring |,b2b2v ?  
MDJc[am  
struts.objectFactory.spring.useClassCache 3UdU"d[75  
      Whether Spring should use its class cache or not j~bAbOX12  
      是否spring应该使用自身的cache iOXZ ]Xj5  
i[\w%(83Fi  
struts.objectTypeDeterminer / s,tY74'5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~W<CE_/]k  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +b^]Pz5  
aX;A==>  
struts.serve.static.browserCache hk%k(^ekU]  
If static content served by the Struts filter should set browser caching header properties or not U&X2cR &a  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 YutQ]zYA.  
SxJ$b  
struts.serve.static l3.  
      Whether the Struts filter should serve static content or not iv*V#J>  
      是否struts过滤器应该提供静态内容 ;B~P>n}}_]  
.u l 53 m  
struts.tag.altSyntax 'BY-OA#xJ  
      Whether to use the alterative syntax for the tags or not ?~J i-{#X  
      是否可以用替代的语法替代tags l<(cd,  
}Dn^d}?s||  
struts.ui.templateDir HTV ~?E  
      The directory containing UI templates Ve}[XqdS^p  
      UI templates的目录夹 K/txD20 O|  
xACdZB(  
struts.ui.theme 7Y1GUIRa3  
      The default UI template theme wJe?t$ac?  
      默认的UI template主题 %%%S"$t  
UUeB;'E+  
struts.url.http.port /@hJpz|+   
      The HTTP port used by Struts URLs )tS-.PrA-  
      设置http端口 [:iv4>ZZ  
3GF2eS$$P  
struts.url.https.port !SO8O  
      The HTTPS port used by Struts URLs b O=yi)  
      设置https端口 +L0w;wT  
D8%AV; -Y  
struts.url.includeParams qi(*ty  
      The default includeParams method to generate Struts URLs 7{e=="#*  
      在url中产生 默认的includeParams qj!eLA-aD  
WNs}sNSf  
X8i(~ B  
struts.velocity.configfile 5+- I5HX|~  
      The Velocity configuration file path ]N^*tO  
      velocity配置文件路径 YuQ~AE'i  
7G<t"'  
struts.velocity.contexts D'b#,a;V  
      List of Velocity context names %T!J$a)qf  
      velocity的context列表 ?P/AC$:|I  
(CJ.BHu]  
9@K.cdRjQ  
struts.velocity.manager.classname .$&Q[r3Lu  
      org.apache.struts2.views.velocity.VelocityManager implementation class e4`uVq5  
      org.apache.struts2.views.velocity.VelocityManager接口名 a^t?vv  
H6K`\8/SeN  
struts.velocity.toolboxlocation m} 3gZu]  
      The location of the Velocity toolbox s =Umj'1k  
      velocity工具盒的位置 KVPR}qTP;  
struts.xslt.nocache wJeG(h  
      Whether or not XSLT templates should not be cached Md,pDWb  
      是否XSLT模版应该被缓存 S{#cD1>.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八