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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 c#|raXGT  
!B\R''J5  
struts.action.extension ,VCyG:dw  
      The URL extension to use to determine if the request is meant for a Struts action W{5#@_pL  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {1IfU  
5k`l $mW{  
struts.configuration %6t2ohO"  
      The org.apache.struts2.config.Configuration implementation class )Hpa}FGT  
        org.apache.struts2.config.Configuration接口名 Z)! qW?  
Ka[t75~;  
struts.configuration.files QIB\AAclO  
      A list of configuration files automatically loaded by Struts ]QpWih00V  
      struts自动加载的一个配置文件列表 I/&%]"[^u  
E8pB;\Z(  
struts.configuration.xml.reload Gcdd3W`O  
      Whether to reload the XML configuration or not "/3 db[  
      是否加载xml配置(true,false) |_] Q$q[[%  
]!I7Y.w6  
struts.continuations.package  Of"  
      The package containing actions that use Rife continuations %5eY'  
      含有actions的完整连续的package名称 /DK"QV!]s  
qHuZcht  
struts.custom.i18n.resources v-#Q7T  
      Location of additional localization properties files to load #pb92kA'  
      加载附加的国际化属性文件(不包含.properties后缀) e4!:c^?  
}])oM|fgO  
struts.custom.properties )\eI;8  
      Location of additional configuration properties files to load %+j8["VEC  
      加载附加的配置文件的位置 lBK}VU^  
:[O 8  
lwrC pD .  
struts.devMode ,quoRan  
      Whether Struts is in development mode or not L;*ljZ^c  
      是否为struts开发模式 3on7~*  
{zn!vJX  
struts.dispatcher.parametersWorkaround TM_/ `a2}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >+JqA7K  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) v3aYc:C  
}q $5ig  
struts.enable.DynamicMethodInvocation eO?p*"p"F  
      Allows one to disable dynamic method invocation from the URL oXb;w@:  
        允许动态方法调用 Fx;QU)1l3  
)6q,>whI]  
struts.freemarker.manager.classname r[BVvX/,F  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class l8I /0`_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q=%RDG+  
9;r)#3Q[^  
struts.i18n.encoding hEBY8=gK  
      The encoding to use for localization messages mS^tX i5hg  
      国际化信息内码 KVT-P};jy*  
A/u)# ^\  
struts.i18n.reload  f4Xk,1Is  
      Whether the localization messages should automatically be reloaded ?AJKBW^  
      是否国际化信息自动加载 7* yzEM  
EB2w0a5  
struts.locale 4)@mSSfn.  
      The default locale for the Struts application Y8m1M-#w  
      默认的国际化地区信息 .#rJ+.2  
`(YxI  
struts.mapper.class 7J EbH?lEN  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class wgamshm"d  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 'eLqlu|T  
)Xv ilCk1  
struts.multipart.maxSize )L#i%)+  
      The maximize size of a multipart request (file upload) !a7[ 8&  
      multipart请求信息的最大尺寸(文件上传用) swM*k;$q{  
q(`/Vo4g(  
struts.multipart.parser ^>jwh  
      The org.apache.struts2.dispatcher.multipart. &3bx `C  
      MultiPartRequest parser implementation for a multipart request (file upload) jN[`L%Qm   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <eQj`HL  
q35f&O;  
7]blrN]  
struts.multipart.saveDir 4)A#2  
      The directory to use for storing uploaded files , Wk?I%>  
      设置存储上传文件的目录夹 ]j`c]2EuP  
~:Ll&29i  
struts.objectFactory SKkUU^\#R`  
      The com.opensymphony.xwork2.ObjectFactory implementation class nEJY5Bz$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) n 2)@S0{  
tasUZ#\6  
struts.objectFactory.spring.autoWire BW 4%l  
      Whether Spring should autoWire or not 9{ >Ui  
      是否自动绑定Spring .^h#_[dp  
U56G.  
struts.objectFactory.spring.useClassCache G LIi6  
      Whether Spring should use its class cache or not aqj@Cjk4Z  
      是否spring应该使用自身的cache gk"$,\DI  
c_vqL$Dl  
struts.objectTypeDeterminer cc~O&?)i  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class n=y[CKS  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  %-c*C$  
P} 0%-JC  
struts.serve.static.browserCache v":x4!kdX  
If static content served by the Struts filter should set browser caching header properties or not b:tob0TB  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Zc W:6po>  
j2QmxTa!  
struts.serve.static /SrCElabP  
      Whether the Struts filter should serve static content or not 45,1-? -!  
      是否struts过滤器应该提供静态内容 >`A9[`$n  
n:yTeZ=-s4  
struts.tag.altSyntax ;c4 gv,q@  
      Whether to use the alterative syntax for the tags or not &Low/Y'.jJ  
      是否可以用替代的语法替代tags s'%R  
8W,Jh8N6  
struts.ui.templateDir FVaQEMZ^  
      The directory containing UI templates de p=&  
      UI templates的目录夹 C|}iCB  
-"=U?>(  
struts.ui.theme `f*Q$Ulqx  
      The default UI template theme #a'Ex=%rM  
      默认的UI template主题 v(ZYS']d2  
tjdaaN#,V  
struts.url.http.port L?WFm n  
      The HTTP port used by Struts URLs kBD>-5Sn_T  
      设置http端口 $5ak_@AC  
P)Rh=U  
struts.url.https.port j g8fU  
      The HTTPS port used by Struts URLs 57umx`m  
      设置https端口 jRJn+  
0n;< ge&~R  
struts.url.includeParams ;"dV"W  
      The default includeParams method to generate Struts URLs ]G5 w6&d  
      在url中产生 默认的includeParams h*w%jdQ6  
&#!4XOyB  
Mxyb5h  
struts.velocity.configfile glM$R&/  
      The Velocity configuration file path 7UVzp v  
      velocity配置文件路径 s$Z _48  
_B/ dWA,P  
struts.velocity.contexts >z%&xgOa  
      List of Velocity context names f !I[>&n  
      velocity的context列表 psg)*'r  
>8WP0 Qx/  
ST:A<Da"  
struts.velocity.manager.classname IC1NKn<k  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]rWgSID  
      org.apache.struts2.views.velocity.VelocityManager接口名 S|7!{}  
zgNc4B  
struts.velocity.toolboxlocation zNxW'?0Z?  
      The location of the Velocity toolbox '98VYCL  
      velocity工具盒的位置 kEOS{C%6R  
struts.xslt.nocache "B3N* R(["  
      Whether or not XSLT templates should not be cached bdC8zDD  
      是否XSLT模版应该被缓存 mS(fgq6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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