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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3>L1}zyM]  
c$e~O-OVD?  
struts.action.extension !%Z1" FDm/  
      The URL extension to use to determine if the request is meant for a Struts action /f# rN_4  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 U]R7=  
*Gu=O|Mm  
struts.configuration l@j!j]nE  
      The org.apache.struts2.config.Configuration implementation class k?J}-+Bm[|  
        org.apache.struts2.config.Configuration接口名 D(h|r^5  
2B!nLL Cp+  
struts.configuration.files >`oO(d}n[0  
      A list of configuration files automatically loaded by Struts w~Y#[GW  
      struts自动加载的一个配置文件列表 ^' [|  
Q7}w Y  
struts.configuration.xml.reload VJ=!0v  
      Whether to reload the XML configuration or not IgFz[)  
      是否加载xml配置(true,false) 9R ugkGy  
R0/~) P  
struts.continuations.package ZT^PL3j+  
      The package containing actions that use Rife continuations [Xz7.<0#U  
      含有actions的完整连续的package名称 Mm/GI a  
O$&p<~  
struts.custom.i18n.resources n"dT^ g  
      Location of additional localization properties files to load V).M\  
      加载附加的国际化属性文件(不包含.properties后缀) .pdgRjlSn  
?^"S%Vb  
struts.custom.properties 7gJy xQ  
      Location of additional configuration properties files to load MaMs(  
      加载附加的配置文件的位置 C}00S{nAZ  
7XwFO0==  
UyF]gO  
struts.devMode ]\_4r)cN<n  
      Whether Struts is in development mode or not .0a$E`V=D  
      是否为struts开发模式 DH 9?~|  
#vDe/o+=  
struts.dispatcher.parametersWorkaround Q7Dkh KT  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic fqF1 - %  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Y: byb68  
eA+6-'qN  
struts.enable.DynamicMethodInvocation LXK+WB/s  
      Allows one to disable dynamic method invocation from the URL Sk1yend4  
        允许动态方法调用 V'6%G:?0a  
G7),!Qol  
struts.freemarker.manager.classname wEkW=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3b[_0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (JF\%Yj/  
7vHU49DV  
struts.i18n.encoding =j}00,WH  
      The encoding to use for localization messages Ur@'X-  
      国际化信息内码 FD`V39##  
IzL yn  
struts.i18n.reload TnKe"TA|9  
      Whether the localization messages should automatically be reloaded Zd5fr c$  
      是否国际化信息自动加载 |H |ewVUY  
Zd~Z`B} &  
struts.locale 9xWeVlfQ  
      The default locale for the Struts application n=yFw\w'  
      默认的国际化地区信息 s\ ~r 8  
YHAy+S  
struts.mapper.class `GSfA0?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \y0abxIHS  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U,+=>ns>  
+q =/}|  
struts.multipart.maxSize >yL8C: J9  
      The maximize size of a multipart request (file upload) cy}2~w&s4  
      multipart请求信息的最大尺寸(文件上传用) N:d" {k  
Q}m)Q('Rk  
struts.multipart.parser K}wUM^  
      The org.apache.struts2.dispatcher.multipart. A46y?"]/30  
      MultiPartRequest parser implementation for a multipart request (file upload) \ (X~Z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K(Cv9YQ  
M VsIyP  
$I tehy  
struts.multipart.saveDir my*/MC^O  
      The directory to use for storing uploaded files k'S/nF A  
      设置存储上传文件的目录夹 QU\|RX   
,Z52d ggD  
struts.objectFactory py,z7_Nuh  
      The com.opensymphony.xwork2.ObjectFactory implementation class evn ]n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5X[=Q>  
WO '33Q(  
struts.objectFactory.spring.autoWire ~s88JLw%&u  
      Whether Spring should autoWire or not 2>UyA.m0  
      是否自动绑定Spring ,rG$JCS'KQ  
(A ?e}M^}  
struts.objectFactory.spring.useClassCache T"dEa-O  
      Whether Spring should use its class cache or not J.*dA j  
      是否spring应该使用自身的cache jT'1k[vJj  
hDfsqSK0 /  
struts.objectTypeDeterminer j[c|np4k\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class SFh6'v'1N@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Z,Q)\W<'-  
h"q`gj  
struts.serve.static.browserCache q,+d\-+  
If static content served by the Struts filter should set browser caching header properties or not _STN^   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 P/0n) Q  
j4Lf6aUOX  
struts.serve.static ~xzRx$vU  
      Whether the Struts filter should serve static content or not ^OYar(  
      是否struts过滤器应该提供静态内容 \f%jN1z  
~I!7]i]"*?  
struts.tag.altSyntax QZzi4[-as  
      Whether to use the alterative syntax for the tags or not N|8TE7- F|  
      是否可以用替代的语法替代tags Ga~IOlS  
P~=|R9 t  
struts.ui.templateDir D[9eu>"'9M  
      The directory containing UI templates 7]G3yt->  
      UI templates的目录夹 X_"TG;*$  
]3C7guWz  
struts.ui.theme IEO5QV:u:  
      The default UI template theme e >MC 3D`5  
      默认的UI template主题 Au:Q4x.  
mO]>(^c  
struts.url.http.port h*&-[nSo  
      The HTTP port used by Struts URLs p"Fj6T2  
      设置http端口 LL.YkYu  
Rsqb<+7  
struts.url.https.port ULAAY$o@5  
      The HTTPS port used by Struts URLs 7X1T9'j I2  
      设置https端口 Xgc@cwd  
qifX7AXHr  
struts.url.includeParams 6x6PP}IX  
      The default includeParams method to generate Struts URLs `&j5/[>v  
      在url中产生 默认的includeParams ?!8M I,c/  
nKufVe  
tE- s/  
struts.velocity.configfile n|3ENN  
      The Velocity configuration file path =3l%ZL/  
      velocity配置文件路径 "M1[@xog  
@/XA*9]l  
struts.velocity.contexts fnwtD *``  
      List of Velocity context names F}.<x5I-;h  
      velocity的context列表 $^d,>hJi  
Xb3z<r   
tec CU[O  
struts.velocity.manager.classname (|"K sGl  
      org.apache.struts2.views.velocity.VelocityManager implementation class PJS\> N&u  
      org.apache.struts2.views.velocity.VelocityManager接口名 =K}5 fe  
_KC()OIeC  
struts.velocity.toolboxlocation B&`#`]  
      The location of the Velocity toolbox yw$er?  
      velocity工具盒的位置 }M * Oo  
struts.xslt.nocache &+d>xy\^/  
      Whether or not XSLT templates should not be cached ErHbc 2  
      是否XSLT模版应该被缓存 ;ukwKf s  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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