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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i-wRwl4aEF  
o5s6$\"  
struts.action.extension t?>}0\1  
      The URL extension to use to determine if the request is meant for a Struts action -E|"?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 QWOPCoUet  
A:(|"<lA  
struts.configuration ch8VJ^%Ra1  
      The org.apache.struts2.config.Configuration implementation class 89:nF#  
        org.apache.struts2.config.Configuration接口名 cIwX sx  
w317]-n  
struts.configuration.files ="$w8iRU  
      A list of configuration files automatically loaded by Struts A.r7 ks  
      struts自动加载的一个配置文件列表 &b#d4p6&l  
&Gh,ROo4  
struts.configuration.xml.reload mj'~-$5T  
      Whether to reload the XML configuration or not ltuV2.$  
      是否加载xml配置(true,false) Vx<{cHQQ  
;9j ]P56  
struts.continuations.package +=J $:/&U  
      The package containing actions that use Rife continuations r[V%DU$dj  
      含有actions的完整连续的package名称 5Hu[*  
anW['!T9{s  
struts.custom.i18n.resources w3(G!:  
      Location of additional localization properties files to load /FN:yCf  
      加载附加的国际化属性文件(不包含.properties后缀) vE )N6Ss  
8~O#@hB~3  
struts.custom.properties >`03EsU  
      Location of additional configuration properties files to load !d()'N  
      加载附加的配置文件的位置 (@} ^ 3jpT  
L!xFhVA<  
Q(f0S  
struts.devMode Dh`&B   
      Whether Struts is in development mode or not _5 SvZ;4  
      是否为struts开发模式 aaU4Jl?L  
N%f"W&ci  
struts.dispatcher.parametersWorkaround #-YbZ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ?-c|c_|$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t, %m-dU  
c-hc.i}!  
struts.enable.DynamicMethodInvocation "^z%|uXkf  
      Allows one to disable dynamic method invocation from the URL 8)8~c@  
        允许动态方法调用 ZOfv\(iJ;  
M@es8\&S.  
struts.freemarker.manager.classname ~:JAWs$\V  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bji#ID2]%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 {oY"CZ2  
7=N%$]DKZ  
struts.i18n.encoding 4C?{p%3c  
      The encoding to use for localization messages M%_*vD  
      国际化信息内码 !f(A9V  
}T.>p#z  
struts.i18n.reload $Zyuhji^  
      Whether the localization messages should automatically be reloaded }'Ap@4  
      是否国际化信息自动加载 Cl3vp_  
aiX&`   
struts.locale "&SE!3*m`I  
      The default locale for the Struts application vx?KenO}  
      默认的国际化地区信息 AT I=&O`  
_XZK2Q[  
struts.mapper.class q}Po)IUT`5  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =* 'yGB[x)  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;cf$u}+  
!y_L~81?  
struts.multipart.maxSize )>h3IR  
      The maximize size of a multipart request (file upload) &5K3AL  
      multipart请求信息的最大尺寸(文件上传用) uH$hMg  
!PoyM[Z"f  
struts.multipart.parser =T3{!\tH  
      The org.apache.struts2.dispatcher.multipart. (QIU3EN  
      MultiPartRequest parser implementation for a multipart request (file upload) 4OM ]8I!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G h+;Vrx  
?M4ig_  
UZt3Ua&J  
struts.multipart.saveDir sRT5i9TQ  
      The directory to use for storing uploaded files WY|~E%k  
      设置存储上传文件的目录夹 *1v3x:pQ'  
s@~3L  
struts.objectFactory -}TP)/ !,*  
      The com.opensymphony.xwork2.ObjectFactory implementation class [cDDZ+6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (zsmJe  
f ] *w1  
struts.objectFactory.spring.autoWire @{qcu\sZ  
      Whether Spring should autoWire or not H%n/;DW  
      是否自动绑定Spring e;=R8i  
l1zPL3"u_^  
struts.objectFactory.spring.useClassCache *H/)S5  
      Whether Spring should use its class cache or not !Yo2P"  
      是否spring应该使用自身的cache _K?v^oM#  
-ioO8D&!  
struts.objectTypeDeterminer JUw|nUnl?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0*]0#2Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 prO&"t >  
o]p$ w[5  
struts.serve.static.browserCache o!h::j0,~  
If static content served by the Struts filter should set browser caching header properties or not "d/54PKWx  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T#rUbi>""  
&O+S [~  
struts.serve.static |b@`ykD  
      Whether the Struts filter should serve static content or not tPiC?=4R  
      是否struts过滤器应该提供静态内容 c)Q-yPMl)  
kxe{HxM$Z  
struts.tag.altSyntax $R ze[3  
      Whether to use the alterative syntax for the tags or not *RJD^hu  
      是否可以用替代的语法替代tags A\mSS  
SKf;Fe  
struts.ui.templateDir Wx/PD=Sf&  
      The directory containing UI templates *9KT@"v  
      UI templates的目录夹 I@N/Y{y#  
w@P86'< v  
struts.ui.theme -GL.8" c[  
      The default UI template theme b6e 2a/x  
      默认的UI template主题 HHyN\  
<AVWT+,  
struts.url.http.port }6u}?>S  
      The HTTP port used by Struts URLs 'GW~~UhdW  
      设置http端口 # .&t'"u  
9_*3xu<7i  
struts.url.https.port Q%'4jn?H  
      The HTTPS port used by Struts URLs c;b<z|}z  
      设置https端口 f~?5;f:E  
Yc[vH=gV}  
struts.url.includeParams 'h&>K,U?5  
      The default includeParams method to generate Struts URLs f 4K)Z e  
      在url中产生 默认的includeParams +tkm,>s  
]\ZJaU80I~  
I7XM2xM  
struts.velocity.configfile Y]&2E/oc  
      The Velocity configuration file path j5hQ;~Fa|  
      velocity配置文件路径 IwXQbJ3v_  
,UVd+rY}  
struts.velocity.contexts vG}\Amx+  
      List of Velocity context names sWA-_4  
      velocity的context列表 j bOwpyH  
vEt=enQ  
aQWg?,Ju6  
struts.velocity.manager.classname 5#_GuL%  
      org.apache.struts2.views.velocity.VelocityManager implementation class %MtaWZ  
      org.apache.struts2.views.velocity.VelocityManager接口名 :q1j?0 {2N  
bneP>Bd  
struts.velocity.toolboxlocation A{{rNbCK  
      The location of the Velocity toolbox q2Gm8>F1y.  
      velocity工具盒的位置 iF##3H$c  
struts.xslt.nocache L!5="s[}  
      Whether or not XSLT templates should not be cached F ww S[ 3  
      是否XSLT模版应该被缓存 J=t}N+:F`b  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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