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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 M7BpOmK'  
u(zgKoF9A  
struts.action.extension <0';2yP"  
      The URL extension to use to determine if the request is meant for a Struts action nf pO  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,!> ~izB  
4Uny.C]  
struts.configuration Yo%U{/e  
      The org.apache.struts2.config.Configuration implementation class t'K+)OK  
        org.apache.struts2.config.Configuration接口名 th{J;a  
U)dcemQY  
struts.configuration.files Lv+{@)  
      A list of configuration files automatically loaded by Struts ,Ee5}#dI  
      struts自动加载的一个配置文件列表 DT-.Gdb8  
V_3oAu54s{  
struts.configuration.xml.reload 1XiA  
      Whether to reload the XML configuration or not Hec8pL  
      是否加载xml配置(true,false) WSpF/Wwc  
-UEi  
struts.continuations.package _sy{rnaqvb  
      The package containing actions that use Rife continuations 4`?PtRX  
      含有actions的完整连续的package名称 5=;cN9M@  
|ts0j/A]Pi  
struts.custom.i18n.resources ]{=y8]7  
      Location of additional localization properties files to load -gGw_w?)(  
      加载附加的国际化属性文件(不包含.properties后缀) M2%@bETJ  
jNxTy UU  
struts.custom.properties =*fq5v  
      Location of additional configuration properties files to load #GGa,@O  
      加载附加的配置文件的位置 xn, u$@F  
<?A4/18K  
7fq Q  
struts.devMode <^nS%hXEr  
      Whether Struts is in development mode or not Q7y' 0s  
      是否为struts开发模式 '$,yV f  
NioqJG?p  
struts.dispatcher.parametersWorkaround h`U-{VIrqi  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7bYwh8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R\cx-h*  
R.i ]6H!  
struts.enable.DynamicMethodInvocation w*{{bISw|  
      Allows one to disable dynamic method invocation from the URL W$]qo|2P  
        允许动态方法调用 Qw_uwQZ)  
>!5RY8+  
struts.freemarker.manager.classname pYcs4f!?p  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class C6c*y\O\7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Zf>:h   
r!b>!  
struts.i18n.encoding "PMJh3q  
      The encoding to use for localization messages /- Gq`9Z  
      国际化信息内码 ]$#bNt/p  
,~7~ S"  
struts.i18n.reload M*k,M=sX  
      Whether the localization messages should automatically be reloaded VMABj\yG  
      是否国际化信息自动加载 Uic  
#i~P])%gNP  
struts.locale HB#!Dv&'  
      The default locale for the Struts application _'!qOt7D  
      默认的国际化地区信息 .+(ED  
h,y_ ^cf  
struts.mapper.class OM.-apzC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b B#QIXY/L  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 G#Bm">+  
:Y Ls]JI<  
struts.multipart.maxSize }alq~jY  
      The maximize size of a multipart request (file upload) N?c~AEk9U  
      multipart请求信息的最大尺寸(文件上传用) <f (z\pi1  
2aTq?ZR|8A  
struts.multipart.parser n^1BtP0!  
      The org.apache.struts2.dispatcher.multipart. q-CgX wU  
      MultiPartRequest parser implementation for a multipart request (file upload) }\m.~$|[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T0A=vh;S  
CH `Kpt  
PkFG0  
struts.multipart.saveDir H3!9H  
      The directory to use for storing uploaded files <:AA R2=  
      设置存储上传文件的目录夹 w nBvJb]4l  
#[i3cn  
struts.objectFactory h>>~Bi  
      The com.opensymphony.xwork2.ObjectFactory implementation class -5v{p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @u$NB3  
4,@jSr|I3i  
struts.objectFactory.spring.autoWire pj7a l;  
      Whether Spring should autoWire or not +PBl3  
      是否自动绑定Spring K:e[#b8 :R  
S*n5d>;  
struts.objectFactory.spring.useClassCache s Y4w dG  
      Whether Spring should use its class cache or not p%iZ6H>G  
      是否spring应该使用自身的cache tVf):}<h  
x _kT Wq  
struts.objectTypeDeterminer Z;NaIJiL-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7*K2zu3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,2U  
W)Mz1v #s  
struts.serve.static.browserCache .Erv\lv*  
If static content served by the Struts filter should set browser caching header properties or not EPwU{*F  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 VI|2vV6?  
)Ko~6.:5H  
struts.serve.static z(,j)".  
      Whether the Struts filter should serve static content or not +P+h$gQ  
      是否struts过滤器应该提供静态内容 Lo}T%0"G  
rR ^o  
struts.tag.altSyntax "*HEXru#B  
      Whether to use the alterative syntax for the tags or not ^:$ShbX"P  
      是否可以用替代的语法替代tags cxQ %tL+S&  
IRR b^Q6  
struts.ui.templateDir @-0mE_$[  
      The directory containing UI templates OI0@lSAo<  
      UI templates的目录夹 'I}wN5`  
H`k YDp  
struts.ui.theme 14l6|a  
      The default UI template theme #lik: ?  
      默认的UI template主题 :RDk{^b)  
5w~ 0Q  
struts.url.http.port 1fV)tvU$  
      The HTTP port used by Struts URLs N,8.W"fV  
      设置http端口 Zcw <USF8  
fHwS12SB  
struts.url.https.port OK-*TPrc  
      The HTTPS port used by Struts URLs T+gH38!e  
      设置https端口 XxeP;}  
jq#`cay!  
struts.url.includeParams DGTE#?'(  
      The default includeParams method to generate Struts URLs 7'8G,|&:*  
      在url中产生 默认的includeParams 74NL)|M  
./zzuKO8XK  
L)<~0GcP  
struts.velocity.configfile M%$ITE  
      The Velocity configuration file path h'GOO(  
      velocity配置文件路径 uwi.Sg11  
4Q1R:Ra  
struts.velocity.contexts , ExY.'%1  
      List of Velocity context names 0,&] 2YJ  
      velocity的context列表 rmC7!^/  
I\-M`^@  
O`!XW8  
struts.velocity.manager.classname ml)\RL  
      org.apache.struts2.views.velocity.VelocityManager implementation class M @G\b^"  
      org.apache.struts2.views.velocity.VelocityManager接口名 7/KK}\NE  
f`rI]v|@  
struts.velocity.toolboxlocation cM,g, E}  
      The location of the Velocity toolbox  `2\:b^h  
      velocity工具盒的位置 4M0p:Ey '  
struts.xslt.nocache RkTYvAk|kY  
      Whether or not XSLT templates should not be cached '"c`[L7Wn  
      是否XSLT模版应该被缓存 x <aR|r  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八