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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 23eX;gL  
PCee<W_%YE  
struts.action.extension ITXa&5D  
      The URL extension to use to determine if the request is meant for a Struts action 8mrUotjS  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 oAVnK[EMq`  
1p3z1_wrs  
struts.configuration r| wS<cA2  
      The org.apache.struts2.config.Configuration implementation class <]t%8GB2V  
        org.apache.struts2.config.Configuration接口名 e;q!6%  
K=Z|/Kkh  
struts.configuration.files &{n.]]%O.  
      A list of configuration files automatically loaded by Struts ^$jb7HMObI  
      struts自动加载的一个配置文件列表 WM$ MPs  
wh`"w7br  
struts.configuration.xml.reload cGzPI +F  
      Whether to reload the XML configuration or not ,.8KN<A2]'  
      是否加载xml配置(true,false) dh iuI|?@  
:gibfk]C  
struts.continuations.package 9!\B6=r y4  
      The package containing actions that use Rife continuations r.&Vw|*>  
      含有actions的完整连续的package名称 ?pmHFlx  
K&]G3W%V  
struts.custom.i18n.resources h 0Q5-EA  
      Location of additional localization properties files to load 3BJ0S.TF  
      加载附加的国际化属性文件(不包含.properties后缀) Tn e4  
&-6Gc;f8  
struts.custom.properties O"9\5(w  
      Location of additional configuration properties files to load S!CC }3zw  
      加载附加的配置文件的位置 lIS-4QX1  
:J@ gmY:C  
hBUn \~z  
struts.devMode prF%.(G2)  
      Whether Struts is in development mode or not w+|L+h3L7  
      是否为struts开发模式 %p=M;  
OX!tsARC@  
struts.dispatcher.parametersWorkaround u'DRN,h+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic sY Qk  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I3I/bofz  
x~~|.C ,  
struts.enable.DynamicMethodInvocation }!r|1$,kL  
      Allows one to disable dynamic method invocation from the URL _7 L-<  
        允许动态方法调用 @o _}g !9=  
"?xHlYj@+  
struts.freemarker.manager.classname =s2*H8]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,!y$qVg'\f  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 sIGMA$EK  
xs bE TP?  
struts.i18n.encoding a~}OZ&PG  
      The encoding to use for localization messages !)0;&e5  
      国际化信息内码 O KR "4n:  
pJ"qu,w  
struts.i18n.reload ]Ie 0S~  
      Whether the localization messages should automatically be reloaded W+?4jwqw  
      是否国际化信息自动加载 b9HtR-iR;  
UECK:61Me  
struts.locale g7`LEF <A  
      The default locale for the Struts application w-MCZwCr)  
      默认的国际化地区信息 9IfmW^0  
/]Md~=yNp  
struts.mapper.class l4YJ c  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~IBP|)WA-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 XJ| <?   
}@q`%uzi  
struts.multipart.maxSize L+i=VGm0  
      The maximize size of a multipart request (file upload) K;H&n1  
      multipart请求信息的最大尺寸(文件上传用) '$(^W@M#6  
WO>nIo5Y  
struts.multipart.parser s)D;a-F  
      The org.apache.struts2.dispatcher.multipart. CxW>~O:  
      MultiPartRequest parser implementation for a multipart request (file upload) #gs`#6 ,'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =K[yT:  
KBc1{adDx@  
)' cMYC  
struts.multipart.saveDir FGmb<z 2p  
      The directory to use for storing uploaded files `kXs;T6&  
      设置存储上传文件的目录夹 +lcbi  
0znR0%~  
struts.objectFactory #r\4sVg  
      The com.opensymphony.xwork2.ObjectFactory implementation class wE`]7mA  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Moza".fiN  
wc4{)qDE  
struts.objectFactory.spring.autoWire `l[c_%Bm  
      Whether Spring should autoWire or not s*]}QmRpr  
      是否自动绑定Spring o|<!"AD7  
m&,(Jla  
struts.objectFactory.spring.useClassCache #h ]g?*}OJ  
      Whether Spring should use its class cache or not `dN@u@[\ks  
      是否spring应该使用自身的cache y??XIsF  
=X:Y,?  
struts.objectTypeDeterminer ;dgp+  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7[XRd9a5(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +\ .Lp 5  
Qe:seW  
struts.serve.static.browserCache CkQ3#L<2  
If static content served by the Struts filter should set browser caching header properties or not _)m]_eS._  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0 /U{p,r6`  
Kis"L(C  
struts.serve.static h3 }OX{k  
      Whether the Struts filter should serve static content or not ?%[@Qb=2  
      是否struts过滤器应该提供静态内容 '7 @zGk##(  
Lnl=.z`jK  
struts.tag.altSyntax T:yE(OBf  
      Whether to use the alterative syntax for the tags or not Eo]xNn/g  
      是否可以用替代的语法替代tags v PG},m~-  
hhc,uJ">!  
struts.ui.templateDir R-d:j^:f  
      The directory containing UI templates 7ZWgf"1j  
      UI templates的目录夹 y766; X:J  
lq;P ch  
struts.ui.theme 8'io$ 6d=  
      The default UI template theme h MD|#A-<  
      默认的UI template主题 SoSb+\* @h  
KB(8f*  
struts.url.http.port M%P:n/j  
      The HTTP port used by Struts URLs )1`0PJoHE  
      设置http端口 j'"J%e]  
.p" xVfi6  
struts.url.https.port tFOhL9T  
      The HTTPS port used by Struts URLs n9ej7oj  
      设置https端口 \\;jw[P0  
^8N}9a  
struts.url.includeParams hT+_(>hT  
      The default includeParams method to generate Struts URLs VTY 5]|;  
      在url中产生 默认的includeParams .Vvx,>>D  
S3 Xl  
'e'cb>GnA  
struts.velocity.configfile @<EO`L)Z  
      The Velocity configuration file path {fT6O&br  
      velocity配置文件路径 srrgvG,  
z5*'{t)  
struts.velocity.contexts u <v7;dF|s  
      List of Velocity context names ?J >  
      velocity的context列表 7?w*]  
6q.Uhe_B  
d S V8q ,D  
struts.velocity.manager.classname E""bTz@  
      org.apache.struts2.views.velocity.VelocityManager implementation class r0% D58  
      org.apache.struts2.views.velocity.VelocityManager接口名 *#+An<iT ;  
z[qDkL  
struts.velocity.toolboxlocation 3 {sVVq5Y  
      The location of the Velocity toolbox T'Dv.h  
      velocity工具盒的位置 [2 M'PT3  
struts.xslt.nocache wgGl[_)  
      Whether or not XSLT templates should not be cached Y\g3h M  
      是否XSLT模版应该被缓存 uiR8,H9*M  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八