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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 0 60<wjX6  
kbJ/7  
struts.action.extension mq`N&ABO!K  
      The URL extension to use to determine if the request is meant for a Struts action \j !JRD+j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 %Rj:r!XB:  
[wG?&l$.KB  
struts.configuration /Mb?dVwA  
      The org.apache.struts2.config.Configuration implementation class }`&#{>]2  
        org.apache.struts2.config.Configuration接口名 \~UyfVPRT  
mVfg+d(  
struts.configuration.files 1dh_"/  
      A list of configuration files automatically loaded by Struts eUPG){"  
      struts自动加载的一个配置文件列表 V|zzj[c  
$'btfo4H  
struts.configuration.xml.reload G,9osTt/  
      Whether to reload the XML configuration or not `Jhu&MWg  
      是否加载xml配置(true,false) ~z#Faed=a  
A ^ $9[_  
struts.continuations.package $j0] +vT  
      The package containing actions that use Rife continuations QFU;\H/  
      含有actions的完整连续的package名称 m:5*:Ii.  
I1^0RB{~  
struts.custom.i18n.resources S1(. AI~  
      Location of additional localization properties files to load ]b4*`}\  
      加载附加的国际化属性文件(不包含.properties后缀) ftq&<8  
9-[g/qrF  
struts.custom.properties nF0$  
      Location of additional configuration properties files to load 8~AO~  
      加载附加的配置文件的位置 zD}dvI}  
"P\k_-a'  
Y,I0o{,g  
struts.devMode  Q<B=m6~  
      Whether Struts is in development mode or not P$S>=*`n U  
      是否为struts开发模式 6f,#O8]#5  
u:& gp  
struts.dispatcher.parametersWorkaround Yf&x]<rkCp  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,+<NP}Yg#G  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pm$,B7Q`oO  
KGd L1~  
struts.enable.DynamicMethodInvocation @;2,TY>Di  
      Allows one to disable dynamic method invocation from the URL 8`XpcK-0  
        允许动态方法调用 zRN_` U  
LL|$M;S  
struts.freemarker.manager.classname mG@xehH  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class W=41jw  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \_}Y4  
4]0|fi3}>  
struts.i18n.encoding c7X5sMM,  
      The encoding to use for localization messages -twV?~f  
      国际化信息内码 wG6>.`:  
-8;U1^#  
struts.i18n.reload "f/lm 2<  
      Whether the localization messages should automatically be reloaded /{ Lo0  
      是否国际化信息自动加载 uoR_/vol8  
?.~E:8  
struts.locale }md[hiJ  
      The default locale for the Struts application U">w3o|  
      默认的国际化地区信息 CM?dB$AwX  
J[2c[|[-  
struts.mapper.class 6,*hzyy}Qu  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E7@0,9A U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fBBNP)  
If>k~aL7I  
struts.multipart.maxSize ,0O9!^  
      The maximize size of a multipart request (file upload) 'AU(WHf  
      multipart请求信息的最大尺寸(文件上传用) e2CjZ"C  
:td6Mywl  
struts.multipart.parser %Ez=  
      The org.apache.struts2.dispatcher.multipart. Q$Qs$  
      MultiPartRequest parser implementation for a multipart request (file upload) VCfa<hn  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U|VF zpJ  
rdZk2\<  
)!J0e-T-8O  
struts.multipart.saveDir T#%r\f,l0  
      The directory to use for storing uploaded files Y ]&D;w  
      设置存储上传文件的目录夹 swV/M i>  
{^zieP!  
struts.objectFactory Y5 e6|b|  
      The com.opensymphony.xwork2.ObjectFactory implementation class p'z fo!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0)n#$d>  
Tl"GOpH\]  
struts.objectFactory.spring.autoWire m[7@l  
      Whether Spring should autoWire or not }@%A@A{R  
      是否自动绑定Spring ,paD/  
L]I ;{Y  
struts.objectFactory.spring.useClassCache r(-`b8ZE  
      Whether Spring should use its class cache or not 0m k-o  
      是否spring应该使用自身的cache %K[_;8  
I:M]#aFD  
struts.objectTypeDeterminer 6qg_&woJ3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0.C[/u[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dnt: U!TW@  
hAq7v']m  
struts.serve.static.browserCache A+v6N>}*  
If static content served by the Struts filter should set browser caching header properties or not w6 0I;.hy  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `Mx&,;x  
7(c7-  
struts.serve.static <nDuN*|  
      Whether the Struts filter should serve static content or not ^-Ob($(\  
      是否struts过滤器应该提供静态内容 |35"V3bs  
OXc!^2 ^  
struts.tag.altSyntax w/+e  
      Whether to use the alterative syntax for the tags or not 1}nrVn[B9  
      是否可以用替代的语法替代tags ~k>H4hV3  
? IgM=@  
struts.ui.templateDir %GS^=Qr  
      The directory containing UI templates vt)u`/u  
      UI templates的目录夹 <^>O<P:v  
_Bh-*e2k  
struts.ui.theme  Za,rht  
      The default UI template theme +Y;/10p  
      默认的UI template主题 a{*r^m'N  
Dn/{  s$\  
struts.url.http.port :uwB)G  
      The HTTP port used by Struts URLs sk* AlSlM  
      设置http端口 j6x1JM  
n<RvL^T=  
struts.url.https.port m/}(dT;  
      The HTTPS port used by Struts URLs  g=W1y  
      设置https端口 K[} 5bjh>  
k~ Z9og  
struts.url.includeParams -pEt=  
      The default includeParams method to generate Struts URLs qQ\&]  
      在url中产生 默认的includeParams W  &wqN  
^APPWQUl  
\$;Q3t3  
struts.velocity.configfile @hC,J  
      The Velocity configuration file path NQb!?w  
      velocity配置文件路径 ^f][;>c  
fsd,q?{a:  
struts.velocity.contexts J3/2>N]/}  
      List of Velocity context names !F ]7q]g  
      velocity的context列表 `-Yo$b;:  
z*,P^K 0T  
rBNl%+ sB  
struts.velocity.manager.classname  ?X{ul  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2e~ud9,  
      org.apache.struts2.views.velocity.VelocityManager接口名 { |dU|h  
-jN:~.  
struts.velocity.toolboxlocation G.Z4h/1<  
      The location of the Velocity toolbox Z*r;"WHB  
      velocity工具盒的位置 bEx8dc`Q  
struts.xslt.nocache NlLgXn!  
      Whether or not XSLT templates should not be cached & !0[T   
      是否XSLT模版应该被缓存 .FV wZ:d  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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