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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 'g7eN@Wh.z  
3HI- G.]hC  
struts.action.extension 4<{]_S6"0y  
      The URL extension to use to determine if the request is meant for a Struts action S B# Y^!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 DpZO$5.Ec+  
fu]mxGPc  
struts.configuration F:B 8J4/  
      The org.apache.struts2.config.Configuration implementation class m_pqU(sP  
        org.apache.struts2.config.Configuration接口名 EBl?oN7E  
[;n/|/m,  
struts.configuration.files gvLzE&V}  
      A list of configuration files automatically loaded by Struts . vJlTg  
      struts自动加载的一个配置文件列表 !CO1I-yL  
b!J%s   
struts.configuration.xml.reload Sl7x>=  
      Whether to reload the XML configuration or not ZgD%*bH*B  
      是否加载xml配置(true,false) swGp{wJ  
q*E<~!jL  
struts.continuations.package xq<3*Bcw  
      The package containing actions that use Rife continuations d$}z,~sN  
      含有actions的完整连续的package名称 ~  WO  
8nSEAr~  
struts.custom.i18n.resources Jv+N/+M47  
      Location of additional localization properties files to load yy*8Aw}  
      加载附加的国际化属性文件(不包含.properties后缀) CfMCc:8mL  
rQ*Fc~^L  
struts.custom.properties 2/ES.>K!.  
      Location of additional configuration properties files to load  <RaM@E  
      加载附加的配置文件的位置 ZJ Ke}F`l  
N ">4I)  
eGF+@)K1"  
struts.devMode >&g^ `  
      Whether Struts is in development mode or not 0!fT:Ra  
      是否为struts开发模式 1;8%\r[|5^  
2b i:Q9  
struts.dispatcher.parametersWorkaround l}jC$B`5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic yJRqX]MLA  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6#SUfK;  
E@(nKe&6T_  
struts.enable.DynamicMethodInvocation Jdc{H/10  
      Allows one to disable dynamic method invocation from the URL gFQ\zOlY8a  
        允许动态方法调用 f}%paE"  
-\dcs?  
struts.freemarker.manager.classname NQpC]#n  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class G9 g -EP\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A$=h'!$  
3)6&)7`*  
struts.i18n.encoding G3wkqd  
      The encoding to use for localization messages "!F%X%/  
      国际化信息内码 818,E  
9z9\pXFQ  
struts.i18n.reload &Fg|52  
      Whether the localization messages should automatically be reloaded bMp[:dw`y  
      是否国际化信息自动加载 i] I{7k  
P1u(0t  
struts.locale : FN-.1C  
      The default locale for the Struts application ;.'\8!j  
      默认的国际化地区信息 `:>N.9'o  
yRyUOTK  
struts.mapper.class ]I<w;.z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u"s@eN  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 92 oUQ EK  
mNk@WY_F  
struts.multipart.maxSize # X`t~Y'  
      The maximize size of a multipart request (file upload) $3'xb/3|  
      multipart请求信息的最大尺寸(文件上传用) W_bp~Wu  
uG){0%nX  
struts.multipart.parser qOs'Ljx6l  
      The org.apache.struts2.dispatcher.multipart. ~cL)0/j}  
      MultiPartRequest parser implementation for a multipart request (file upload) 49iqrP'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) E3"j7y[S  
][TA7pDPV  
+ \jn$>E  
struts.multipart.saveDir vXLGdv::  
      The directory to use for storing uploaded files Mc@_[q!xY?  
      设置存储上传文件的目录夹 6F8TiR&  
JUpb*B_z  
struts.objectFactory pt_]&3\e  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3o^~6A  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~LF1$Cai  
rf=oH }  
struts.objectFactory.spring.autoWire %F2T`?t:  
      Whether Spring should autoWire or not 57jDsQAj  
      是否自动绑定Spring Bag_0.H&m  
O/b1^ Y   
struts.objectFactory.spring.useClassCache ?[#4WH-G  
      Whether Spring should use its class cache or not m>{I>:sq  
      是否spring应该使用自身的cache 1/tyne=m  
'(fzznRH  
struts.objectTypeDeterminer "%rzL.</  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class m 88(f2Ch  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pJo#7rxd6  
[O@U@bD9  
struts.serve.static.browserCache me YSW  
If static content served by the Struts filter should set browser caching header properties or not U_C[9Z'P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 O[j$n  
H.]p\ UY9  
struts.serve.static 044Q>Qz,  
      Whether the Struts filter should serve static content or not :2*0Jh3_  
      是否struts过滤器应该提供静态内容 @>q4hYF  
-_^#7]  
struts.tag.altSyntax Y;1s=B9  
      Whether to use the alterative syntax for the tags or not u-u:7VtH0=  
      是否可以用替代的语法替代tags U7xKu75G1  
|<2<`3  
struts.ui.templateDir J;S Z"I'  
      The directory containing UI templates t3<HE_B|  
      UI templates的目录夹 kk$D:UQX  
)u=46EU_  
struts.ui.theme U&o ~U] rm  
      The default UI template theme hH]oJ}H \  
      默认的UI template主题 t;b1<TLn0  
5;CqGzgoP  
struts.url.http.port >>T,M@s-:  
      The HTTP port used by Struts URLs #Fckev4  
      设置http端口 B,4 3b O  
,E &W{b  
struts.url.https.port PnJA'@x  
      The HTTPS port used by Struts URLs !N74y%=M  
      设置https端口 #SR )tU  
l<UA0*t  
struts.url.includeParams 4bq+(CI6  
      The default includeParams method to generate Struts URLs \F9HsR6  
      在url中产生 默认的includeParams 6 g)X&pZ  
j)mi~i*U  
?8ady% .ls  
struts.velocity.configfile rI'kZ0&  
      The Velocity configuration file path ,veo/k<"r8  
      velocity配置文件路径 1[]V @P^  
]T>|Y0|  
struts.velocity.contexts c|F26$rv  
      List of Velocity context names F#Bi*YY  
      velocity的context列表 +a|u,'u  
asL!@YE  
>a)6GZ@  
struts.velocity.manager.classname F>U*Wy  
      org.apache.struts2.views.velocity.VelocityManager implementation class *fp4u_:`  
      org.apache.struts2.views.velocity.VelocityManager接口名 tN_~zP  
"u3 N9  
struts.velocity.toolboxlocation M5`wfF,j  
      The location of the Velocity toolbox iUk#0 I  
      velocity工具盒的位置 "Xj>dB1~  
struts.xslt.nocache = /kT|  
      Whether or not XSLT templates should not be cached \]qwD m/  
      是否XSLT模版应该被缓存 qz }PTx  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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