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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 iGXBqUQ:  
b @;.F!x  
struts.action.extension sn{AwF%  
      The URL extension to use to determine if the request is meant for a Struts action =22ALlxk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 o5aLU Wi-  
B8I4[@m>w\  
struts.configuration ;pRcVL_4  
      The org.apache.struts2.config.Configuration implementation class T{vR,  
        org.apache.struts2.config.Configuration接口名 iwY'4 Z e  
YW; Hk1  
struts.configuration.files y0ckm6^  
      A list of configuration files automatically loaded by Struts P|jF6?C  
      struts自动加载的一个配置文件列表 =GR 'V  
Dmdy=&G  
struts.configuration.xml.reload 8n?kZY$,  
      Whether to reload the XML configuration or not 9j|gdfb%ml  
      是否加载xml配置(true,false) %zo= K}u  
l+y-Fo@  
struts.continuations.package 34|a:5c  
      The package containing actions that use Rife continuations AN9[G  
      含有actions的完整连续的package名称 5c -N0@\  
(S^ck%]]a!  
struts.custom.i18n.resources EqM;LgE=  
      Location of additional localization properties files to load F:37MUQi  
      加载附加的国际化属性文件(不包含.properties后缀) 2)/NFZ  
bb=uF1  
struts.custom.properties F#+.>!  
      Location of additional configuration properties files to load Ey&aB YR  
      加载附加的配置文件的位置 HT`1E0G8)  
oYM,8 K  
>E"9*:.^a  
struts.devMode u2sR.%2U<  
      Whether Struts is in development mode or not rU#li0 >  
      是否为struts开发模式 mxqG-*ch-  
?n'O Fpd  
struts.dispatcher.parametersWorkaround %kU'hzLg  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q9}m!*8e  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eK`PxoTI-I  
,|To#umym>  
struts.enable.DynamicMethodInvocation . \5$MIF  
      Allows one to disable dynamic method invocation from the URL S-Ai3)t6  
        允许动态方法调用 I+,SZ]n  
$EBb"+Y'T  
struts.freemarker.manager.classname Jfg7\&|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class NO>k  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]7qiUdxt:  
fUcLfnr  
struts.i18n.encoding )fh0&Y; R  
      The encoding to use for localization messages et$uP  
      国际化信息内码 qSiWnN8D t  
H}b\`N[nr  
struts.i18n.reload -fIc4u[  
      Whether the localization messages should automatically be reloaded IjZ@U%g@;  
      是否国际化信息自动加载 !Ua&0s%  
0\a8}b||  
struts.locale [N|xzMe  
      The default locale for the Struts application {0's~U+@  
      默认的国际化地区信息 g*-2* \  
N\R=cwk  
struts.mapper.class Rrqg[F+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kR6A3?[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 F!8=FTb  
.2X2b<%)  
struts.multipart.maxSize vD=%`G[m  
      The maximize size of a multipart request (file upload) t=dO  
      multipart请求信息的最大尺寸(文件上传用) `mB.pz[  
4#Eul  
struts.multipart.parser Jyu`-=It  
      The org.apache.struts2.dispatcher.multipart. mtw9AoO  
      MultiPartRequest parser implementation for a multipart request (file upload) g"y?nF.&F  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) BXTN>d27  
+Z+ExS<#z  
Fh`-(,e?5  
struts.multipart.saveDir W(@>?$&  
      The directory to use for storing uploaded files k:P$LzIB  
      设置存储上传文件的目录夹 %2yAvGa1  
]*ov&{'  
struts.objectFactory elbG\qXBp  
      The com.opensymphony.xwork2.ObjectFactory implementation class d=e{]MG(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) c#\-%h  
a c6*v49  
struts.objectFactory.spring.autoWire ~Fx&)kegTo  
      Whether Spring should autoWire or not iVeQ]k(u  
      是否自动绑定Spring ="B n=>  
.5g}rxO8  
struts.objectFactory.spring.useClassCache 7c::Qf[|  
      Whether Spring should use its class cache or not QHQj/)J8  
      是否spring应该使用自身的cache %3,xaVN  
?~)Ak`=  
struts.objectTypeDeterminer 0>Fqx{!heq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Vj!WaN_  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0$2={s4ze  
K/Jk[29"\  
struts.serve.static.browserCache $Sb@zLi)  
If static content served by the Struts filter should set browser caching header properties or not ;c)! @GoA  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @+dHF0aXd  
oEAfowXSqk  
struts.serve.static ~V$ f #X  
      Whether the Struts filter should serve static content or not @"8~Y|L93  
      是否struts过滤器应该提供静态内容 8_iHVc;<  
t F/nah  
struts.tag.altSyntax .&(8(C  
      Whether to use the alterative syntax for the tags or not 4e/cqN 6  
      是否可以用替代的语法替代tags sV'v* 1|  
|#cAsf_{  
struts.ui.templateDir U_*3>Q  
      The directory containing UI templates yqBa_XPV8  
      UI templates的目录夹 l"L+e!B~  
KnFQ)sX^  
struts.ui.theme 73pC  
      The default UI template theme yfq>,  
      默认的UI template主题 yjeL9:jH[  
q u:To7  
struts.url.http.port %Qd3BZ  
      The HTTP port used by Struts URLs ZeTL$E[E}  
      设置http端口 FF@`+T  
(j=DD6fC  
struts.url.https.port hfh.eL  
      The HTTPS port used by Struts URLs x3;jWg~'  
      设置https端口 s7|3zqi  
R2Yl)2 D  
struts.url.includeParams ni0LQuBp  
      The default includeParams method to generate Struts URLs Y^5"qd|`  
      在url中产生 默认的includeParams J=P;W2L  
Z~R dFC  
@tQ2E}psP,  
struts.velocity.configfile e/P4mc)  
      The Velocity configuration file path CKN8z  
      velocity配置文件路径 2*YP"Ryh  
:}y| 4*z  
struts.velocity.contexts 9,KVBO  
      List of Velocity context names :f]!O@.~  
      velocity的context列表 7%YYr^d  
kc|>Q7~{  
QqjTLuN  
struts.velocity.manager.classname ?N2X)Y@yi  
      org.apache.struts2.views.velocity.VelocityManager implementation class @>CG3`?}  
      org.apache.struts2.views.velocity.VelocityManager接口名 R ^^ 1/%  
L"9 Gc  
struts.velocity.toolboxlocation h=Oh9zsz8  
      The location of the Velocity toolbox ,0.|P`|w  
      velocity工具盒的位置 (L:`o jiU  
struts.xslt.nocache ' XEK&Yi1  
      Whether or not XSLT templates should not be cached #!Ze\fOC  
      是否XSLT模版应该被缓存 taixBNv  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五