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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;9' ] na  
~U5Tn3'~  
struts.action.extension &ju.5v|  
      The URL extension to use to determine if the request is meant for a Struts action dnkHx  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Vz evOS  
3rX 40>Cs8  
struts.configuration dF*M"|[  
      The org.apache.struts2.config.Configuration implementation class S" (Nf+ux  
        org.apache.struts2.config.Configuration接口名 v7,-Q*  
p5l|qs  
struts.configuration.files j{6O:d6([$  
      A list of configuration files automatically loaded by Struts gZ8JfA_\R(  
      struts自动加载的一个配置文件列表 ~RV"_8`V9  
&a)d,4e<M  
struts.configuration.xml.reload +'_ peT.8  
      Whether to reload the XML configuration or not ,\N4tG1\  
      是否加载xml配置(true,false) MHJRBn{}  
FsS.9 `B  
struts.continuations.package U65oh8x  
      The package containing actions that use Rife continuations )nrYxxN  
      含有actions的完整连续的package名称 )>@%;\qV  
OxUc,%e9P  
struts.custom.i18n.resources 35L\  
      Location of additional localization properties files to load 7MsJ*E n  
      加载附加的国际化属性文件(不包含.properties后缀) LIT`~D  
NDJP`FI  
struts.custom.properties >ByqM{?  
      Location of additional configuration properties files to load aLlHR_  
      加载附加的配置文件的位置 RDEK=^J  
c )=a;_h  
u#NX`_  
struts.devMode 4j(`koX_  
      Whether Struts is in development mode or not \i\>$'f*z  
      是否为struts开发模式 p3e=~{v*  
IkO [R1K  
struts.dispatcher.parametersWorkaround <k {_YRB  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic HVK0NI  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  btBu[;  
t%Bh'HkG  
struts.enable.DynamicMethodInvocation $-]I?cWlQ  
      Allows one to disable dynamic method invocation from the URL 00@F?|-j  
        允许动态方法调用 =sF4H_B  
r_kaS als  
struts.freemarker.manager.classname z m]R76  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {a15s6'd  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 g |H  
$k`j";8uR  
struts.i18n.encoding 5 ed|]LP  
      The encoding to use for localization messages Uyxn+j 5  
      国际化信息内码 ZrB(!L~7  
-)xl?IB%  
struts.i18n.reload (p] S  
      Whether the localization messages should automatically be reloaded rV} 5&N*c  
      是否国际化信息自动加载 2*a9mi  
3*\hGt,ZP  
struts.locale 8dC RSU  
      The default locale for the Struts application NE4]i  
      默认的国际化地区信息 #^(Yw|/K  
`I(ap{  
struts.mapper.class |;&I$'i  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class | GN/{KH]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 'p@m`)Z  
)0g!lCfb  
struts.multipart.maxSize q$"?P  
      The maximize size of a multipart request (file upload) .`(YCn?\  
      multipart请求信息的最大尺寸(文件上传用) .1z=VLKF'  
hBV m; `  
struts.multipart.parser pl$wy}W-  
      The org.apache.struts2.dispatcher.multipart. $wDSED -  
      MultiPartRequest parser implementation for a multipart request (file upload) ?bg /%o  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) zKp R:F  
&eqqgLz  
*9aI\#}  
struts.multipart.saveDir <$d2m6J  
      The directory to use for storing uploaded files vP=H 2P  
      设置存储上传文件的目录夹 2p4iir  
-*O L+  
struts.objectFactory <PM.4B@  
      The com.opensymphony.xwork2.ObjectFactory implementation class z, FPhbFn  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1/&^~'  
~z")';I|  
struts.objectFactory.spring.autoWire 3Tp8t6*nL  
      Whether Spring should autoWire or not <N>7.G  
      是否自动绑定Spring @!}/$[hu1  
A.h0H]*Ma  
struts.objectFactory.spring.useClassCache DLD9  
      Whether Spring should use its class cache or not {Ppb ;  
      是否spring应该使用自身的cache 7U^{xDg.b  
@Ae&1O;Zh  
struts.objectTypeDeterminer oOaLD{g>  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^bfU>02Q6p  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 53d`+an2  
Cl3L)  
struts.serve.static.browserCache Br.UN~q  
If static content served by the Struts filter should set browser caching header properties or not MZxU)QW1  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  wG6Oz2(  
pred{HEye  
struts.serve.static h:sf?X[  
      Whether the Struts filter should serve static content or not ,H8M.hbsQ  
      是否struts过滤器应该提供静态内容 b80&${v  
/I{K_G@  
struts.tag.altSyntax s,AJR [  
      Whether to use the alterative syntax for the tags or not 2.]d~\  
      是否可以用替代的语法替代tags Dy 8H(_  
LC$M_Cpw  
struts.ui.templateDir hpYv*WH:  
      The directory containing UI templates m)?0;9bt  
      UI templates的目录夹 g3^:)$m  
.mcohfR  
struts.ui.theme S%B56|'  
      The default UI template theme C'{B  
      默认的UI template主题 -$Kc"rX  
g9NE>n(3  
struts.url.http.port qk>SM| {  
      The HTTP port used by Struts URLs yeBfzKI{b  
      设置http端口 XsDZ<j%x89  
Ts3!mjn  
struts.url.https.port "5'eiYm s  
      The HTTPS port used by Struts URLs %d40us8E  
      设置https端口 ^f-)gZ&  
vK+!m~kDu  
struts.url.includeParams DY{v@ <3  
      The default includeParams method to generate Struts URLs G)c+GoK  
      在url中产生 默认的includeParams <a&xhG}  
aQf2}kD  
 R0F [  
struts.velocity.configfile .726^2sx  
      The Velocity configuration file path y?A*$6  
      velocity配置文件路径 Y6.Bi  
;b. m X  
struts.velocity.contexts )?$@cvf  
      List of Velocity context names AK%&Kq&PaY  
      velocity的context列表 Sa0IRC<LV  
TTbJ9O<43  
s&Al4>}.f  
struts.velocity.manager.classname XD|Xd|/ {  
      org.apache.struts2.views.velocity.VelocityManager implementation class {'B(S/Z 7  
      org.apache.struts2.views.velocity.VelocityManager接口名 qh&q <M  
Gpcordt/  
struts.velocity.toolboxlocation PR x-0S  
      The location of the Velocity toolbox &; p}HL,  
      velocity工具盒的位置 #W l^!)#j?  
struts.xslt.nocache %_CL/H   
      Whether or not XSLT templates should not be cached .Cs'@[Ciy  
      是否XSLT模版应该被缓存 -o~n 06p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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