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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 W7e4pR?w  
O k(47nC  
struts.action.extension c>MY$-PD  
      The URL extension to use to determine if the request is meant for a Struts action |^5/(16  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 az(5o  
t[O+B 6  
struts.configuration edN8-P(  
      The org.apache.struts2.config.Configuration implementation class E`E'<"{Yd  
        org.apache.struts2.config.Configuration接口名 : ^(nj7D  
*FPg#a+  
struts.configuration.files I)[B9rbe  
      A list of configuration files automatically loaded by Struts "Pdvmur  
      struts自动加载的一个配置文件列表 }MZan" cfo  
uB+9dQ  
struts.configuration.xml.reload QT}iaeC1i  
      Whether to reload the XML configuration or not &-F"+v,+  
      是否加载xml配置(true,false) *,jqE9:O  
5Bj77?Z  
struts.continuations.package MSB%{7'o  
      The package containing actions that use Rife continuations x-~-nn\O  
      含有actions的完整连续的package名称 m!!;/e?yx  
ZQLB`n @  
struts.custom.i18n.resources /#\?1)jCK  
      Location of additional localization properties files to load yV_ L/,6}D  
      加载附加的国际化属性文件(不包含.properties后缀) `1,eX)S  
b+$o4 l/x  
struts.custom.properties  Ec.)!Hu  
      Location of additional configuration properties files to load (4ZLpsbJ  
      加载附加的配置文件的位置 aJQXJ,>Lv  
= o+7xom  
@^HwrwRA  
struts.devMode }:^XX0:FK  
      Whether Struts is in development mode or not KZ\dB;W< |  
      是否为struts开发模式 sA2o2~AmM  
r%[1$mTOR  
struts.dispatcher.parametersWorkaround 7-g^2sa'(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7,su f }=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Su4h'&xx  
R#fy60  
struts.enable.DynamicMethodInvocation ;y>'yq}  
      Allows one to disable dynamic method invocation from the URL t'Htx1#Zc[  
        允许动态方法调用 cUM_ncYOP  
T g\hx>  
struts.freemarker.manager.classname @ V5S4E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [Y oa"K  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ltg-w\?]  
+9~ZA3DiP  
struts.i18n.encoding |0DP} `~  
      The encoding to use for localization messages % &+|==-  
      国际化信息内码 qa;EI ;8  
Sgx+V"bkT  
struts.i18n.reload VVN # $  
      Whether the localization messages should automatically be reloaded }!knU3J  
      是否国际化信息自动加载 aKOf;^@  
5F03y`@ u  
struts.locale `E%(pjG  
      The default locale for the Struts application |w,^"j2R  
      默认的国际化地区信息 +DxifXtB  
*vXDuhQ  
struts.mapper.class 1l~.R#WG&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class PIpWa$b  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 nO:HB.&@  
CH#kvR2  
struts.multipart.maxSize W9+h0A-  
      The maximize size of a multipart request (file upload) y8D 8Y8B  
      multipart请求信息的最大尺寸(文件上传用) * T\>  
$uTlbAuv  
struts.multipart.parser X%35XC.n  
      The org.apache.struts2.dispatcher.multipart. & ]%\.m  
      MultiPartRequest parser implementation for a multipart request (file upload) c}8 -/P=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _we3jzMW  
B*BHF95!  
K.r!?cfv  
struts.multipart.saveDir X`tOO  
      The directory to use for storing uploaded files sFD!7 ;  
      设置存储上传文件的目录夹 s|KfC>#  
IwnYJp:9v  
struts.objectFactory Ta,u-!/ I  
      The com.opensymphony.xwork2.ObjectFactory implementation class B ;;cbY  
      com.opensymphony.xwork2.ObjectFactory接口(spring) P$ F#,Cn  
MsSoX9A{D  
struts.objectFactory.spring.autoWire +:b(%|  
      Whether Spring should autoWire or not myffYK,  
      是否自动绑定Spring T+3k$G[e/  
{MA@ A5  
struts.objectFactory.spring.useClassCache =cknE=  
      Whether Spring should use its class cache or not  ,&4zKm  
      是否spring应该使用自身的cache !__D}k,  
e$x4Ux7*"  
struts.objectTypeDeterminer 0yKwH\S  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fg< ( bXC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 '%3u%;"  
?F!W#   
struts.serve.static.browserCache /S/tE  
If static content served by the Struts filter should set browser caching header properties or not !+%Az*ik  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +i2YX7Of  
4h(jw   
struts.serve.static r$Yh)rpt:  
      Whether the Struts filter should serve static content or not NH<Y1t  
      是否struts过滤器应该提供静态内容 ~}Kp  
0LZ=`tI  
struts.tag.altSyntax [Aa[&RX+9  
      Whether to use the alterative syntax for the tags or not +q$xw}+PK  
      是否可以用替代的语法替代tags hw7~i  
Cd$dn HVh  
struts.ui.templateDir P~n8EO1r  
      The directory containing UI templates *c!;^Qyp&  
      UI templates的目录夹 aGdpec v  
KC#kss  
struts.ui.theme J,.j_ii`!  
      The default UI template theme |qQ{8T%)  
      默认的UI template主题 ;,()wH  
xNocGtS  
struts.url.http.port c&0;wgieg  
      The HTTP port used by Struts URLs t*5z1T?  
      设置http端口 @G7w(>_T3  
qZ `nZi  
struts.url.https.port YLD-SS[/>  
      The HTTPS port used by Struts URLs Sa( yjF1  
      设置https端口 Ks9FnDm8  
#_JA5W+E  
struts.url.includeParams 1y_fQ+\2A  
      The default includeParams method to generate Struts URLs +"TI_tK, S  
      在url中产生 默认的includeParams dx k;@Tz  
" &_$V@S  
t$ACQ*O  
struts.velocity.configfile aslU`#"  
      The Velocity configuration file path 5@GD} oAn6  
      velocity配置文件路径 3w[<cq.!  
b EoB;]  
struts.velocity.contexts />2A<{6\=P  
      List of Velocity context names ~W]#9&yQ  
      velocity的context列表 \9[NH/.Z{  
A73V6"  
GMVC&^  
struts.velocity.manager.classname p} t{8j >  
      org.apache.struts2.views.velocity.VelocityManager implementation class u^j8 XOT  
      org.apache.struts2.views.velocity.VelocityManager接口名 V:nMo2'hb  
*#ob5TBq[  
struts.velocity.toolboxlocation 9;>@"e21R  
      The location of the Velocity toolbox #rSasucr  
      velocity工具盒的位置 3ybK6!g`[  
struts.xslt.nocache @&!=m]D*  
      Whether or not XSLT templates should not be cached ~.\73_M=A  
      是否XSLT模版应该被缓存 <XkkYI(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五