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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ooj,/IEQ  
D rUO-  
struts.action.extension _LEK%  
      The URL extension to use to determine if the request is meant for a Struts action mZS >O_E  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6$Xzpg(o  
mI-]/:  
struts.configuration { M4gF8(M  
      The org.apache.struts2.config.Configuration implementation class UT~4x|b:O  
        org.apache.struts2.config.Configuration接口名 [I,Z2G,Jb  
QC OM_$y  
struts.configuration.files {tuYs:  
      A list of configuration files automatically loaded by Struts .Ni\\  
      struts自动加载的一个配置文件列表 S"bg9o  
NdA[C|_8}f  
struts.configuration.xml.reload ~F|+o}a `  
      Whether to reload the XML configuration or not |}s*E_/[  
      是否加载xml配置(true,false) 'j8:vq^d  
u"cV%(#  
struts.continuations.package ar!R|zmf  
      The package containing actions that use Rife continuations 58tARLDr  
      含有actions的完整连续的package名称 *k(XW_>  
y*jp79G  
struts.custom.i18n.resources jjB~G^n  
      Location of additional localization properties files to load h,u, ^ r  
      加载附加的国际化属性文件(不包含.properties后缀) PB\(=  
B[Ku\A6&  
struts.custom.properties )1J R#  
      Location of additional configuration properties files to load n`B:;2X,  
      加载附加的配置文件的位置 Ct<udO  
H7&8\ FNa  
FF`T\&u  
struts.devMode z;,u}u}aI  
      Whether Struts is in development mode or not m{Wu" ;e  
      是否为struts开发模式 Y1W1=Uc uk  
urs,34h  
struts.dispatcher.parametersWorkaround .LnGL]/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q.^;!f1  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8?#/o c  
rK6l8)o  
struts.enable.DynamicMethodInvocation i4Q@K,$  
      Allows one to disable dynamic method invocation from the URL O'p9u@kc  
        允许动态方法调用 5,lEx1{_  
hP%M?MKC  
struts.freemarker.manager.classname y{B=-\O]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e\`&p  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 MC&` oX[  
Tj` ,Z5vy  
struts.i18n.encoding 5K1)1E/Fu  
      The encoding to use for localization messages bivuqKA  
      国际化信息内码 .,|G7DGH]  
m/@wh a  
struts.i18n.reload }#RakV4  
      Whether the localization messages should automatically be reloaded ,GhS[VJjR  
      是否国际化信息自动加载 ,hm\   
X6w6%fzOH>  
struts.locale `iFmrC<  
      The default locale for the Struts application <y('hI'  
      默认的国际化地区信息 Fc)@,/R"v  
2G & a{  
struts.mapper.class d=$Mim  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z!a =dnwHz  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~k-y &<UR  
T*/rySs  
struts.multipart.maxSize XB;7!8|  
      The maximize size of a multipart request (file upload) 6m/r+?'  
      multipart请求信息的最大尺寸(文件上传用) U/66L+1  
xf\C|@i  
struts.multipart.parser J\} twYty  
      The org.apache.struts2.dispatcher.multipart. Fo (fWvz  
      MultiPartRequest parser implementation for a multipart request (file upload) hlvK5Z   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Jc&{`s^Nu  
Fj8z  
v|_K/|  
struts.multipart.saveDir q"CVcLi9  
      The directory to use for storing uploaded files \"w"$9o6  
      设置存储上传文件的目录夹 T$)^gHS  
r..iko]T  
struts.objectFactory *2>&"B09`  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;>U2|>5V  
      com.opensymphony.xwork2.ObjectFactory接口(spring) '2A)}uR  
:DK {Vg6  
struts.objectFactory.spring.autoWire 8?B!2  
      Whether Spring should autoWire or not !]A  
      是否自动绑定Spring 0I-9nuw,^;  
('4_ xOb  
struts.objectFactory.spring.useClassCache g>E LGG |Q  
      Whether Spring should use its class cache or not TM__I\+Q  
      是否spring应该使用自身的cache 60^`JVGWH  
p;`>e>$  
struts.objectTypeDeterminer {K~'K+TPu  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nY[WRt w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !,_u)4  
hIYNhZv  
struts.serve.static.browserCache y1jCg%'H  
If static content served by the Struts filter should set browser caching header properties or not yM6pd U]i  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z\bmW%av  
<yV"6/l 0  
struts.serve.static ,i ^9 |Oeq  
      Whether the Struts filter should serve static content or not k$^UUo6  
      是否struts过滤器应该提供静态内容 V@.Ior}w  
ih-#5M@  
struts.tag.altSyntax o)M}!MT  
      Whether to use the alterative syntax for the tags or not >jDDQ@  
      是否可以用替代的语法替代tags ozyX$tp  
<`8n^m*  
struts.ui.templateDir { T/[cu<  
      The directory containing UI templates OR P\b  
      UI templates的目录夹 CImWd.W9~  
ueogaifvB  
struts.ui.theme Ko| d+  
      The default UI template theme *P[ hy  
      默认的UI template主题 h ]5(].  
Q^P}\wb>  
struts.url.http.port 9 &dtd  
      The HTTP port used by Struts URLs S3C]AhW;  
      设置http端口 ?.m bK  
>F|>cc>_E  
struts.url.https.port 6$hQ35  
      The HTTPS port used by Struts URLs M5 LfRBO  
      设置https端口 ~gJwW+  
LRxZcxmy  
struts.url.includeParams i]c!~`  
      The default includeParams method to generate Struts URLs h:))@@7MJ  
      在url中产生 默认的includeParams ,hDW Ps2S  
4Co6(  
B6+khuG(  
struts.velocity.configfile g\|PcoLm  
      The Velocity configuration file path R3f89  
      velocity配置文件路径 Uk[b|<U-`d  
3oj' ytxN  
struts.velocity.contexts J/`<!$<c  
      List of Velocity context names Y sC>i`n9  
      velocity的context列表 ,C\i^>=  
djl*H  
#Qw0&kM7I  
struts.velocity.manager.classname .fqN|[>  
      org.apache.struts2.views.velocity.VelocityManager implementation class c1(RuP:S  
      org.apache.struts2.views.velocity.VelocityManager接口名 .|KyNBn  
1/B>XkCJ  
struts.velocity.toolboxlocation kM l+yli3c  
      The location of the Velocity toolbox G<z wv3  
      velocity工具盒的位置 EmWn%eMN  
struts.xslt.nocache AG nxYV"p  
      Whether or not XSLT templates should not be cached vQG5*pR*w  
      是否XSLT模版应该被缓存 |u% )gk  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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