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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #Q3PzDfj  
%?f:"  
struts.action.extension $a^isd4  
      The URL extension to use to determine if the request is meant for a Struts action qd+[ShrhqZ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }IN_5o((  
{TncqA  
struts.configuration c,q"}nE8w  
      The org.apache.struts2.config.Configuration implementation class HJ qQlEq  
        org.apache.struts2.config.Configuration接口名 F4rKFMr  
sdf%  
struts.configuration.files p%"yBpSK  
      A list of configuration files automatically loaded by Struts ^v!im\ r  
      struts自动加载的一个配置文件列表 DvX3/z#T  
ay(!H~q_U  
struts.configuration.xml.reload *e<Eu>fW#&  
      Whether to reload the XML configuration or not +oy&OKCa  
      是否加载xml配置(true,false) |WAD $3  
C6d]tLE  
struts.continuations.package ]&:b<]K3  
      The package containing actions that use Rife continuations u5Ny=Xm  
      含有actions的完整连续的package名称 5w3ZUmjO  
^$IZLM?E~  
struts.custom.i18n.resources v (ka,Dk3  
      Location of additional localization properties files to load 3%R{"Q"  
      加载附加的国际化属性文件(不包含.properties后缀) y|.fR>5  
rAx"~l.=  
struts.custom.properties  Wu!t C  
      Location of additional configuration properties files to load ( f,J_  
      加载附加的配置文件的位置 MdH97L)L.0  
23-t$y]  
h/Hl?O8[  
struts.devMode u<]mv  
      Whether Struts is in development mode or not XocsSs  
      是否为struts开发模式 f>r3$WKj  
^IGyuj0]jG  
struts.dispatcher.parametersWorkaround %X9b=%'+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NQC3!=pQ}Y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) j`R<90~/  
C.>  
struts.enable.DynamicMethodInvocation 6z3T?`}Y  
      Allows one to disable dynamic method invocation from the URL Ka]@[R6e  
        允许动态方法调用 Taf n:Nw}  
xP/OsaxN  
struts.freemarker.manager.classname sz/*w7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @8nLQh^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 qWO]s=V!  
HK0::6n{  
struts.i18n.encoding 's[BK/  
      The encoding to use for localization messages W7L+8LU;  
      国际化信息内码 4TUtY:  
@H\pipT_b  
struts.i18n.reload H#L#2M%  
      Whether the localization messages should automatically be reloaded ~XUOWY75  
      是否国际化信息自动加载 uxO J3  
BR36}iS;V  
struts.locale )C {h1 `  
      The default locale for the Struts application *KK[(o}^J-  
      默认的国际化地区信息 / Mo d=/e  
5Lsm_"0  
struts.mapper.class Dz`k[mI  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q_T] 9d  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 94|yvh.B  
PK6*}y  
struts.multipart.maxSize ZBX  
      The maximize size of a multipart request (file upload) '@TI48 J+  
      multipart请求信息的最大尺寸(文件上传用) 9?;@*x  
Y{Da+  
struts.multipart.parser e&QS#k  
      The org.apache.struts2.dispatcher.multipart. z2w;oM$g  
      MultiPartRequest parser implementation for a multipart request (file upload) 'y9*uT~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J/'M N  
wE$s'e  
U:]MgZWn  
struts.multipart.saveDir F7{R~mS;  
      The directory to use for storing uploaded files c>ad0xce6  
      设置存储上传文件的目录夹 |2)Sd[ q  
dEASvD'  
struts.objectFactory lC#RNjDp/~  
      The com.opensymphony.xwork2.ObjectFactory implementation class TDlZ!$g(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) e?V,fzg  
q2e]3{l3  
struts.objectFactory.spring.autoWire bj@xqAGl  
      Whether Spring should autoWire or not 6&89~W{  
      是否自动绑定Spring yl-fbYH  
iJdP>x  
struts.objectFactory.spring.useClassCache H9RGU~q4s[  
      Whether Spring should use its class cache or not jfUJ37zNZr  
      是否spring应该使用自身的cache 5W+{U8\  
+UxI{,L  
struts.objectTypeDeterminer z%V*K  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class DVI7]+=nV  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }[ ].\G\G  
!?nu?  
struts.serve.static.browserCache EeCFII  
If static content served by the Struts filter should set browser caching header properties or not v&fGCD\R  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 pOm@b `S%  
W h| L  
struts.serve.static 7*i }km  
      Whether the Struts filter should serve static content or not !@u&{"{`  
      是否struts过滤器应该提供静态内容 Sx8l<X  
(ZV;$N-t  
struts.tag.altSyntax HZ }6Q  
      Whether to use the alterative syntax for the tags or not %>Bko,ET  
      是否可以用替代的语法替代tags q] ^,vei  
pOMgEEhfS  
struts.ui.templateDir flG=9~qcGQ  
      The directory containing UI templates t5paY w-b  
      UI templates的目录夹 R"*R99  
0q{[\51*  
struts.ui.theme K;x~&G0=  
      The default UI template theme u_.HPA  
      默认的UI template主题 EX:{EmaT  
gN?0m4[$i  
struts.url.http.port lEHwZ<je  
      The HTTP port used by Struts URLs /xySwSmh3  
      设置http端口 3 >|uF  
3jF|Ic  
struts.url.https.port -#aZF2z   
      The HTTPS port used by Struts URLs &]< 3 ~6n  
      设置https端口 O)uOUB  
EJLQ&oH[  
struts.url.includeParams vU!8`x)  
      The default includeParams method to generate Struts URLs Z:@6Lv?CN  
      在url中产生 默认的includeParams xuU x4,Z  
S[mM4et|  
T~X41d\  
struts.velocity.configfile q#N R32byF  
      The Velocity configuration file path aG! *WHt  
      velocity配置文件路径 mc ZGg;3  
,=|4:F9  
struts.velocity.contexts BwxnDeG)  
      List of Velocity context names _A 2Lv]vfV  
      velocity的context列表 V^n0GJNo  
JrDHRIkgm  
QU/fT_ORw  
struts.velocity.manager.classname Uk,g> LG  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~*}$>@f{[X  
      org.apache.struts2.views.velocity.VelocityManager接口名 WPo:^BD   
\iru7'S  
struts.velocity.toolboxlocation /^:2<y8Ha  
      The location of the Velocity toolbox Q[PK`*2)  
      velocity工具盒的位置 \dcdw* v@  
struts.xslt.nocache kUa)smh  
      Whether or not XSLT templates should not be cached 7Fz xe$A  
      是否XSLT模版应该被缓存 ES}. xZ#~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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