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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 {^F_b% a4z  
F/h)azcn  
struts.action.extension pmZr<xs   
      The URL extension to use to determine if the request is meant for a Struts action y!j1xnzki  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C|+5F,D  
4I$#R  
struts.configuration _#I0m(  
      The org.apache.struts2.config.Configuration implementation class 8oK30?  
        org.apache.struts2.config.Configuration接口名 0T*jv! q>  
/$E1!9J  
struts.configuration.files g"xZ{k_3  
      A list of configuration files automatically loaded by Struts ev`p!p  
      struts自动加载的一个配置文件列表 Y (Q8P{@(  
YAD9'h]d\  
struts.configuration.xml.reload !Qy3fs  
      Whether to reload the XML configuration or not m T;z `*  
      是否加载xml配置(true,false) :gmVX}  
y9 "!ys  
struts.continuations.package q;+qIV&.:  
      The package containing actions that use Rife continuations 1-`8v[S  
      含有actions的完整连续的package名称 |dvcDx0|K  
aX! J0&3  
struts.custom.i18n.resources $%/Zm*H  
      Location of additional localization properties files to load JP#m} W  
      加载附加的国际化属性文件(不包含.properties后缀) Z"A:^jZ<s  
/}V9*mD2  
struts.custom.properties % tpjy,  
      Location of additional configuration properties files to load r(RJ&\ !  
      加载附加的配置文件的位置 l`d=sOB^  
3oj30L.  
&" =inkh  
struts.devMode s f%=q$z  
      Whether Struts is in development mode or not =^6]N~*,D  
      是否为struts开发模式 I3$v-OiL  
~Oolm_+{}  
struts.dispatcher.parametersWorkaround e_Y>[/Om  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +K&ze:-Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) mIOx)`$  
I;=}@]9  
struts.enable.DynamicMethodInvocation .S[5CO^  
      Allows one to disable dynamic method invocation from the URL u4%-e )$X  
        允许动态方法调用 qr :[y  
?=6zgb"9-  
struts.freemarker.manager.classname *M&~R(TMn  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class I\":L  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \;4RD$J  
RP6QS)|  
struts.i18n.encoding q0Fy$e]u  
      The encoding to use for localization messages t1xX B^.M{  
      国际化信息内码 Fm:Ri$iT  
P'zA=Rd&~>  
struts.i18n.reload qz?9:"~$C  
      Whether the localization messages should automatically be reloaded k9a-\UIMet  
      是否国际化信息自动加载 $H?v  
TJ#<wIiX  
struts.locale %h^; "|Z  
      The default locale for the Struts application ugOcK Gf  
      默认的国际化地区信息 Ta~Ei=d^  
bjbm"~  
struts.mapper.class w}+jfO9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5'6Oan7dL:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 +YXyfTa  
:0r@o:H  
struts.multipart.maxSize gmt`_Dpm$  
      The maximize size of a multipart request (file upload) Tk)y*y  
      multipart请求信息的最大尺寸(文件上传用) pX"f "  
.^uNzN~  
struts.multipart.parser hCM+=]z"  
      The org.apache.struts2.dispatcher.multipart. OF!(BJ L  
      MultiPartRequest parser implementation for a multipart request (file upload) }{HlY?S  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) e_7a9:2e  
C4ge_u#  
``U>9S"p)  
struts.multipart.saveDir ?z p$Wz;k  
      The directory to use for storing uploaded files u`7\o~$  
      设置存储上传文件的目录夹 Iq(BH^K  
c.r]w  
struts.objectFactory ^C_ ;uz  
      The com.opensymphony.xwork2.ObjectFactory implementation class o#CNr5/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) kk& ([ xqU  
EQ\/I( =l  
struts.objectFactory.spring.autoWire bt"*@NJ$  
      Whether Spring should autoWire or not wm_xH_{F  
      是否自动绑定Spring (6!W8x7  
Nn>Oq+:  
struts.objectFactory.spring.useClassCache }mz@oEB#vF  
      Whether Spring should use its class cache or not -6@#Nq_iWU  
      是否spring应该使用自身的cache v:|_!+g:  
qJj"WU5  
struts.objectTypeDeterminer OjFB_ N  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class h:[%' htz  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <BEM`2B  
M*$#j|  
struts.serve.static.browserCache J4"?D9T3G  
If static content served by the Struts filter should set browser caching header properties or not v*U OD'tk  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  ]?M3X_Mq  
[2ez"4e  
struts.serve.static c>mTd{Abi  
      Whether the Struts filter should serve static content or not gLy1*k4  
      是否struts过滤器应该提供静态内容 jI[Y< (F ;  
lf-1;6nyk"  
struts.tag.altSyntax #? u#=]  
      Whether to use the alterative syntax for the tags or not #%5[8~&  
      是否可以用替代的语法替代tags eaB6e@]@  
K+|G9  
struts.ui.templateDir .Yg7V'R1  
      The directory containing UI templates (.^KuXd  
      UI templates的目录夹 )jm!bR`  
2D;2QdO  
struts.ui.theme J;wDvt]]1  
      The default UI template theme @` 5P^H7  
      默认的UI template主题 29z$z$l4  
#:[^T,YD0  
struts.url.http.port  2:GS(%~  
      The HTTP port used by Struts URLs = Zi'L48  
      设置http端口 &Zy%Zz  
JP{Y Q:NF  
struts.url.https.port S3 Dmc\f  
      The HTTPS port used by Struts URLs 0Sx$6:-~  
      设置https端口 %/.yGAPkx  
y8%QS*  
struts.url.includeParams @;;3B  
      The default includeParams method to generate Struts URLs tw k  
      在url中产生 默认的includeParams ;x,yGb`  
4m1@lnjp  
N.'-9hv  
struts.velocity.configfile >v#6SDg  
      The Velocity configuration file path 03Uj0.Z|7  
      velocity配置文件路径 ~`yO@f;D  
Fzmc#?  
struts.velocity.contexts Xx,Rah)X3  
      List of Velocity context names =[do([A  
      velocity的context列表 U5:5$T,C  
P1_6:USBM  
PjE%_M<  
struts.velocity.manager.classname VW\xuP  
      org.apache.struts2.views.velocity.VelocityManager implementation class GahIR9_2  
      org.apache.struts2.views.velocity.VelocityManager接口名 _J&IL!S2  
Rt.2]eZEJ  
struts.velocity.toolboxlocation  |\FJ  
      The location of the Velocity toolbox \)M EM=U  
      velocity工具盒的位置 6DVHJ+WTV  
struts.xslt.nocache ?G>E[!8ev  
      Whether or not XSLT templates should not be cached blx"WVqo  
      是否XSLT模版应该被缓存 B,b^_4XX$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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