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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 olK*uD'`  
(N5"'`NZA  
struts.action.extension e1hf{:&/G@  
      The URL extension to use to determine if the request is meant for a Struts action y(=0  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  &%T*sR  
juxAyds  
struts.configuration qos/pm$&i  
      The org.apache.struts2.config.Configuration implementation class ~w(A3I.  
        org.apache.struts2.config.Configuration接口名 W >|'4y)  
^MVOaV65  
struts.configuration.files o5G]|JM_  
      A list of configuration files automatically loaded by Struts ^}lL@Bd|  
      struts自动加载的一个配置文件列表 OXZx!h  
ScRK1  
struts.configuration.xml.reload OK2\2&G  
      Whether to reload the XML configuration or not hPUZ{#;n  
      是否加载xml配置(true,false) 1[\I9dv2  
61*b|.sl'#  
struts.continuations.package P@Vs\wAT  
      The package containing actions that use Rife continuations C#RueDa.  
      含有actions的完整连续的package名称 Pd~z%VoO  
U\>k>|Jr{  
struts.custom.i18n.resources ".?y!VY  
      Location of additional localization properties files to load \U'*B}Sz  
      加载附加的国际化属性文件(不包含.properties后缀) #r]GnC,  
C}\kp0mz  
struts.custom.properties .:tR*Kst`7  
      Location of additional configuration properties files to load "WH &BhQYD  
      加载附加的配置文件的位置 ]NKz5[9D  
EW/NH&{  
S e(apQH  
struts.devMode &+GbklUB~  
      Whether Struts is in development mode or not !ED,'d%J  
      是否为struts开发模式 ;XXEvRk  
Uh^j;s\y  
struts.dispatcher.parametersWorkaround =q[ynZ8O\w  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1"T&B0G3l  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) E cd~H+  
rK4 pYo  
struts.enable.DynamicMethodInvocation ;`Z>^.CB  
      Allows one to disable dynamic method invocation from the URL B9'2$s+Z;  
        允许动态方法调用 NU[Wj uLG  
>uE<-klv  
struts.freemarker.manager.classname eYPIZ{S7h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Gz7,g Y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $BOpjDV8  
{<i(aq?  
struts.i18n.encoding x(rl|o  
      The encoding to use for localization messages GD!!xt  
      国际化信息内码 !X=93%  
|xpOU*k  
struts.i18n.reload " pL5j  
      Whether the localization messages should automatically be reloaded uC2 5pH"  
      是否国际化信息自动加载 +\J+?jOC4S  
.C1g Dry]  
struts.locale pWKI^S  
      The default locale for the Struts application AS lmW@/9v  
      默认的国际化地区信息 ~)5k%?.  
q2M%AvR  
struts.mapper.class N]G`]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class OO;I^`Yn  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |2I p*  
4hUUQ;xj  
struts.multipart.maxSize }mS+%w"j  
      The maximize size of a multipart request (file upload) (R!.=95@  
      multipart请求信息的最大尺寸(文件上传用) )7WLbj!M  
cN)noGkp  
struts.multipart.parser H+Q_%%[N  
      The org.apache.struts2.dispatcher.multipart. $-gRD|oY  
      MultiPartRequest parser implementation for a multipart request (file upload) VC^QCuSq  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) RMAbu*D0  
)(yKm/5 0  
]Y f8  
struts.multipart.saveDir mQ\oR|  
      The directory to use for storing uploaded files TaZlfe5z  
      设置存储上传文件的目录夹 ^{-Z3Yxd  
ShOB"J-  
struts.objectFactory ^!SwY_>  
      The com.opensymphony.xwork2.ObjectFactory implementation class !1P<A1K  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~P9^4  
yI's=Iu`  
struts.objectFactory.spring.autoWire 1["IT.,f.  
      Whether Spring should autoWire or not 83Fmu/(  
      是否自动绑定Spring Q>\9/DjUp  
ak(P<OC-  
struts.objectFactory.spring.useClassCache --TY[b  
      Whether Spring should use its class cache or not >  !WFY  
      是否spring应该使用自身的cache #F+b^WTR  
7] 17?s]t,  
struts.objectTypeDeterminer -J++b2R\%  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xGX U7w:X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 lI+KT_|L  
cA`X(Am6]g  
struts.serve.static.browserCache _u;34H&/  
If static content served by the Struts filter should set browser caching header properties or not !r+SE  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }do=lm?/  
o [nr)  
struts.serve.static qox@_  
      Whether the Struts filter should serve static content or not |exjrsmM*  
      是否struts过滤器应该提供静态内容 Yk5Cyq  
" R-Pe\W  
struts.tag.altSyntax =z2g}X  
      Whether to use the alterative syntax for the tags or not ]ov"&,J  
      是否可以用替代的语法替代tags QkY;O<Y_  
BEii:05  
struts.ui.templateDir  !:|D[1m  
      The directory containing UI templates PJ'@!jx  
      UI templates的目录夹 0,m@BsK  
PL7_j  
struts.ui.theme Yn-;+ 4 K  
      The default UI template theme |A:+[35  
      默认的UI template主题 fMZc_dsW9  
g=kuM  
struts.url.http.port }_cX" s  
      The HTTP port used by Struts URLs .T7S1C $HP  
      设置http端口 C?PgC~y)  
+p &$`(  
struts.url.https.port $-_@MT~  
      The HTTPS port used by Struts URLs Ga $EM  
      设置https端口 @ {8x L  
*iujJ i  
struts.url.includeParams ]q@W(\I  
      The default includeParams method to generate Struts URLs MJ`BlE,Fmb  
      在url中产生 默认的includeParams UC?i>HsJrX  
(k>I!Z/&2  
YnX6U 1/^  
struts.velocity.configfile I#](mRJ6  
      The Velocity configuration file path O%busM$P)/  
      velocity配置文件路径 'U4@Sax,  
F0+@FS0   
struts.velocity.contexts bOdyrynh  
      List of Velocity context names ,F0bkNBG  
      velocity的context列表 /PtmJ2 [  
<,(Ww   
7f q\ H{  
struts.velocity.manager.classname M1=y-3dW3  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z~ {[YsG  
      org.apache.struts2.views.velocity.VelocityManager接口名 qvN 5[rb  
F$H^W@<w  
struts.velocity.toolboxlocation j*@EJ"Gm>  
      The location of the Velocity toolbox /Wm3qlv  
      velocity工具盒的位置 -'::$ {  
struts.xslt.nocache )Xd2qbi  
      Whether or not XSLT templates should not be cached e{`DvfY21  
      是否XSLT模版应该被缓存 v/}h y$7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八