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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 0(i`~g5  
r p @=  
struts.action.extension 92SB'T>  
      The URL extension to use to determine if the request is meant for a Struts action iEU(1?m2-  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %kcg#p+tE  
AoR`/tr,  
struts.configuration <!+o8z]  
      The org.apache.struts2.config.Configuration implementation class VtKN{sSnu  
        org.apache.struts2.config.Configuration接口名 O Z#?  
VKs\b-1  
struts.configuration.files %]R#}amW  
      A list of configuration files automatically loaded by Struts VLO>{"{'  
      struts自动加载的一个配置文件列表 lp9<j1Wl  
'sA&Pm  
struts.configuration.xml.reload r[,KE.^6~#  
      Whether to reload the XML configuration or not kl={L{r  
      是否加载xml配置(true,false) =.o-R=:d  
h)<R#xw  
struts.continuations.package E$1^}RGT)  
      The package containing actions that use Rife continuations .Gv~e!a8  
      含有actions的完整连续的package名称 b9Y pUm7#  
r zvX~B6  
struts.custom.i18n.resources ko:I.6-K  
      Location of additional localization properties files to load 2tbqmWw/s  
      加载附加的国际化属性文件(不包含.properties后缀) ?UxY4m%R;  
1]<!Xuk^f  
struts.custom.properties gON6jnDO  
      Location of additional configuration properties files to load ;+jp,( 7  
      加载附加的配置文件的位置 4ku/3/ 6  
x'KsQlI/  
[_0g^(`  
struts.devMode XMdc n,  
      Whether Struts is in development mode or not a2 SQ:d  
      是否为struts开发模式 |HA7 C  
{L=[1  
struts.dispatcher.parametersWorkaround |HEw~x<=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7^iAc6QSy3  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Lg?'1dg  
LBE".+  
struts.enable.DynamicMethodInvocation <2 Q@^  
      Allows one to disable dynamic method invocation from the URL <oO,CXF  
        允许动态方法调用 toWmm(7v  
O<3,n;56Z  
struts.freemarker.manager.classname s/^k;qw  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class y(dS1.5F  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Wk|z\OR(  
|W <:rT  
struts.i18n.encoding l#"alU!<^  
      The encoding to use for localization messages gctaarB&  
      国际化信息内码 hG@ys5  
f+920/>!Z  
struts.i18n.reload `#f=&S?k  
      Whether the localization messages should automatically be reloaded Z C93C7lJ  
      是否国际化信息自动加载 2{CSH_"Z7  
9yh@_~rZ  
struts.locale OGFKc#  
      The default locale for the Struts application {X$Mwqhpp;  
      默认的国际化地区信息 [*G2wP[$  
X W)A~wPBs  
struts.mapper.class gp HwiFc  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class TJpv"V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 bw\=F_>L  
~Z2eQx jtM  
struts.multipart.maxSize HWhKX:`l  
      The maximize size of a multipart request (file upload) _);Kb/  
      multipart请求信息的最大尺寸(文件上传用) 0I((UA/7Zs  
fYy.>m+P1  
struts.multipart.parser 0f^.zt{T  
      The org.apache.struts2.dispatcher.multipart. @>5<m'}2  
      MultiPartRequest parser implementation for a multipart request (file upload) ku?_/-ko]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) A232"p_  
G 7]wg>*  
}NCvaO  
struts.multipart.saveDir c0&'rxi( B  
      The directory to use for storing uploaded files l*Ei7 |Z  
      设置存储上传文件的目录夹 }qhK.e  
P@YL.'KU)  
struts.objectFactory qD*\}b]9I  
      The com.opensymphony.xwork2.ObjectFactory implementation class Q ~JKKq  
      com.opensymphony.xwork2.ObjectFactory接口(spring) "PaGDhS  
]Rh( =bg  
struts.objectFactory.spring.autoWire t3$gwO$  
      Whether Spring should autoWire or not T''+zk  
      是否自动绑定Spring Uob|Q=MQ  
i@5%d!J  
struts.objectFactory.spring.useClassCache k_<{j0z.  
      Whether Spring should use its class cache or not lmKq xs4  
      是否spring应该使用自身的cache U!:!]DX(  
"GI&S%F  
struts.objectTypeDeterminer rs Uw(K^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;&6PL]/d  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Treh{s  
I<./(X[H:#  
struts.serve.static.browserCache 7&V^BW  
If static content served by the Struts filter should set browser caching header properties or not 6bKO;^0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 n/oipiYx  
qMES<UL>  
struts.serve.static xg,]M/J  
      Whether the Struts filter should serve static content or not MW$H/:3  
      是否struts过滤器应该提供静态内容 &17,]#3  
ynZ[c8.  
struts.tag.altSyntax 5A$az03y$\  
      Whether to use the alterative syntax for the tags or not ?w37vsN  
      是否可以用替代的语法替代tags 2~WFLD  
CKt|c!3 7  
struts.ui.templateDir *C@[5#CA2z  
      The directory containing UI templates ? ZHE8  
      UI templates的目录夹 e=o{Zo?H=  
 zc/%1  
struts.ui.theme o1X/<.0+  
      The default UI template theme _Sgk^i3v  
      默认的UI template主题 ?ey&Un"  
nj^q@h  
struts.url.http.port BQ9`DYIb  
      The HTTP port used by Struts URLs m>+,^`0  
      设置http端口 HS6Imi  
J'ZFIT_>  
struts.url.https.port YNC0Z'c9  
      The HTTPS port used by Struts URLs KtU GI.X  
      设置https端口 frmqBCVJ:  
vbA7I<;  
struts.url.includeParams u@bOEcxK  
      The default includeParams method to generate Struts URLs foz5D9sQ  
      在url中产生 默认的includeParams Krr?`n  
n `m_S  
d@6:|auO  
struts.velocity.configfile 5G'&9{oB  
      The Velocity configuration file path c[h'`KXJf-  
      velocity配置文件路径 }^pQbFku  
o7Cnyy#:  
struts.velocity.contexts yxCM l.  
      List of Velocity context names k?["F%)I  
      velocity的context列表 ^\ vfos  
O,=Q1*c,&  
c3zT(FgO>N  
struts.velocity.manager.classname h nsa)@  
      org.apache.struts2.views.velocity.VelocityManager implementation class Fp5NRM*-!  
      org.apache.struts2.views.velocity.VelocityManager接口名 rKzv8d  
S< EB&P  
struts.velocity.toolboxlocation E+m]aYu"  
      The location of the Velocity toolbox u+z .J4w  
      velocity工具盒的位置 KkdG.c'  
struts.xslt.nocache xH"W}-#[  
      Whether or not XSLT templates should not be cached iM?I /\  
      是否XSLT模版应该被缓存 A]Q1&qM%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八