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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 aoy Be|H~=  
i{$-[*WHiV  
struts.action.extension 0%%1:W-  
      The URL extension to use to determine if the request is meant for a Struts action Jn+-G4h$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?Q:SVxzUd  
@CNJpQ ujn  
struts.configuration pg{VKrT`  
      The org.apache.struts2.config.Configuration implementation class F ~A $7  
        org.apache.struts2.config.Configuration接口名 Jg#0g eU  
i(~DhXz*T  
struts.configuration.files #j2kT  
      A list of configuration files automatically loaded by Struts k>&cHCS`*  
      struts自动加载的一个配置文件列表 =.`\V]  
o z*;q]  
struts.configuration.xml.reload RV~t%Sw^  
      Whether to reload the XML configuration or not N~/ 'EaO  
      是否加载xml配置(true,false) z;JV3) E  
@]qP:h.  
struts.continuations.package kf@JEcKV  
      The package containing actions that use Rife continuations 1PY]Q{r  
      含有actions的完整连续的package名称 zPnb_[YF  
aRTy=~  
struts.custom.i18n.resources 're:_;lG  
      Location of additional localization properties files to load FJn-cR.n  
      加载附加的国际化属性文件(不包含.properties后缀) o~$O$  
 Bx45yaT  
struts.custom.properties A]c'T T@6  
      Location of additional configuration properties files to load bM?gAY]mB8  
      加载附加的配置文件的位置 7O1MC 8{  
'$FF/|{  
] SJ#:7  
struts.devMode 7z? ;z<VJ  
      Whether Struts is in development mode or not |d0ZB_ci  
      是否为struts开发模式 B*tYp  
c64^u9  
struts.dispatcher.parametersWorkaround @)>Z+g  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic h,c*:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @c^ Dl  
5 `1  
struts.enable.DynamicMethodInvocation |]-Zz7N)  
      Allows one to disable dynamic method invocation from the URL q>_<\|?%x  
        允许动态方法调用 mZ71_4X#  
*RkUF!)(  
struts.freemarker.manager.classname k`5I"-e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1(p:dqGS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Vh~hfj"  
_}R9!R0O  
struts.i18n.encoding Vn5T Jw  
      The encoding to use for localization messages 7y$\|WG?!r  
      国际化信息内码 ((ebSu2-?$  
A}ZZQ  
struts.i18n.reload :k\#=u(  
      Whether the localization messages should automatically be reloaded `D;*.zrA  
      是否国际化信息自动加载 evZcoH3~  
gqS9{K(f  
struts.locale 0+SDFh  
      The default locale for the Struts application tWn dAM(U7  
      默认的国际化地区信息 a&>NuMDI  
QIiy\E%  
struts.mapper.class h0<PQZJ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ROFZ*@CH<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 xhP~]akHN7  
ZiUb+;JA  
struts.multipart.maxSize R;DU68R  
      The maximize size of a multipart request (file upload) Sf S3}Tn[  
      multipart请求信息的最大尺寸(文件上传用) |gE1P/%k  
lcl|o3yQ  
struts.multipart.parser OZ\6qMH3e  
      The org.apache.struts2.dispatcher.multipart. #Hrzk!&9   
      MultiPartRequest parser implementation for a multipart request (file upload) L/"MRQ"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) HAjl[c  
j n^X{R\  
%,bD| NKp  
struts.multipart.saveDir - rO34l  
      The directory to use for storing uploaded files Db"mq'vT  
      设置存储上传文件的目录夹 %:aXEjm@  
3}nk9S:jr  
struts.objectFactory 0O"W0s"T#  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,D{7=mDVm  
      com.opensymphony.xwork2.ObjectFactory接口(spring) X,Na4~JO(  
{KgA V  
struts.objectFactory.spring.autoWire 2 GRI<M  
      Whether Spring should autoWire or not Ay(p~U;gN*  
      是否自动绑定Spring CM?:\$ 4  
i}vJI}S.$  
struts.objectFactory.spring.useClassCache f\_RW;y|m  
      Whether Spring should use its class cache or not c|/HX%Y  
      是否spring应该使用自身的cache <UGaIb  
N|DfE{,  
struts.objectTypeDeterminer nL 5tHz:e  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class BAQ-1kSz  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D [+LU(  
hC2Fup1@  
struts.serve.static.browserCache `n$Ak5f  
If static content served by the Struts filter should set browser caching header properties or not Z1 Nep !  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 u ON(LavB  
r,;ca6>5H  
struts.serve.static Et3]n$  
      Whether the Struts filter should serve static content or not /x49!8  
      是否struts过滤器应该提供静态内容 0j@mzd2  
;MN$.x+  
struts.tag.altSyntax T >8P1p@A,  
      Whether to use the alterative syntax for the tags or not iTHwH{!  
      是否可以用替代的语法替代tags x)C}  
j*>J1M3E  
struts.ui.templateDir [1rQ'FBB^1  
      The directory containing UI templates =muQ7l:(  
      UI templates的目录夹 {JfQQP&FV  
|<Ls;:5.  
struts.ui.theme \\SQACN  
      The default UI template theme 1gHe$ dzXk  
      默认的UI template主题 c~hH 7/v  
M|blg!j;  
struts.url.http.port |O(>{GH  
      The HTTP port used by Struts URLs t9`{^<LH  
      设置http端口 /1 EAj  
qA[lL(  
struts.url.https.port gBqDx|G  
      The HTTPS port used by Struts URLs ?L }>9$"  
      设置https端口 DvH-M3  
W_B=}lP@x  
struts.url.includeParams g@#he95 }  
      The default includeParams method to generate Struts URLs +RJ{)Nec  
      在url中产生 默认的includeParams 0%bCP/  
NQqw|3  
)M0`dy{1  
struts.velocity.configfile 5t:Zp\$+`  
      The Velocity configuration file path yX!fj\R  
      velocity配置文件路径 == wX.y\.n  
\dHqCQ  
struts.velocity.contexts !R@LC  
      List of Velocity context names gC?}1]9c  
      velocity的context列表 v*.R<- X:  
)=f}vHg$  
&>qUT]w  
struts.velocity.manager.classname 7$<pdayd  
      org.apache.struts2.views.velocity.VelocityManager implementation class hJM& rM7  
      org.apache.struts2.views.velocity.VelocityManager接口名 eDpi0htm  
htB7 j(  
struts.velocity.toolboxlocation CtY-Gs  
      The location of the Velocity toolbox ^{"i eVn  
      velocity工具盒的位置 ZSu.0|0#  
struts.xslt.nocache vYRY?~8 C  
      Whether or not XSLT templates should not be cached qy|bOl  
      是否XSLT模版应该被缓存 {\5(aQ)Vi5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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