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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 'xM\txZ;  
1&kf2\S  
struts.action.extension Gn10)Uf8X  
      The URL extension to use to determine if the request is meant for a Struts action A#79$[>w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 N *n?hN  
><6g-+*k  
struts.configuration % =v<3  
      The org.apache.struts2.config.Configuration implementation class 2fUz}w (  
        org.apache.struts2.config.Configuration接口名 oX/#Mct{s  
ju"j?2+F  
struts.configuration.files O} lqY?0*  
      A list of configuration files automatically loaded by Struts a9nXh6  
      struts自动加载的一个配置文件列表 0R,Y[).U  
VD=F{|^  
struts.configuration.xml.reload n6INI~,  
      Whether to reload the XML configuration or not jLul:* L  
      是否加载xml配置(true,false) u/?;J1z:  
P(zquKm  
struts.continuations.package 3e^'mT  
      The package containing actions that use Rife continuations rf&nTDaWI  
      含有actions的完整连续的package名称 90$`AMR  
_NbhWv  
struts.custom.i18n.resources dFpP_U  
      Location of additional localization properties files to load V3\} ]5  
      加载附加的国际化属性文件(不包含.properties后缀) FC8= ru  
A)^A2xZQ  
struts.custom.properties ?[O Sy.6  
      Location of additional configuration properties files to load l {\@+m  
      加载附加的配置文件的位置 QlxlT$o}  
FCYZ9L5uF  
 YwB\kN  
struts.devMode t4iV[xl3F  
      Whether Struts is in development mode or not j7Lw( AJ  
      是否为struts开发模式 lG X_5R  
v[?eL0Z  
struts.dispatcher.parametersWorkaround FEg&EYI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic s8kkf5bu  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :3*0o3C/  
Bk1gE((  
struts.enable.DynamicMethodInvocation ';x5 $5k'  
      Allows one to disable dynamic method invocation from the URL ]p~,C*UH0  
        允许动态方法调用 &T-udgR9  
m=I A/HOR^  
struts.freemarker.manager.classname \RTXfe-`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1FC 1*7A[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a,p7l$kK  
ch}(v'xv(  
struts.i18n.encoding * @j#13.  
      The encoding to use for localization messages nr{ }yQ u  
      国际化信息内码 KfNR)  
s^AZ)k~J(  
struts.i18n.reload ?Wp{tB9N0  
      Whether the localization messages should automatically be reloaded noNL.%I  
      是否国际化信息自动加载 ~7=w,+  
DcLx [C  
struts.locale C[(Exe  
      The default locale for the Struts application uI[lrMQYa  
      默认的国际化地区信息 IqONDdep9  
o//PlG~  
struts.mapper.class T k>N4yq  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $yg}HS7HC  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C0Ti9  
ldm=uW  
struts.multipart.maxSize NvlG@^&S  
      The maximize size of a multipart request (file upload)  !.k  
      multipart请求信息的最大尺寸(文件上传用) ~x}=lKN  
.:s**UiDR  
struts.multipart.parser X*C4N F0  
      The org.apache.struts2.dispatcher.multipart. Fop "m/  
      MultiPartRequest parser implementation for a multipart request (file upload) uBC*7Mkm  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %S4pkFR  
=zW.~(c{  
PfVjfrI[  
struts.multipart.saveDir )Ikx0vDFQ  
      The directory to use for storing uploaded files ^?tF'l`  
      设置存储上传文件的目录夹 >U$,/_uMNW  
r&ex<(I{  
struts.objectFactory xlaBOKa%  
      The com.opensymphony.xwork2.ObjectFactory implementation class C_Z[ul  
      com.opensymphony.xwork2.ObjectFactory接口(spring) # S4{,  
#fYz367>  
struts.objectFactory.spring.autoWire bKH8/*Yk  
      Whether Spring should autoWire or not F/w!4,'<?5  
      是否自动绑定Spring cB7=4:U  
G P/3r[MH  
struts.objectFactory.spring.useClassCache N8l(m5Kk,k  
      Whether Spring should use its class cache or not ';!02=-@  
      是否spring应该使用自身的cache  0$l D  
/z+}xRS  
struts.objectTypeDeterminer t=ry\h{Pc  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Hv1d4U"qM  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Mzxy'U V  
qN_jsJ  
struts.serve.static.browserCache T=2 91)@  
If static content served by the Struts filter should set browser caching header properties or not EkqsE$52  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 x3my8'h@  
KdOy3O_5N  
struts.serve.static 8f|  
      Whether the Struts filter should serve static content or not '&}B"1  
      是否struts过滤器应该提供静态内容 -K)P|'-?m  
 g=:C/>g  
struts.tag.altSyntax ,saf"Ed=  
      Whether to use the alterative syntax for the tags or not D|n`9yv a  
      是否可以用替代的语法替代tags C@L:m1fz  
?H3xE=<X  
struts.ui.templateDir 2,<!l(X  
      The directory containing UI templates =GjxqIv  
      UI templates的目录夹 )vk$]<$  
s?5(E}  
struts.ui.theme Tl Z|E '_C  
      The default UI template theme @&2bLJJ+  
      默认的UI template主题 j=d@Ih*  
3&-BO%i  
struts.url.http.port ZuF-$]oL&  
      The HTTP port used by Struts URLs YXa^jFp  
      设置http端口 F/}PN1#T  
jfHVXu^M  
struts.url.https.port ' 7>V4\"  
      The HTTPS port used by Struts URLs PhM3?$  
      设置https端口 nK6{_Y>  
:nw4K(:f  
struts.url.includeParams avk0pY(n  
      The default includeParams method to generate Struts URLs Z %MP:@z  
      在url中产生 默认的includeParams y)!K@  
810u +%fu  
BaTE59W  
struts.velocity.configfile NQ%lwE~  
      The Velocity configuration file path qMz0R\4  
      velocity配置文件路径 z&d&Ky  
V4Ql6vg_f  
struts.velocity.contexts ?!~CX`eMZ  
      List of Velocity context names (Y!@,rKd   
      velocity的context列表 a3037~X  
#f~#38_  
U w][U  
struts.velocity.manager.classname vh+Ih Gi  
      org.apache.struts2.views.velocity.VelocityManager implementation class &}%3yrU  
      org.apache.struts2.views.velocity.VelocityManager接口名 -pc*$oe  
\=4[v-3 H  
struts.velocity.toolboxlocation h4S,(*V$!  
      The location of the Velocity toolbox j#0@%d  
      velocity工具盒的位置 6`{Y#2T  
struts.xslt.nocache q?{wRBVVB  
      Whether or not XSLT templates should not be cached H{`S/>)[   
      是否XSLT模版应该被缓存 m> ?OjA!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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