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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 N|  
ze#r/j;sw  
struts.action.extension e#|YROHf  
      The URL extension to use to determine if the request is meant for a Struts action ECvTmU'=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u:%Ln_S  
')KuLVE}S  
struts.configuration `:YCOF  
      The org.apache.struts2.config.Configuration implementation class g3vR\?c`  
        org.apache.struts2.config.Configuration接口名 l !:kwF  
{1J4Q[N9m  
struts.configuration.files #b$qtp!,  
      A list of configuration files automatically loaded by Struts 5/m}v'S%  
      struts自动加载的一个配置文件列表 f2Z(hYH~  
9%^O-8!  
struts.configuration.xml.reload AkVgFQg" n  
      Whether to reload the XML configuration or not |sPUb;&~  
      是否加载xml配置(true,false) v1\/dQK  
C?t!Uvs  
struts.continuations.package Apc!!*7  
      The package containing actions that use Rife continuations `z<I<  
      含有actions的完整连续的package名称 2 UPG8]  
\MB$Cwc  
struts.custom.i18n.resources +W}6o3x~  
      Location of additional localization properties files to load V5bB$tL}3  
      加载附加的国际化属性文件(不包含.properties后缀) LHd9q ^D  
*w[0uQL5Z  
struts.custom.properties `clp#l.ii  
      Location of additional configuration properties files to load M.fA5rJ^  
      加载附加的配置文件的位置 IQQ QB  
$9?<mP2-*  
@ 3,:G$,  
struts.devMode ugS  
      Whether Struts is in development mode or not &/-}`hIAT  
      是否为struts开发模式 Z90]I<a~  
i@#=Rxp  
struts.dispatcher.parametersWorkaround }sW%i#CV  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ibh,d.*~g  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |a>,FZv8e  
;]^% 6B n  
struts.enable.DynamicMethodInvocation nXfd f-  
      Allows one to disable dynamic method invocation from the URL -Rbv#Y  
        允许动态方法调用 2[g kDZ  
j. mla  
struts.freemarker.manager.classname p|Nh:4iN  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class y=SVS3D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 J1@skj4#\~  
#X qnH  
struts.i18n.encoding WlmkM?@  
      The encoding to use for localization messages my%MXTm2  
      国际化信息内码 W?D-&X^ny  
nG0R1<  
struts.i18n.reload (0^ZZe`# j  
      Whether the localization messages should automatically be reloaded )w,<XJhg`  
      是否国际化信息自动加载 > - U+o.o  
~ ;ObT=  
struts.locale |X;|=.  
      The default locale for the Struts application Y |9  
      默认的国际化地区信息 %`}nP3  
@IV,sz e  
struts.mapper.class qpV"ii  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -|4 Oq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 QVo>Uit   
$) m$ c5!  
struts.multipart.maxSize '+7"dHLC;  
      The maximize size of a multipart request (file upload) IO<Ds#(  
      multipart请求信息的最大尺寸(文件上传用) Ix+eP|8F  
+P%k@w#<Z  
struts.multipart.parser !TO+[g!  
      The org.apache.struts2.dispatcher.multipart. z[' 2  
      MultiPartRequest parser implementation for a multipart request (file upload) $0|`h)&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )Bu#ln"  
ji.T7wn1u  
;2[),k  
struts.multipart.saveDir o2!wz8  
      The directory to use for storing uploaded files S ^$!n,  
      设置存储上传文件的目录夹 JJy.)-R  
yf/i)  
struts.objectFactory _RE;}1rb,  
      The com.opensymphony.xwork2.ObjectFactory implementation class vH/RP  
      com.opensymphony.xwork2.ObjectFactory接口(spring) i@mS8%|l  
i(> WeC+  
struts.objectFactory.spring.autoWire -`UOqjb]3  
      Whether Spring should autoWire or not 2WC$r8E  
      是否自动绑定Spring *U +<Hv`C  
; *\xdg{d  
struts.objectFactory.spring.useClassCache y% O^Zm1  
      Whether Spring should use its class cache or not fNz(z\  
      是否spring应该使用自身的cache -^q;e]+J  
3%)@c P:?  
struts.objectTypeDeterminer DhXV=Qw  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class UjS+Ddp  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 YP>J'{?b*"  
ZmmX_!M  
struts.serve.static.browserCache Vllxv6/_  
If static content served by the Struts filter should set browser caching header properties or not Ko0?c.l  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p}8?#5`/w  
d'iSvd.  
struts.serve.static k~)@D| ?  
      Whether the Struts filter should serve static content or not jXPbj.  
      是否struts过滤器应该提供静态内容 L8(2or  
zI4d|P  
struts.tag.altSyntax 2S-f5&o  
      Whether to use the alterative syntax for the tags or not #_WkV  
      是否可以用替代的语法替代tags N5zx#g  
-F_c Bu81V  
struts.ui.templateDir & H8  %  
      The directory containing UI templates 6sG5 n7E-A  
      UI templates的目录夹 &hih p"  
HvmE'O8  
struts.ui.theme A?h o<@^  
      The default UI template theme YdyTt5-  
      默认的UI template主题 WtO@Kf:3GH  
=\G`g #  
struts.url.http.port )!~,xl^j{}  
      The HTTP port used by Struts URLs Nxna H!wS  
      设置http端口 *7b?.{  
F}=_"IkZ  
struts.url.https.port Mfnfp{.)  
      The HTTPS port used by Struts URLs %+/Dv  
      设置https端口 sDAP'&  
Xk\IO0GF  
struts.url.includeParams *W;;L_V"   
      The default includeParams method to generate Struts URLs &j,# 5f(  
      在url中产生 默认的includeParams cg_ " }]Y1  
~'F.tB  
4U~'Oa @p  
struts.velocity.configfile <KfR)7I$0a  
      The Velocity configuration file path L/In~' *-  
      velocity配置文件路径 W]XM<# ^^  
0!oqP1  
struts.velocity.contexts [w!T  
      List of Velocity context names 2|ej~}Y  
      velocity的context列表 q"EW*k+ )  
X}Om)WCr  
i[I&m]N  
struts.velocity.manager.classname Ve${g`7&  
      org.apache.struts2.views.velocity.VelocityManager implementation class a,(nf1@5  
      org.apache.struts2.views.velocity.VelocityManager接口名 TO.STK`  
#%w+PL:*O  
struts.velocity.toolboxlocation bR,Es~n  
      The location of the Velocity toolbox \iaZV.#f  
      velocity工具盒的位置 (<rE1w2s:  
struts.xslt.nocache <v/aquLN  
      Whether or not XSLT templates should not be cached *6eJmbFG  
      是否XSLT模版应该被缓存 fef y`J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五