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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 StiWa<"c  
cNye@}$lu  
struts.action.extension vdot .  
      The URL extension to use to determine if the request is meant for a Struts action *n6L3"cO  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B#3Q4c$  
7"OJ,Mx%  
struts.configuration bL5u;iy)  
      The org.apache.struts2.config.Configuration implementation class *JZlG%z  
        org.apache.struts2.config.Configuration接口名 fm!\**Q1  
ZX'3qW^D  
struts.configuration.files E;An':j  
      A list of configuration files automatically loaded by Struts PZI6{KOis  
      struts自动加载的一个配置文件列表 m^w{:\p  
]<S{3F=  
struts.configuration.xml.reload AHHV\r  
      Whether to reload the XML configuration or not P(a}OlG  
      是否加载xml配置(true,false) *;U<b  
69`*u<{PC  
struts.continuations.package #aiI]'  
      The package containing actions that use Rife continuations | /n  
      含有actions的完整连续的package名称 %"WhD'*z}  
nYe:$t3F=  
struts.custom.i18n.resources ncTMcu  
      Location of additional localization properties files to load 1MmEP  
      加载附加的国际化属性文件(不包含.properties后缀) PKQ.gPu6*@  
Eu%E2A|`I  
struts.custom.properties ~YByyJG   
      Location of additional configuration properties files to load Ys|SacWC  
      加载附加的配置文件的位置 Ejnk\8:  
}Yc5U,A;  
) $0>L5d:  
struts.devMode HJP~ lg  
      Whether Struts is in development mode or not Ey=}bBx  
      是否为struts开发模式 "oyBF CW  
KP7 {  
struts.dispatcher.parametersWorkaround ?% A 2  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic iio-RT?!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .Lu3LVS  
}D.\2x(J  
struts.enable.DynamicMethodInvocation Kr;=4xg=  
      Allows one to disable dynamic method invocation from the URL +L@\/=;G  
        允许动态方法调用 z;ku*IV  
UtQCTNjC{  
struts.freemarker.manager.classname y,bD i9*|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {m@tt{%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >Bu9D  
Dwr 9}Z-]  
struts.i18n.encoding f1;@a>X  
      The encoding to use for localization messages pjs4FZ`Pd;  
      国际化信息内码 e8#83|h  
&]shBvzl^  
struts.i18n.reload /7fd"U$Lh  
      Whether the localization messages should automatically be reloaded M"bG(a(6:  
      是否国际化信息自动加载 Tku6X/LF  
E.+%b;Eqe  
struts.locale O .-n&U9  
      The default locale for the Struts application 1[$zdv{A  
      默认的国际化地区信息 </1]eDnU  
 ST0TWE'  
struts.mapper.class MvnQUZ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class - ZyY95E<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (|rf>=B+H  
>,h{`  
struts.multipart.maxSize }`%ks  
      The maximize size of a multipart request (file upload) d3S Me  
      multipart请求信息的最大尺寸(文件上传用) >tx[UF@P@  
~8"oH5  
struts.multipart.parser Yyr9Kj:  
      The org.apache.struts2.dispatcher.multipart. $mE3 FJP>  
      MultiPartRequest parser implementation for a multipart request (file upload) '$EyVu!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) E`<ou_0N@q  
R/*"N'nH-%  
#z<# oC5  
struts.multipart.saveDir ZS;V?]\(  
      The directory to use for storing uploaded files odC"#Rb  
      设置存储上传文件的目录夹 `wQs$!a  
9V[}#(f$  
struts.objectFactory )0ydSz`B  
      The com.opensymphony.xwork2.ObjectFactory implementation class N)AlQ'Lwx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1q3"qY H  
w6)Q5H53)  
struts.objectFactory.spring.autoWire -aS@y.z  
      Whether Spring should autoWire or not c5b }q@nH  
      是否自动绑定Spring _DT,iF*6  
B RskxyL&,  
struts.objectFactory.spring.useClassCache :z&kbG  
      Whether Spring should use its class cache or not ,(zV~-:9  
      是否spring应该使用自身的cache l U4 I*  
qNP)oU92  
struts.objectTypeDeterminer hf0(!C*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D GcpYA.7'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R@s7s%y=  
H.E=m0 np  
struts.serve.static.browserCache )h&@}#A09  
If static content served by the Struts filter should set browser caching header properties or not 4%w<Ekd  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =~Qg(=U0U  
Z`M pH  
struts.serve.static ( $2M"n  
      Whether the Struts filter should serve static content or not j/=Tj'S?D  
      是否struts过滤器应该提供静态内容 AWx@Z7\z"g  
KV|D]}  
struts.tag.altSyntax Skg/iH"(  
      Whether to use the alterative syntax for the tags or not v @0G^z|  
      是否可以用替代的语法替代tags T 4p}5ew'  
+y8Y@e}>  
struts.ui.templateDir 8IQ}%|lN  
      The directory containing UI templates 2EZ7Vdz2  
      UI templates的目录夹 Q\ 6-SAS  
ncOgSj7e  
struts.ui.theme QOYMT( j  
      The default UI template theme yq k8)\p  
      默认的UI template主题 T$%QK?B  
9?hZf$z  
struts.url.http.port y&5 O)  
      The HTTP port used by Struts URLs WPNw")t!  
      设置http端口 aK;OzB)  
k?&GL!?  
struts.url.https.port K-#d1+P+  
      The HTTPS port used by Struts URLs I[ \7Bf  
      设置https端口 E>tHKNyVTp  
ox&? `DO  
struts.url.includeParams 8P- ay<6  
      The default includeParams method to generate Struts URLs *->*p35  
      在url中产生 默认的includeParams Gt*K:KT=L  
gveJ1P  
abUO3 Y{  
struts.velocity.configfile d wG!]j>:_  
      The Velocity configuration file path 3lZl  
      velocity配置文件路径 [O&}Qk  
z{ V;bi;  
struts.velocity.contexts T5zS3O  
      List of Velocity context names =KOi#;1  
      velocity的context列表 UH%H9; ,$]  
-_5Dk'R#`  
Gkem_Z  
struts.velocity.manager.classname /tj]^QspS  
      org.apache.struts2.views.velocity.VelocityManager implementation class (:OMt2{r  
      org.apache.struts2.views.velocity.VelocityManager接口名 VED~v#.c  
s) U1U6O  
struts.velocity.toolboxlocation a'jUM+D;  
      The location of the Velocity toolbox 9M27;"gK  
      velocity工具盒的位置 1mJUl x  
struts.xslt.nocache ^`id/  
      Whether or not XSLT templates should not be cached "Ux(nt  
      是否XSLT模版应该被缓存 (i%bQZt^?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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