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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 zI77#AUM  
d[(KgX9  
struts.action.extension N 0h* |  
      The URL extension to use to determine if the request is meant for a Struts action 'N#,,d/G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H$Om{r1j  
gSS2)Sd}  
struts.configuration X}C }  
      The org.apache.struts2.config.Configuration implementation class 6?u9hi  
        org.apache.struts2.config.Configuration接口名 ~ {OBRC  
A]^RV{P  
struts.configuration.files L5 ~wX  
      A list of configuration files automatically loaded by Struts U 1!6%x  
      struts自动加载的一个配置文件列表 s 8O"U%  
:^7/+|}9p  
struts.configuration.xml.reload ]p C/6'  
      Whether to reload the XML configuration or not <]#'6'  
      是否加载xml配置(true,false) 7jP C{W  
 >sk vg  
struts.continuations.package |c,,*^  
      The package containing actions that use Rife continuations  uaN0X"  
      含有actions的完整连续的package名称 iX,| ;J|]  
v.Wkz9 w}  
struts.custom.i18n.resources w4w[qxV>  
      Location of additional localization properties files to load t_cNH@^3<3  
      加载附加的国际化属性文件(不包含.properties后缀) P5/\*~}  
AB92R/  
struts.custom.properties HAJK%zLc  
      Location of additional configuration properties files to load CYD&#+o  
      加载附加的配置文件的位置 8wJfG Y  
w+c%Y\:  
]Q-*xho  
struts.devMode <pzCpF<  
      Whether Struts is in development mode or not /~RY{ c@#L  
      是否为struts开发模式 HX\^ecZ#E  
iOk^RDG+  
struts.dispatcher.parametersWorkaround xfYDjf :<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Bo.< 4P  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) znm3b8ns  
RQ}0f5~t  
struts.enable.DynamicMethodInvocation 6Ap-J~4  
      Allows one to disable dynamic method invocation from the URL q5<'pi   
        允许动态方法调用 BVAxeXO  
(/6~*<ZGT  
struts.freemarker.manager.classname G 92\` Q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Pyfj[m4+}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Se*o{V3s$  
N,N9K  
struts.i18n.encoding oNW5/W2e;  
      The encoding to use for localization messages >9F&x>~  
      国际化信息内码 UbDRzum  
;jC}.] _)w  
struts.i18n.reload 4O}ZnE1[  
      Whether the localization messages should automatically be reloaded t.0F  
      是否国际化信息自动加载 BC|=-^(  
[Aqy%mbG  
struts.locale x93t.5E6  
      The default locale for the Struts application 6@ B_3y  
      默认的国际化地区信息 1nHQ)od  
UqJ}5{rt  
struts.mapper.class =z_.RE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class iKs @oHW  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 AXbDCDA  
@K{1O|V  
struts.multipart.maxSize %#5yC|o9Pn  
      The maximize size of a multipart request (file upload) tkQ#mipAj  
      multipart请求信息的最大尺寸(文件上传用) SvE3E$*  
LHit9O[_/s  
struts.multipart.parser &d1|B`gL|  
      The org.apache.struts2.dispatcher.multipart. OUoN  
      MultiPartRequest parser implementation for a multipart request (file upload) y;oPg4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fGK=lT$  
>iE/t$%1  
UEkn@^&bg  
struts.multipart.saveDir K ?R* )_  
      The directory to use for storing uploaded files !h\>[O  
      设置存储上传文件的目录夹 6k569c{7  
([vyY}43h  
struts.objectFactory 9 GEMmo3  
      The com.opensymphony.xwork2.ObjectFactory implementation class @D$^- S6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Tvdg:[V<  
D}.Pk>5  
struts.objectFactory.spring.autoWire )w3?o#@  
      Whether Spring should autoWire or not hn-+]Y:  
      是否自动绑定Spring *2nQZ^c.  
6M sVV_/  
struts.objectFactory.spring.useClassCache w +pK=R  
      Whether Spring should use its class cache or not &d5n_:^  
      是否spring应该使用自身的cache R<* c   
k9]M=eO  
struts.objectTypeDeterminer H[H+s!)"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +MHsdeGU1W  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 xLZJ[:gr  
kBF.TGT[l  
struts.serve.static.browserCache +OEheG8  
If static content served by the Struts filter should set browser caching header properties or not 'MF|(`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;!RS q'L1  
V]4g- CS[  
struts.serve.static .X2fu/}  
      Whether the Struts filter should serve static content or not . }#R  
      是否struts过滤器应该提供静态内容 Gcu[G]D  
p]z< 43O$  
struts.tag.altSyntax Vp"=8p#k  
      Whether to use the alterative syntax for the tags or not \L6kCY  
      是否可以用替代的语法替代tags k 5~#_D>  
h`{agW B  
struts.ui.templateDir 0j@nOj(3  
      The directory containing UI templates #ZzFAt  
      UI templates的目录夹 2kG(\+\  
'+ %<\.$  
struts.ui.theme nYA@t=t0  
      The default UI template theme vIMLUL0  
      默认的UI template主题 6A$  Y]u  
jFE1k(2e  
struts.url.http.port /RWQ+Zf-Y]  
      The HTTP port used by Struts URLs kK62yz,  
      设置http端口 0ZRIi70u  
*!mT#Vm^  
struts.url.https.port q4Rvr[  
      The HTTPS port used by Struts URLs 1$+-?:i C  
      设置https端口 r2t|,%%N7  
)Id.yv}_  
struts.url.includeParams QYS 1.k  
      The default includeParams method to generate Struts URLs ,RA;X  
      在url中产生 默认的includeParams !Eqp,"ts7  
VXfp=JE  
F'NX  
struts.velocity.configfile Ah_,5Z@&R  
      The Velocity configuration file path 9i^dQV.U=  
      velocity配置文件路径 v|]1x2191  
\E}YtN#  
struts.velocity.contexts }3%L3v&  
      List of Velocity context names QGC%, F"+  
      velocity的context列表 Un~ }M/  
>^fpQG  
\w6A-daD0  
struts.velocity.manager.classname Z30r|Ufh  
      org.apache.struts2.views.velocity.VelocityManager implementation class )(4.7>  
      org.apache.struts2.views.velocity.VelocityManager接口名 E((U=P}+g  
t9C.|6X  
struts.velocity.toolboxlocation XA1gV>SJ  
      The location of the Velocity toolbox V"A*k^}  
      velocity工具盒的位置 tAi ~i;?  
struts.xslt.nocache F]fBFDk  
      Whether or not XSLT templates should not be cached w6Owfq'v  
      是否XSLT模版应该被缓存 vV(?A  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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