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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 S 6,.FYH  
M& CqSd  
struts.action.extension ItTz.sQ  
      The URL extension to use to determine if the request is meant for a Struts action 76` .Y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1@=po)Hnp  
gltBC${7wZ  
struts.configuration da~],MN  
      The org.apache.struts2.config.Configuration implementation class Pr,q*_Yy  
        org.apache.struts2.config.Configuration接口名 W+1^4::+  
R_xRp&5  
struts.configuration.files >i-"<&#jG  
      A list of configuration files automatically loaded by Struts kz7(Z'pw  
      struts自动加载的一个配置文件列表 '$QB$2~V  
r/*D:x|yN  
struts.configuration.xml.reload ?b5 ^  
      Whether to reload the XML configuration or not PE5G  
      是否加载xml配置(true,false) RY*U"G0#w  
$xdy&  
struts.continuations.package VgS_s k  
      The package containing actions that use Rife continuations ?@ $r  
      含有actions的完整连续的package名称 jm r"D>  
;P&OX5~V  
struts.custom.i18n.resources w.-!UD9/.x  
      Location of additional localization properties files to load J!7MZL b  
      加载附加的国际化属性文件(不包含.properties后缀) $]2vvr  
mU9kVx1+  
struts.custom.properties ?#Q #u|~  
      Location of additional configuration properties files to load 63x?MY6  
      加载附加的配置文件的位置 <yg F(  
`n?DU;,  
QnX(V[  
struts.devMode &UlWCOo8  
      Whether Struts is in development mode or not TrR8?-  
      是否为struts开发模式 n>U5R_T  
{+Cy U!O  
struts.dispatcher.parametersWorkaround H~z`]5CN  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !m?-!:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r0 uwPf  
DrK{}uM  
struts.enable.DynamicMethodInvocation R0  
      Allows one to disable dynamic method invocation from the URL LvYB7<zk>  
        允许动态方法调用 ~2khgZ  
gt w Q-  
struts.freemarker.manager.classname F`]2O:[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xW Q`tWA:J  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /fV;^=:8c  
=kG@a(-  
struts.i18n.encoding i,9)\1R  
      The encoding to use for localization messages [0D .K}7|  
      国际化信息内码 2WYPO"q  
~z;FP$U  
struts.i18n.reload C'}KTXiRW  
      Whether the localization messages should automatically be reloaded %sQ^.` 2  
      是否国际化信息自动加载 "kgdbAZ  
3I-MdApT  
struts.locale ZbAcO/  
      The default locale for the Struts application -_eLf#3  
      默认的国际化地区信息 e'b(gD}  
~zNAbaC+>t  
struts.mapper.class /J6rv((  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class K:30_l<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 mvT(.R ..s  
"C0Q(dr/n  
struts.multipart.maxSize x{/g(r={}  
      The maximize size of a multipart request (file upload) (+y  
      multipart请求信息的最大尺寸(文件上传用) Dy8r 9  
*N'p~LJ  
struts.multipart.parser L AAHEv  
      The org.apache.struts2.dispatcher.multipart. +@iA;2&  
      MultiPartRequest parser implementation for a multipart request (file upload) Qhcu>r a  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )+t0:GwP`:  
=xx]@  
a]tVd#  
struts.multipart.saveDir 9ahWIO %  
      The directory to use for storing uploaded files PGV/ h  
      设置存储上传文件的目录夹 GD_hhDyD  
`t'W2X  
struts.objectFactory O2dW6bt  
      The com.opensymphony.xwork2.ObjectFactory implementation class VUR|OV%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @xYlS5{  
ocS5SB]8  
struts.objectFactory.spring.autoWire `W/>XZl+t  
      Whether Spring should autoWire or not \%N!5>cZ{  
      是否自动绑定Spring b9<#K+L-  
6h,(wo3Y  
struts.objectFactory.spring.useClassCache ' x35=@  
      Whether Spring should use its class cache or not o:P}Wg/NK  
      是否spring应该使用自身的cache G.dTvLv  
mg.kr:  
struts.objectTypeDeterminer ;8{4!S&b  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class JB]q   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ly_HWuFJ3  
ktBj|-'>  
struts.serve.static.browserCache ^)*-Bo)I  
If static content served by the Struts filter should set browser caching header properties or not OCaq3_#tZ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @wo(tf=@P  
c*L\_Vx+  
struts.serve.static x$Oq0d{T  
      Whether the Struts filter should serve static content or not NDlF0f  
      是否struts过滤器应该提供静态内容 v4c[(&  
LKOwxF#TKT  
struts.tag.altSyntax 5E(P,!-.  
      Whether to use the alterative syntax for the tags or not . M $D  
      是否可以用替代的语法替代tags BJr Nbo;T  
Qt39H@c|z~  
struts.ui.templateDir /T'nY{  
      The directory containing UI templates :|Ty 0>k  
      UI templates的目录夹 mhL,:UE  
VK8 5A  
struts.ui.theme {JMFCc[  
      The default UI template theme E}UlQq  
      默认的UI template主题 {A{=RPL  
2s~ X  
struts.url.http.port _jp8;M~Z  
      The HTTP port used by Struts URLs m3,i{  
      设置http端口 Y<l{DmrsA  
\59+JLmP4  
struts.url.https.port &{99Owqg  
      The HTTPS port used by Struts URLs Ao2t=vg  
      设置https端口 mV6\gR[h  
in$Pk$ c  
struts.url.includeParams C,.$g>)MZK  
      The default includeParams method to generate Struts URLs Y6f0 ?lB  
      在url中产生 默认的includeParams Drz#D1-2  
jT%k{"+>+?  
4Y[tx]<  
struts.velocity.configfile ^8-CUH\  
      The Velocity configuration file path b k 30d  
      velocity配置文件路径 >O?5mfMK  
QOMh"wC3  
struts.velocity.contexts __OD^?qa  
      List of Velocity context names h5>JBLawQP  
      velocity的context列表 "*a^_tsT?i  
d?S7E q9`  
v<$a .I(  
struts.velocity.manager.classname v [\' M  
      org.apache.struts2.views.velocity.VelocityManager implementation class UoCFj2?C  
      org.apache.struts2.views.velocity.VelocityManager接口名 })%WL;~  
]25 xX  
struts.velocity.toolboxlocation w|7<y8#qC  
      The location of the Velocity toolbox @|sDb?J  
      velocity工具盒的位置 dX?8@uzu  
struts.xslt.nocache C;QIp6"1  
      Whether or not XSLT templates should not be cached  `C9/=  
      是否XSLT模版应该被缓存 g4^=Q'j-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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