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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  $.]t1e7s  
gB{R6 \<O  
struts.action.extension *9:6t6x  
      The URL extension to use to determine if the request is meant for a Struts action vi.AzO  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 D]`B;aE>A*  
bb_jD^  
struts.configuration OcS`Fxs  
      The org.apache.struts2.config.Configuration implementation class t>`LO  
        org.apache.struts2.config.Configuration接口名 |JQP7z6j]  
hADb]O  
struts.configuration.files w`!foPE  
      A list of configuration files automatically loaded by Struts x$b[m 20  
      struts自动加载的一个配置文件列表 nR'EuI~(}  
(pK4i5lT  
struts.configuration.xml.reload ?m7"G)  
      Whether to reload the XML configuration or not FG36,6N%2j  
      是否加载xml配置(true,false) "._WdY[  
*b l{F\  
struts.continuations.package I; }%k;v6  
      The package containing actions that use Rife continuations [(UqPd$  
      含有actions的完整连续的package名称 k{w^MOHNg  
3a[(GW _  
struts.custom.i18n.resources 64j 4P 7  
      Location of additional localization properties files to load ovoI~k'  
      加载附加的国际化属性文件(不包含.properties后缀) A,[m=9V  
RV*Zi\-X  
struts.custom.properties fJ lN'F7  
      Location of additional configuration properties files to load MAo,PiYb  
      加载附加的配置文件的位置 5GxM?%\  
`.-k%2?/  
[hj'Yg8{  
struts.devMode Bw7:ry  
      Whether Struts is in development mode or not %((3'le  
      是否为struts开发模式 K}(n;6\  
F"P:9`/  
struts.dispatcher.parametersWorkaround '\YhRU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic TUn@b11  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %}5"5\Zz  
1mPS)X_  
struts.enable.DynamicMethodInvocation Q+M3Pqy  
      Allows one to disable dynamic method invocation from the URL w% -!dbmb%  
        允许动态方法调用 )g<qEyJR  
Y9ce"*b  
struts.freemarker.manager.classname sO-R+G/^7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3n)iTSU3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %,q#f#  
Cx'=2Y7  
struts.i18n.encoding ur[bh  
      The encoding to use for localization messages E4ee_`p  
      国际化信息内码 fy4JW,c  
%4^/.) Q  
struts.i18n.reload > V}NG  
      Whether the localization messages should automatically be reloaded pr89zkYw  
      是否国际化信息自动加载 "?.Wb L  
5|t&qUV  
struts.locale @Odu.F1e  
      The default locale for the Struts application W >IKy#  
      默认的国际化地区信息 Ri0+nJ6  
({b/J0 <@D  
struts.mapper.class rz7b%WY  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gb#wrI  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 LKY Q?  
"G)?  E|  
struts.multipart.maxSize AG0x)  
      The maximize size of a multipart request (file upload) FMr$cKvE]W  
      multipart请求信息的最大尺寸(文件上传用) P.J}\;S T  
]F-6KeBc  
struts.multipart.parser 9'aR-tFun;  
      The org.apache.struts2.dispatcher.multipart. }}2hI`   
      MultiPartRequest parser implementation for a multipart request (file upload) En_8H[<%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z|wDM^Lf  
IT33E%G  
FKm2slzb  
struts.multipart.saveDir "t`e68{Ls  
      The directory to use for storing uploaded files u[qtuM?&  
      设置存储上传文件的目录夹 ? D'-{/<4  
]qRz!D%@^  
struts.objectFactory 9:~^KQ{?  
      The com.opensymphony.xwork2.ObjectFactory implementation class HWZ*Htr  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {IwYoRaXa  
m&8_i`%<  
struts.objectFactory.spring.autoWire rvO+=Tk  
      Whether Spring should autoWire or not '|r !yAO6  
      是否自动绑定Spring ' ]Y:gmM"  
UG$i5PV%i  
struts.objectFactory.spring.useClassCache :9qB{rLi}  
      Whether Spring should use its class cache or not v1rGq  
      是否spring应该使用自身的cache }N!8i'suz9  
>s~`K^zS  
struts.objectTypeDeterminer h {btT  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class PrxXL/6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0CYI,V  
$OuA<-  
struts.serve.static.browserCache $a1.c;NE'  
If static content served by the Struts filter should set browser caching header properties or not 4B(qVf&M  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BpE[9N  
?2c:|FD  
struts.serve.static Iqv 5lo .  
      Whether the Struts filter should serve static content or not A;PV,2|X  
      是否struts过滤器应该提供静态内容 |.yRo_  
2US8<sq+  
struts.tag.altSyntax K~G^jAk+  
      Whether to use the alterative syntax for the tags or not 0\A[a4crj  
      是否可以用替代的语法替代tags s5@^g8(+C  
r]{:{Z  
struts.ui.templateDir ;kA2"c]m  
      The directory containing UI templates \t3i9#Q  
      UI templates的目录夹 wEyh;ID3#  
[c~zO+x  
struts.ui.theme }=5(*Vg  
      The default UI template theme J{I?t~u  
      默认的UI template主题 wDzS<mm  
2Hj]QN7"   
struts.url.http.port )VrHP9fu  
      The HTTP port used by Struts URLs -K4RQ{=>UZ  
      设置http端口 " 8v  
+bU(-yRy5o  
struts.url.https.port )JON&~C  
      The HTTPS port used by Struts URLs XZJx3!~fm  
      设置https端口 5@\<:Zmi  
:}cAq/  
struts.url.includeParams elQ44)TrQ  
      The default includeParams method to generate Struts URLs ?:c hAN@  
      在url中产生 默认的includeParams {fs(+ 0ei  
n"vI>_|G  
&40d J~SQ  
struts.velocity.configfile |/Z4lcI  
      The Velocity configuration file path N0NMRU]zT  
      velocity配置文件路径 PT=%]o]  
JM0)x}] +  
struts.velocity.contexts _Yv9u'q"  
      List of Velocity context names J<D =\  
      velocity的context列表 3@SfCG&|e  
yuWrU<Kw  
! >V 1zk  
struts.velocity.manager.classname NaIVKo  
      org.apache.struts2.views.velocity.VelocityManager implementation class }z6HxB]$  
      org.apache.struts2.views.velocity.VelocityManager接口名 +{&g|V  
L[efiiLh$  
struts.velocity.toolboxlocation 2*N# %ZUX  
      The location of the Velocity toolbox '=xl}v  
      velocity工具盒的位置 w1Kyd?~%]  
struts.xslt.nocache ~j_H2+!  
      Whether or not XSLT templates should not be cached dx#N)?  
      是否XSLT模版应该被缓存 $U1'n@/J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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