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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tM:%{az  
7hzd.  
struts.action.extension ku3(cb!2  
      The URL extension to use to determine if the request is meant for a Struts action -:V0pb  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 hifC.guK  
E"'4=_  
struts.configuration (r9W[  
      The org.apache.struts2.config.Configuration implementation class "<N2TDF5  
        org.apache.struts2.config.Configuration接口名 LykB2]T  
r\j*?m ]  
struts.configuration.files w/oXFs&FK  
      A list of configuration files automatically loaded by Struts s7Z+--I)L  
      struts自动加载的一个配置文件列表 _{C =d3  
n40&4n  
struts.configuration.xml.reload WSsX*L  
      Whether to reload the XML configuration or not ev4f9Fhu  
      是否加载xml配置(true,false) W2w A66MB  
IaHu$` v  
struts.continuations.package ` it<\r[=  
      The package containing actions that use Rife continuations >zS<1  
      含有actions的完整连续的package名称 o>l/*i0I  
"\~d!"n|2  
struts.custom.i18n.resources I1)t1%6"vJ  
      Location of additional localization properties files to load F*4zC@;  
      加载附加的国际化属性文件(不包含.properties后缀) Ivx]DXR|  
}2]m]D@%7  
struts.custom.properties ,]LsX"u  
      Location of additional configuration properties files to load &y+)xe:&S  
      加载附加的配置文件的位置 r.ib"W#4  
U)Jwo O  
H/^t]bg,  
struts.devMode sK/Z 'h{|  
      Whether Struts is in development mode or not Qn!KL0w  
      是否为struts开发模式 khb/"VYd  
\c\z 6;j  
struts.dispatcher.parametersWorkaround (7*((  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S\S31pYT  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >4G~01  
Q3'L\_1L  
struts.enable.DynamicMethodInvocation BCI[jfd7  
      Allows one to disable dynamic method invocation from the URL F@ld#O  
        允许动态方法调用 A|`mIma#  
6 =H]p1p~O  
struts.freemarker.manager.classname L;i(@tp|v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class IJk<1T7:(W  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 laQ{nSVBm  
C~X"ZW:d[  
struts.i18n.encoding :>*0./hG  
      The encoding to use for localization messages 08qM?{z o^  
      国际化信息内码 ]j+J^g  
,382O$C  
struts.i18n.reload 9YvK<i&I  
      Whether the localization messages should automatically be reloaded 1EHL8@.M  
      是否国际化信息自动加载 "KKw\i  
O"ebrv  
struts.locale >|rU*+I`  
      The default locale for the Struts application V'8Rz#Gc5  
      默认的国际化地区信息 }G ^nK m  
*cy!PF&  
struts.mapper.class 1a tQ9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Zq"  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &Vy.)0  
~F.kgX  
struts.multipart.maxSize ZkqZO#nq C  
      The maximize size of a multipart request (file upload) Zv5vYe9Ow  
      multipart请求信息的最大尺寸(文件上传用) XR+  
{lbNYjknS  
struts.multipart.parser l&_PsnU  
      The org.apache.struts2.dispatcher.multipart. ]T;  
      MultiPartRequest parser implementation for a multipart request (file upload) l\_81oZ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ]-{A"tJ  
m9mkZ:r(kV  
sI5S)^'IQ  
struts.multipart.saveDir 0gsRBy  
      The directory to use for storing uploaded files Nz%Yi?AF  
      设置存储上传文件的目录夹 oR~s \Gt  
ld[BiP`B2V  
struts.objectFactory "Ky&x$dje  
      The com.opensymphony.xwork2.ObjectFactory implementation class Vs9]Gm  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :NynNu'  
+QA|]Y~!  
struts.objectFactory.spring.autoWire Hn}m}A  
      Whether Spring should autoWire or not @y/!`Ziw  
      是否自动绑定Spring 'B;n&tJ   
Wg=qlux-  
struts.objectFactory.spring.useClassCache a49t/  
      Whether Spring should use its class cache or not  ay,"MJ2  
      是否spring应该使用自身的cache u+m9DNPF  
3XIL; 5  
struts.objectTypeDeterminer Gg y7xb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5"&=BD~D  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .\7AJB\l  
~BC~^ D&WD  
struts.serve.static.browserCache $ qTv2)W1{  
If static content served by the Struts filter should set browser caching header properties or not ,*Z/3at}5M  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d Z}|G-:  
nk"nSXm3SR  
struts.serve.static ttY[\D&ZS  
      Whether the Struts filter should serve static content or not &HtG&RvQf  
      是否struts过滤器应该提供静态内容 3|(3jIa  
'iX y?l  
struts.tag.altSyntax iZE7 B7K  
      Whether to use the alterative syntax for the tags or not gTk*v0WBm  
      是否可以用替代的语法替代tags v,jB(B^|Z  
Ao, <G.>R  
struts.ui.templateDir 'DD~xCXE  
      The directory containing UI templates eQJyO9$G  
      UI templates的目录夹 \u*[mrX_B:  
F- {hXM  
struts.ui.theme D22A)0+_  
      The default UI template theme NEt_UcC  
      默认的UI template主题 W?yGV{#V(=  
AWDy_11Nm  
struts.url.http.port  @7J;}9E  
      The HTTP port used by Struts URLs yL_ \&v  
      设置http端口 M;sT+Z{  
J@qwz[d i  
struts.url.https.port Xb.# =R  
      The HTTPS port used by Struts URLs (!%w  
      设置https端口 ,[[Xo;q  
$pajE^d4V  
struts.url.includeParams 0RHjA& r3v  
      The default includeParams method to generate Struts URLs >AW&Lfw$  
      在url中产生 默认的includeParams z{nd4qOsD  
7!JBF{,=  
Pv\-D<&@m  
struts.velocity.configfile /%AA\`: 6  
      The Velocity configuration file path "QmlW2ysi  
      velocity配置文件路径 P,)\#([vc  
Je~`{n  
struts.velocity.contexts q>m[vvt"  
      List of Velocity context names gT2k}5d}p  
      velocity的context列表 .$xTX'  
A5~OHmeK  
nTHCb>,vM  
struts.velocity.manager.classname LZ8xh  
      org.apache.struts2.views.velocity.VelocityManager implementation class >2mV {i&  
      org.apache.struts2.views.velocity.VelocityManager接口名 fJ;1ii~  
~:N 1[  
struts.velocity.toolboxlocation $s,(-C   
      The location of the Velocity toolbox m}]\^$d  
      velocity工具盒的位置 ~b})=7n.  
struts.xslt.nocache 9'A^n~JHF  
      Whether or not XSLT templates should not be cached WQv`%%G2>  
      是否XSLT模版应该被缓存 %JuT'7VB  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八