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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]hi5 nA  
fnU;DS] W  
struts.action.extension IM~2=+  
      The URL extension to use to determine if the request is meant for a Struts action [Xo[J?w],2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 S8)6@ECC  
Jm*wlN [>  
struts.configuration rTtxmw0  
      The org.apache.struts2.config.Configuration implementation class B["C~aF  
        org.apache.struts2.config.Configuration接口名 +T]D\];D  
X?OH//co  
struts.configuration.files [#C(^J*@c  
      A list of configuration files automatically loaded by Struts .L}k-8  
      struts自动加载的一个配置文件列表 5g;i{T/6~x  
#qdfr3  
struts.configuration.xml.reload CR'1,  
      Whether to reload the XML configuration or not c\(CbC  
      是否加载xml配置(true,false) &X OFc.u  
{3*Zx"e![  
struts.continuations.package VPXUy=W  
      The package containing actions that use Rife continuations X< p KAO\  
      含有actions的完整连续的package名称 Y`!Zk$8  
5TS&NefM  
struts.custom.i18n.resources aO$I|!tl  
      Location of additional localization properties files to load '@,M 'H{  
      加载附加的国际化属性文件(不包含.properties后缀) 4:Id8r zz  
E4N{;'  
struts.custom.properties h_K!ch }  
      Location of additional configuration properties files to load @PyZ u7'  
      加载附加的配置文件的位置 yk&PJ;%O<  
{Z(kzJwN  
tsN,yI]-VA  
struts.devMode vAjvW&'g  
      Whether Struts is in development mode or not (E]q>'X  
      是否为struts开发模式 |t uh/e@dx  
|'N)HH>;  
struts.dispatcher.parametersWorkaround bGe@yXId5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .V`N^ H:l  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o0:RsODl  
MI\35~JAN  
struts.enable.DynamicMethodInvocation {#4F}@Q  
      Allows one to disable dynamic method invocation from the URL fy|$A@f  
        允许动态方法调用 x3Ze\N8w  
&-hXk!A  
struts.freemarker.manager.classname ^K'@W  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [e;c)XS[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 zM2 _z  
Q?]-/v  
struts.i18n.encoding 6h:2,h pE  
      The encoding to use for localization messages Av_JcH  
      国际化信息内码 7 HM%Cd  
7FGi+  
struts.i18n.reload .I nDyKt  
      Whether the localization messages should automatically be reloaded _%:$sAj  
      是否国际化信息自动加载 |58xR.S'g  
20A`]-D  
struts.locale /m CE=  
      The default locale for the Struts application sA!$}W  
      默认的国际化地区信息 2c1L[]h'  
fm1yZX?`  
struts.mapper.class u+5MrS [  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class OV,t|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fuF!3Q  
3  G_0DS  
struts.multipart.maxSize _|I`A6`=  
      The maximize size of a multipart request (file upload)  jWqjGX`  
      multipart请求信息的最大尺寸(文件上传用) \x;`8H  
/Xk-xg+U  
struts.multipart.parser 25{-GaB  
      The org.apache.struts2.dispatcher.multipart. +Fa!<txn  
      MultiPartRequest parser implementation for a multipart request (file upload) ^c|_%/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &r)[6a$fW  
Yh2[ nF_  
G[$g-NU+  
struts.multipart.saveDir !N'HL-oT  
      The directory to use for storing uploaded files |Q?^Ba  
      设置存储上传文件的目录夹 xTg=oq  
N`et]'_A}  
struts.objectFactory ce:p*  
      The com.opensymphony.xwork2.ObjectFactory implementation class "kd)dy95H  
      com.opensymphony.xwork2.ObjectFactory接口(spring) " `FcW  
jIi:tO9G^,  
struts.objectFactory.spring.autoWire x7ZaI{    
      Whether Spring should autoWire or not y XT8:2M  
      是否自动绑定Spring #.j}:  
T:I34E[  
struts.objectFactory.spring.useClassCache bYAtUEv  
      Whether Spring should use its class cache or not .W s\%S  
      是否spring应该使用自身的cache 1s/548wu  
6W[~@~D=  
struts.objectTypeDeterminer g0ks[ }f-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class wl7 (|\-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ApNS0  
B-UsMO  
struts.serve.static.browserCache .C,D;T{  
If static content served by the Struts filter should set browser caching header properties or not #ADm^UT^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vb`R+y@  
Ake@krh>$  
struts.serve.static 75^AO>gt   
      Whether the Struts filter should serve static content or not 5D eo}(3  
      是否struts过滤器应该提供静态内容 ez<V  
0TWd.+  
struts.tag.altSyntax g5:?O,?  
      Whether to use the alterative syntax for the tags or not 'S%H"W\  
      是否可以用替代的语法替代tags 5.d[C/pRw  
sOVU>tb\'  
struts.ui.templateDir -}(2}~{e(  
      The directory containing UI templates l}SHR|7<  
      UI templates的目录夹 o3YW(%cYR  
0p]v#z}  
struts.ui.theme @2g <d  
      The default UI template theme e2^TQv2(=e  
      默认的UI template主题 %'OY  
_Wqy,L;J  
struts.url.http.port %2y5a`b  
      The HTTP port used by Struts URLs KX J7\}  
      设置http端口 bEm9hFvd  
8PR\a!"  
struts.url.https.port 7@ \:l~{  
      The HTTPS port used by Struts URLs U0Uy C  
      设置https端口 &-Ylj  
Z C<+BKS  
struts.url.includeParams G>Hg0u0!,  
      The default includeParams method to generate Struts URLs $b(CN+#  
      在url中产生 默认的includeParams rCUGaf~  
LUdXAi"f  
!_P&SmK3  
struts.velocity.configfile ;SIWWuk  
      The Velocity configuration file path u4j"U6"]M  
      velocity配置文件路径 Y>6N2&Q  
)2a)$qx;  
struts.velocity.contexts pX+4B=*  
      List of Velocity context names S$ffTdRz  
      velocity的context列表 :V1j*)  
T+e*'<!O  
.cm2L,1h  
struts.velocity.manager.classname "VDMO^  
      org.apache.struts2.views.velocity.VelocityManager implementation class Al=ByX@  
      org.apache.struts2.views.velocity.VelocityManager接口名 B"8jEYT5  
T'{9!By,P  
struts.velocity.toolboxlocation 1yVhO2`7]  
      The location of the Velocity toolbox w2db=9  
      velocity工具盒的位置 j#0JD!Vr  
struts.xslt.nocache F1A40h7R$Y  
      Whether or not XSLT templates should not be cached 1ktxG1"1  
      是否XSLT模版应该被缓存 $<AaeyR!N  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五