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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6_9:Eb=^v!  
gc,J2B]61  
struts.action.extension y,y/PyN)  
      The URL extension to use to determine if the request is meant for a Struts action 5Aa31"43n  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `uNvFlP  
'.%iPMM  
struts.configuration W>q*.9}Y"  
      The org.apache.struts2.config.Configuration implementation class ~ F?G5cN5  
        org.apache.struts2.config.Configuration接口名 t-eKruj+  
_#J_$CE#  
struts.configuration.files cYq']$]  
      A list of configuration files automatically loaded by Struts vR%j#v|s  
      struts自动加载的一个配置文件列表 ]5o0  
_A;vSp.`  
struts.configuration.xml.reload 8u:v:>D.'  
      Whether to reload the XML configuration or not as\<nPT{Fj  
      是否加载xml配置(true,false) ^(dGO)/  
r&%gjqt  
struts.continuations.package @O}IrC!bf  
      The package containing actions that use Rife continuations $tDCS  
      含有actions的完整连续的package名称 koncWyW  
v2M"b?Q  
struts.custom.i18n.resources =2.tu*!C  
      Location of additional localization properties files to load zJnL<Q  
      加载附加的国际化属性文件(不包含.properties后缀) )d770Xg+  
^Txu ~r0@  
struts.custom.properties xUiWiOihr6  
      Location of additional configuration properties files to load t-*VsPy  
      加载附加的配置文件的位置 "4Lg8qm  
JAGi""3HG  
1AV1d%F  
struts.devMode g{g`YvLu^  
      Whether Struts is in development mode or not gZ`32fB%  
      是否为struts开发模式 RsqRR`|X?  
!q~X*ZKse  
struts.dispatcher.parametersWorkaround 7gVh!rm  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic J^+_8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #;\L,a|>*  
p|&ZJ@3  
struts.enable.DynamicMethodInvocation vHs>ba$"  
      Allows one to disable dynamic method invocation from the URL 0%;N9\  
        允许动态方法调用 iX8h2l  
a' IX yj  
struts.freemarker.manager.classname 71k!k&Im  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )CC?vV  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5`4}A%@&  
!p]T6_t]Q  
struts.i18n.encoding %|:;Ti  
      The encoding to use for localization messages ;=5@h!@R  
      国际化信息内码 Qa,NGP.  
Mv/IMO0rR  
struts.i18n.reload 1KeJd&e  
      Whether the localization messages should automatically be reloaded e={k.y }x}  
      是否国际化信息自动加载 w8AJ#9W  
wb(*7 &eP:  
struts.locale nuf@}W>y  
      The default locale for the Struts application Q  `e~MD  
      默认的国际化地区信息 >:w?qEaE  
jgk{'_ j  
struts.mapper.class `FZ(#GDF  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K)<Wm,tON  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 b\SXZN)Be  
dIoF~8V  
struts.multipart.maxSize l?3vNa FeR  
      The maximize size of a multipart request (file upload) /M0l p   
      multipart请求信息的最大尺寸(文件上传用) 3[MdUj1y[  
@Ufa -h5"(  
struts.multipart.parser  =3h+=l[  
      The org.apache.struts2.dispatcher.multipart. !7A"vTs  
      MultiPartRequest parser implementation for a multipart request (file upload) :.C+?$iuX  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,|e}Y [  
??%)|nj.  
U>/<6 Wd  
struts.multipart.saveDir IY];Ss&i  
      The directory to use for storing uploaded files bin6i2b  
      设置存储上传文件的目录夹 ]*bAF^8i  
GwgFi@itN  
struts.objectFactory k-{yu8*';  
      The com.opensymphony.xwork2.ObjectFactory implementation class 2-B6IPeI  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9uA, +  
Y*5Z)h 1  
struts.objectFactory.spring.autoWire 8!Wfd)4=,F  
      Whether Spring should autoWire or not =jJ H^Y2  
      是否自动绑定Spring >}-~rZ  
`)rg|~#k  
struts.objectFactory.spring.useClassCache L_tjcfVo  
      Whether Spring should use its class cache or not ?wGiog<Q{  
      是否spring应该使用自身的cache "sFW~Y  
]XmQ]Yit  
struts.objectTypeDeterminer zt7_r`#z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^ H'hD  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 XxmJP5  
"nVK< Vd  
struts.serve.static.browserCache \9046An  
If static content served by the Struts filter should set browser caching header properties or not }BA9Ka#%  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]b}B~jD  
CkRyzF  
struts.serve.static [?;`x&y~y  
      Whether the Struts filter should serve static content or not TcR=GR*cJ  
      是否struts过滤器应该提供静态内容 X7e>Z)l  
qIB>6bv#x  
struts.tag.altSyntax x$~3$E  
      Whether to use the alterative syntax for the tags or not U'rr?,RML  
      是否可以用替代的语法替代tags A|2 <A !  
Q}WL/X5  
struts.ui.templateDir V]r hr  
      The directory containing UI templates r %+Bc Y  
      UI templates的目录夹 uQ{=o]sy  
0('OyH)  
struts.ui.theme aL88E  
      The default UI template theme \s,Iz[0Vfz  
      默认的UI template主题 7@FDBjq  
3}08RU7[!  
struts.url.http.port )\8URc|J  
      The HTTP port used by Struts URLs cN62M=**  
      设置http端口 ^gd<lo g  
Po1hq2-U8  
struts.url.https.port wHA/b.jH  
      The HTTPS port used by Struts URLs <#zwKTmK1  
      设置https端口 XFtOmY  
OWqrD@  
struts.url.includeParams -UJ?L  
      The default includeParams method to generate Struts URLs 3voW  
      在url中产生 默认的includeParams q5%2WM]6  
Q6u{@$(/N  
Cy`26[E$S  
struts.velocity.configfile F|,6N/;!W  
      The Velocity configuration file path v}Z9+ yRC2  
      velocity配置文件路径 [w,(EE   
+yGY 785b  
struts.velocity.contexts p=2zS.  
      List of Velocity context names =D{B}=D\IM  
      velocity的context列表 }I\-HP8!gv  
:=y0'f V(@  
Dzo{PstM%  
struts.velocity.manager.classname e"*BHvy F  
      org.apache.struts2.views.velocity.VelocityManager implementation class yDzdE;  
      org.apache.struts2.views.velocity.VelocityManager接口名 hXNH"0VCV  
vuXS/ d  
struts.velocity.toolboxlocation HF]EU!OT  
      The location of the Velocity toolbox p7s@%scp  
      velocity工具盒的位置 tzPC/?  
struts.xslt.nocache )Ea8{m!   
      Whether or not XSLT templates should not be cached Hc M~  
      是否XSLT模版应该被缓存 J6DnPaw-G  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八