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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 j!lAxlOX  
jF38kj3O7  
struts.action.extension ]3O 4\o  
      The URL extension to use to determine if the request is meant for a Struts action ggm2%|?X  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yHWi [7$  
poXLy/K  
struts.configuration I!$jYY2  
      The org.apache.struts2.config.Configuration implementation class YH)Opk  
        org.apache.struts2.config.Configuration接口名 i\=z'  
G}!7tU  
struts.configuration.files lX98"}  
      A list of configuration files automatically loaded by Struts y:[BP4H?y  
      struts自动加载的一个配置文件列表 ^w:OS5%R  
<`R|a *  
struts.configuration.xml.reload F . K2  
      Whether to reload the XML configuration or not $nB-ADRu@  
      是否加载xml配置(true,false)  ?YqJ.F;  
4meidKw]  
struts.continuations.package Ni2]6U  
      The package containing actions that use Rife continuations {8^Gs^c c  
      含有actions的完整连续的package名称 _4P;+Y  
'oz hz2s  
struts.custom.i18n.resources rQ9*J   
      Location of additional localization properties files to load SU?wFCGT%  
      加载附加的国际化属性文件(不包含.properties后缀) p= !#],[  
r1i$D  
struts.custom.properties 79)A%@YHQQ  
      Location of additional configuration properties files to load Ya}T2VX  
      加载附加的配置文件的位置 z^4KU\/JK  
 f>.4-a?  
dCB&c ^  
struts.devMode r%0pQEl  
      Whether Struts is in development mode or not B|cA[  
      是否为struts开发模式 ?22d},.  
-#hK|1]  
struts.dispatcher.parametersWorkaround hP?7zz$*j  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }<vvxi  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B;VH`*+X  
p1+7 <Y:  
struts.enable.DynamicMethodInvocation r=h8oUNEJ*  
      Allows one to disable dynamic method invocation from the URL I0!j<G  
        允许动态方法调用 2 =>*O  
m7JPH7P@BM  
struts.freemarker.manager.classname cL#-*_(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Vl<`|C>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $4=Ne3 y  
VsEGX@;tO  
struts.i18n.encoding D/Rv&>Jh  
      The encoding to use for localization messages My. dD'C  
      国际化信息内码 z;J  
9hy'DcSy,  
struts.i18n.reload &`\ep9  
      Whether the localization messages should automatically be reloaded /mc*Hc 8R8  
      是否国际化信息自动加载 s}wO7Df=+  
,s0 9B  
struts.locale D}MoNE[r  
      The default locale for the Struts application 0{Bf9cH  
      默认的国际化地区信息 +kM\ D~D1  
kfXS_\@iW1  
struts.mapper.class d<#p %$A4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class GWgd8x*V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3)Zu[c[%'J  
r&SO:#rOSM  
struts.multipart.maxSize 4Q;<Q"  
      The maximize size of a multipart request (file upload) >5.zk1&H  
      multipart请求信息的最大尺寸(文件上传用) [<yz)<<  
V{0%xz #  
struts.multipart.parser mbyih+amCr  
      The org.apache.struts2.dispatcher.multipart. gwiR/(1  
      MultiPartRequest parser implementation for a multipart request (file upload) /l ^y}o %?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) YZ< NP  
.3@Ng  
-,^WaB7u\  
struts.multipart.saveDir 3w6&&R9  
      The directory to use for storing uploaded files VG)="g[%)  
      设置存储上传文件的目录夹 3T1P$E" m  
#&V5H{  
struts.objectFactory + 8f>^*:u  
      The com.opensymphony.xwork2.ObjectFactory implementation class @V$I?iXV  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4:U0f;Fs  
^!}F%  
struts.objectFactory.spring.autoWire \-OC|\{32  
      Whether Spring should autoWire or not E5gl^Q?Z  
      是否自动绑定Spring @^!\d#/M  
'irGvex  
struts.objectFactory.spring.useClassCache Q2"WV  
      Whether Spring should use its class cache or not 333u]  
      是否spring应该使用自身的cache r1G8]agO  
^wJEfac  
struts.objectTypeDeterminer xl8#=qmCD  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class i=L8=8B`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Hd 0Xx}3&  
RL*]g*  
struts.serve.static.browserCache P>wZ~Hjk  
If static content served by the Struts filter should set browser caching header properties or not ]RD5Ex!K?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 C2G  |?=  
)~}PgbZ^  
struts.serve.static %K zbO0  
      Whether the Struts filter should serve static content or not bnr|Y!T}Bi  
      是否struts过滤器应该提供静态内容 u s`}  
BI.V0@qZ  
struts.tag.altSyntax '#H")i  
      Whether to use the alterative syntax for the tags or not  hgO?+x  
      是否可以用替代的语法替代tags _CE9B e\  
R hio7C  
struts.ui.templateDir %ek"!A  
      The directory containing UI templates wAh#   
      UI templates的目录夹 #ZWl=z5aBi  
OQFi.  8  
struts.ui.theme U5<@<j(@  
      The default UI template theme J`<f  
      默认的UI template主题 &@6 GI<  
-:S IS`0s  
struts.url.http.port jDTUXwx7V  
      The HTTP port used by Struts URLs JZ=5Bpw  
      设置http端口 "w&/m}E,[  
M&yqfb[  
struts.url.https.port jNc<~{/  
      The HTTPS port used by Struts URLs aZKXD! 4  
      设置https端口 5UO k)rOf  
)gXTRkmw  
struts.url.includeParams ET-Vm >]  
      The default includeParams method to generate Struts URLs [Oy >R  
      在url中产生 默认的includeParams fsvYU0L  
KlU qoJ;"  
RmOyGSO  
struts.velocity.configfile ?"j@;/=  
      The Velocity configuration file path V]c5 Z$Bd  
      velocity配置文件路径 VAKy^nR5j  
?N>pZR  
struts.velocity.contexts V@Wcb$mgk  
      List of Velocity context names \hbiU ]  
      velocity的context列表 @~o`#$*|  
K@r*;T  
f&yQhe6q  
struts.velocity.manager.classname yd>}wHt  
      org.apache.struts2.views.velocity.VelocityManager implementation class /s[DI;M$o  
      org.apache.struts2.views.velocity.VelocityManager接口名 QlD6i-a  
 I=[cZ;t  
struts.velocity.toolboxlocation /6U 4S>'(  
      The location of the Velocity toolbox Jqru AW<  
      velocity工具盒的位置 p4wr`" Zz  
struts.xslt.nocache ;&,.TC?l  
      Whether or not XSLT templates should not be cached %-j&e44  
      是否XSLT模版应该被缓存 (F8AL6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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