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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 '1_CMr  
>$j?2,Za(V  
struts.action.extension by (xv0v;  
      The URL extension to use to determine if the request is meant for a Struts action sEm-Td+A5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 mfc\w'  
pa*bqPi  
struts.configuration |VQ17*4ff1  
      The org.apache.struts2.config.Configuration implementation class xy5&}_Y  
        org.apache.struts2.config.Configuration接口名 DY/xBwIF  
9@/ X;zO  
struts.configuration.files 6w|s1!B l  
      A list of configuration files automatically loaded by Struts >|'u:`A  
      struts自动加载的一个配置文件列表 W_8N?coM  
w3WBgH  
struts.configuration.xml.reload slaYr`u  
      Whether to reload the XML configuration or not ,4M7:=gf  
      是否加载xml配置(true,false) Nr8#/H2f  
^}fc]ovV  
struts.continuations.package CB]#`|f  
      The package containing actions that use Rife continuations ^{lcj  
      含有actions的完整连续的package名称 Ii FeO  
Fuq ;4UcbL  
struts.custom.i18n.resources V(3^ev/  
      Location of additional localization properties files to load >Z r f}H  
      加载附加的国际化属性文件(不包含.properties后缀) +twl`Z3n  
QH7"' u6  
struts.custom.properties eg!s[1[_  
      Location of additional configuration properties files to load x]{}y_  
      加载附加的配置文件的位置 0A9llE  
K[r<-6TS  
%38HGjS  
struts.devMode 1fUg  
      Whether Struts is in development mode or not -j9Wf=  
      是否为struts开发模式 wyJ+~  
^h\& l{e  
struts.dispatcher.parametersWorkaround  ~ "Xcd8:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Zawnx=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) nI]8w6eCV  
0vR gmn  
struts.enable.DynamicMethodInvocation }@6ws/5  
      Allows one to disable dynamic method invocation from the URL "sh*,K5x|  
        允许动态方法调用 AtU%S9  
:+#$=4  
struts.freemarker.manager.classname q(xr5iuP_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AUjZYp  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a4aM.o  
a8nqzuI  
struts.i18n.encoding cip5 -Z@8  
      The encoding to use for localization messages W cOyOv  
      国际化信息内码 *Cf5D6=Q  
{02$pO  
struts.i18n.reload c[VVCN8dA  
      Whether the localization messages should automatically be reloaded rZ`+g7&^Fh  
      是否国际化信息自动加载 ,Y9bXC8+dU  
~P!\;S  
struts.locale Sq22]  
      The default locale for the Struts application u|(;SY  
      默认的国际化地区信息 !r^fX=X>'  
[~_)]"pU  
struts.mapper.class .Nk'yow  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7]sRHX0o%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 JX!z,X?r4  
&FrUj>i  
struts.multipart.maxSize 1?I_fA}  
      The maximize size of a multipart request (file upload) YF8;s4  
      multipart请求信息的最大尺寸(文件上传用) A; _Zw[  
-So$ f-y  
struts.multipart.parser R` g'WaDk  
      The org.apache.struts2.dispatcher.multipart. ' _ZiZ4O  
      MultiPartRequest parser implementation for a multipart request (file upload) T8^`<gr.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ob!NC&  
& 6="r}  
da ' 1 H  
struts.multipart.saveDir hufpky[&8  
      The directory to use for storing uploaded files ICdfak  
      设置存储上传文件的目录夹 pTeN[Yu?  
2P, %}Ms  
struts.objectFactory 2`dKnaF|  
      The com.opensymphony.xwork2.ObjectFactory implementation class C*X=nezq  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ibP IT!5c  
3ch<a0  
struts.objectFactory.spring.autoWire >:J7u*>$'  
      Whether Spring should autoWire or not x&p.-Fi  
      是否自动绑定Spring )x5t']w`K  
4yK{(!&i+  
struts.objectFactory.spring.useClassCache +L0Jje>Az  
      Whether Spring should use its class cache or not f/PqkHF  
      是否spring应该使用自身的cache N =T 0Td  
Kj53"eW  
struts.objectTypeDeterminer w`YN#G  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R E0ud_q2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 d HN"pNNs  
"f~*4g  
struts.serve.static.browserCache D?.H|%  
If static content served by the Struts filter should set browser caching header properties or not Y~TD)c=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 '2z1$zst,#  
^V}c8 P|  
struts.serve.static ]A=yj@o$xN  
      Whether the Struts filter should serve static content or not 8/vGA=  
      是否struts过滤器应该提供静态内容 *Z8qd{.$q  
Uee(1  
struts.tag.altSyntax s3-TBhAv  
      Whether to use the alterative syntax for the tags or not tp<v  
      是否可以用替代的语法替代tags K>2M*bGc p  
-bd'sv  
struts.ui.templateDir iV5S[uy72.  
      The directory containing UI templates 1SF8D`3  
      UI templates的目录夹 0fJz[;dV>n  
&K*Kr=9N  
struts.ui.theme Np"~1z.(b  
      The default UI template theme A('o &H  
      默认的UI template主题 g@zhhBtQ  
9ls*L!Jw  
struts.url.http.port D wfw|h  
      The HTTP port used by Struts URLs v#|yr<  
      设置http端口 ?WP*At0  
^ 0.`1$  
struts.url.https.port xs6kr  
      The HTTPS port used by Struts URLs eC3 ~|G_O  
      设置https端口 'iWDYZ?  
b+`qGJrej  
struts.url.includeParams yGY:EvH^?  
      The default includeParams method to generate Struts URLs V]Rt[l]  
      在url中产生 默认的includeParams |b4f3n  
Skg}/Ek  
+!Q*ie+q  
struts.velocity.configfile _vJ(F  
      The Velocity configuration file path <2af&-EG s  
      velocity配置文件路径 7NvnCs  
3a?|}zr4  
struts.velocity.contexts od)ssL&E~  
      List of Velocity context names []jbzVwS2  
      velocity的context列表 F'-,Ksn  
qizQt]l  
Mt4*`CxtH;  
struts.velocity.manager.classname k:F{U^!p|  
      org.apache.struts2.views.velocity.VelocityManager implementation class .?`8B9w  
      org.apache.struts2.views.velocity.VelocityManager接口名 m[CyvcF*u  
B.C:06E5  
struts.velocity.toolboxlocation d#HlO}  
      The location of the Velocity toolbox x1h&`QUP  
      velocity工具盒的位置 pAws{3(Q  
struts.xslt.nocache 2w}l!'ue  
      Whether or not XSLT templates should not be cached Q@1SqK#-DQ  
      是否XSLT模版应该被缓存 "l{{H&d  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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