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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 qKXn=J/0tA  
v4Gkf  
struts.action.extension ([A;~ p;n  
      The URL extension to use to determine if the request is meant for a Struts action _ 9dV 3I  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 p-_j0zv  
TY}?>t+  
struts.configuration hCrgN?M z  
      The org.apache.struts2.config.Configuration implementation class *G38N]|u6  
        org.apache.struts2.config.Configuration接口名 rL/+`H  
9:WKG'E8a  
struts.configuration.files Ig2VJs;  
      A list of configuration files automatically loaded by Struts [;bLlS,  
      struts自动加载的一个配置文件列表 |ipppE=  
_4w%U[GT,  
struts.configuration.xml.reload 'tj4;+xf^  
      Whether to reload the XML configuration or not }I0^nv1  
      是否加载xml配置(true,false) 6W o7q\"  
ubw ]}sfM#  
struts.continuations.package &-9D.'WzP  
      The package containing actions that use Rife continuations >Ww F0W9?  
      含有actions的完整连续的package名称 muLTYgaM  
el<nY"c  
struts.custom.i18n.resources rkrt.B  
      Location of additional localization properties files to load *9PQJeyR  
      加载附加的国际化属性文件(不包含.properties后缀) 6 s/O\A  
nK[$ID  
struts.custom.properties -=Hr|AhE  
      Location of additional configuration properties files to load +( d2hSIF  
      加载附加的配置文件的位置 rv[\2@}  
wKN9HT  
1*"Uc!7.%  
struts.devMode {_JLmyaerZ  
      Whether Struts is in development mode or not &+sN= J.x  
      是否为struts开发模式 =G`m7!Q)  
_nt%&f  
struts.dispatcher.parametersWorkaround !E8JpE|z#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $}829<gh7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :d;5Q\C`  
2t'&7>Ys{  
struts.enable.DynamicMethodInvocation :>;#/<3{  
      Allows one to disable dynamic method invocation from the URL @QEV l  
        允许动态方法调用 , /pE*Yk  
Ptg73Gm&R  
struts.freemarker.manager.classname mTt 9 o9E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class b({2|R  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 BdTj0{S1u  
j8b:+io  
struts.i18n.encoding XpGom;z^c  
      The encoding to use for localization messages [O3R(`<e5  
      国际化信息内码 F^ f]*MhT"  
z)0Fk  
struts.i18n.reload LImD]e`  
      Whether the localization messages should automatically be reloaded sdY6_HtE  
      是否国际化信息自动加载 ;Mc}If*  
P%.5xYn  
struts.locale Kr<O7t0X  
      The default locale for the Struts application 0t~--/lA  
      默认的国际化地区信息 x8H)m+AW  
qy !G&  
struts.mapper.class l/]P6 @N  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _VJb i,V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -%A6eRShk  
&&JMw6 &[`  
struts.multipart.maxSize F-nt7l  
      The maximize size of a multipart request (file upload) {"<Q?yA2y  
      multipart请求信息的最大尺寸(文件上传用) CNwhH)*  
4-\a]"c  
struts.multipart.parser SOm~];[  
      The org.apache.struts2.dispatcher.multipart. ` :2C9,Xu  
      MultiPartRequest parser implementation for a multipart request (file upload) Vo\d&}Q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Gp14;  
}K/[3X=B  
-vMP{,  
struts.multipart.saveDir 4DNZ y2`  
      The directory to use for storing uploaded files I|.B-$gH  
      设置存储上传文件的目录夹 ,W#y7 t  
/xmd]XM=_  
struts.objectFactory %l,Xt"nS#  
      The com.opensymphony.xwork2.ObjectFactory implementation class !#r]f9QP  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  i J\#su  
{Hb _o)S  
struts.objectFactory.spring.autoWire &I70veNY  
      Whether Spring should autoWire or not 3K'3Xp@A  
      是否自动绑定Spring q/[)mr|~  
@cx!m   
struts.objectFactory.spring.useClassCache 6x{B  
      Whether Spring should use its class cache or not aRV<y8{9  
      是否spring应该使用自身的cache S SzOz-&GA  
6 @d( <Z  
struts.objectTypeDeterminer h1BdASn_  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class H=dj\Br`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Z d%*,\`S  
NzEuiI}  
struts.serve.static.browserCache UkdQ#b1  
If static content served by the Struts filter should set browser caching header properties or not [~J4:yDd=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N9i>81tY  
:( `Q4D~l  
struts.serve.static .{Xi&[jw  
      Whether the Struts filter should serve static content or not x&;SLEM   
      是否struts过滤器应该提供静态内容 Awj`6GeJ  
f_ ::?  
struts.tag.altSyntax N>/U%01a  
      Whether to use the alterative syntax for the tags or not wC[J=:]tA5  
      是否可以用替代的语法替代tags !:>y.^O  
6 2LZ}yn_"  
struts.ui.templateDir Jlzhn#5c-  
      The directory containing UI templates }/=VnCfU  
      UI templates的目录夹 l-mUc1.S  
q3;HfZ  
struts.ui.theme h7*m+/O  
      The default UI template theme ,0~'#x>  
      默认的UI template主题 |OC6yN *P)  
3 -5^$-7_  
struts.url.http.port 67#;.}4a  
      The HTTP port used by Struts URLs R4o_zwWgPw  
      设置http端口 / og'W j  
Fv3fad@x  
struts.url.https.port #R)$nv:h?^  
      The HTTPS port used by Struts URLs !6kLg1  
      设置https端口 8\[6z0+;  
Q=+KnE=h  
struts.url.includeParams <@?bYp  
      The default includeParams method to generate Struts URLs Uzc`,iV$  
      在url中产生 默认的includeParams rod{77  
8U-}%D<a  
-O ej6sILO  
struts.velocity.configfile ?&Lb6(}e  
      The Velocity configuration file path ;}r#08I  
      velocity配置文件路径 )37|rB E  
<AB]FBo(  
struts.velocity.contexts k: c)|2  
      List of Velocity context names GI/g@RV  
      velocity的context列表 d9E:LZy  
YS;Q l\4   
nY6^DE2f  
struts.velocity.manager.classname gHTo|2 Q{  
      org.apache.struts2.views.velocity.VelocityManager implementation class 1(m8 9C[  
      org.apache.struts2.views.velocity.VelocityManager接口名 <%|2yPb]  
%=GnGgu  
struts.velocity.toolboxlocation \s,ZE6dQ  
      The location of the Velocity toolbox #/YKA{  
      velocity工具盒的位置 E$RH+):|  
struts.xslt.nocache xY@V.  
      Whether or not XSLT templates should not be cached r;9F@/  
      是否XSLT模版应该被缓存 h'wI/Z_'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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