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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %tt%`0  
@[?!s%*2  
struts.action.extension d ~_`M0+  
      The URL extension to use to determine if the request is meant for a Struts action ;t> Z+O%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $BDBN_p  
$W42vjr4  
struts.configuration C#=bW'C  
      The org.apache.struts2.config.Configuration implementation class ]$ b<Gs  
        org.apache.struts2.config.Configuration接口名 3q:{1rc  
#Hh^3N  
struts.configuration.files LsGiu9~S  
      A list of configuration files automatically loaded by Struts /DO/Tqdfe  
      struts自动加载的一个配置文件列表 b2^AP\: k  
^t*x*m8  
struts.configuration.xml.reload !lmWb-v%36  
      Whether to reload the XML configuration or not qxJQPz  
      是否加载xml配置(true,false) 9H]Lpi^OH  
=}fd6ea(o  
struts.continuations.package @C-dG7U.P  
      The package containing actions that use Rife continuations R,!Q Zxmg  
      含有actions的完整连续的package名称 daAyx-  
TfZ6F8|B  
struts.custom.i18n.resources MZSxQ8  
      Location of additional localization properties files to load Ti;Ijcq8  
      加载附加的国际化属性文件(不包含.properties后缀) a>B[5I5  
DrvtH+e  
struts.custom.properties j?|* LT$%7  
      Location of additional configuration properties files to load y8bM<e2 U  
      加载附加的配置文件的位置 OAZ#|U   
'69ZdP/xX  
k)FmDX  
struts.devMode kF V7l  
      Whether Struts is in development mode or not LDy<k=;o  
      是否为struts开发模式 Zx?b<"k  
6ZqgY1  
struts.dispatcher.parametersWorkaround 0gF!!m  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic W;Jx<-#1  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) HT_TP q  
Y/8K;U|  
struts.enable.DynamicMethodInvocation V5GkP1L  
      Allows one to disable dynamic method invocation from the URL agOk*wH5  
        允许动态方法调用 i!dv0|_  
\H5Jk$*  
struts.freemarker.manager.classname *sfD#Bi]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i(wgB\9i4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 dow^*{fqZ  
} i)$n(A)K  
struts.i18n.encoding d2ENm%q*PX  
      The encoding to use for localization messages )06iV  
      国际化信息内码 "n\%_'R\hH  
E)t  
struts.i18n.reload 4R) |->"  
      Whether the localization messages should automatically be reloaded <3O T>E[  
      是否国际化信息自动加载 "!Rw)=7O  
PI?j_8  
struts.locale ^!;=6}YR  
      The default locale for the Struts application bYh9sO/l  
      默认的国际化地区信息 zyN (4  
EZ(^~k=I  
struts.mapper.class g "!\\:M  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -lRhz!E]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 L$Z(+6m5  
qMS}t3X  
struts.multipart.maxSize _b4fS'[  
      The maximize size of a multipart request (file upload) ; a/cty0Ch  
      multipart请求信息的最大尺寸(文件上传用) <-jGqUN_I  
fjDpwb:x)  
struts.multipart.parser /k"hH\Pp  
      The org.apache.struts2.dispatcher.multipart. 2 6:evid  
      MultiPartRequest parser implementation for a multipart request (file upload) 5>ST"l_ca  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 76#.F  
*"G8  
qq+MBW*  
struts.multipart.saveDir $-@$i`Kf/  
      The directory to use for storing uploaded files CYB=Uq,  
      设置存储上传文件的目录夹 K:qOoY  
Ha ZFxh-(  
struts.objectFactory bEr.nF  
      The com.opensymphony.xwork2.ObjectFactory implementation class %f[Ep 3D  
      com.opensymphony.xwork2.ObjectFactory接口(spring) de-0?6  
8tWE=8<  
struts.objectFactory.spring.autoWire ~%q7Vmk9  
      Whether Spring should autoWire or not |r~ uos  
      是否自动绑定Spring iM64,wnA  
.:;fAJPf  
struts.objectFactory.spring.useClassCache {u 30r c"  
      Whether Spring should use its class cache or not Wm6dQQ;Bj  
      是否spring应该使用自身的cache )hL^+Nn bR  
!J.rM5K  
struts.objectTypeDeterminer d0C8*ifFO  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Y%v P#>h  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ix Ow=!@  
r2G*!qK*1  
struts.serve.static.browserCache S[@6Lp3q_  
If static content served by the Struts filter should set browser caching header properties or not 12r` )  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ':;LrTc'K  
Ww87  
struts.serve.static q?VVYZXP  
      Whether the Struts filter should serve static content or not ":&|[9/  
      是否struts过滤器应该提供静态内容 &9ki O  
*=^[VV!  
struts.tag.altSyntax oa9)Dv  
      Whether to use the alterative syntax for the tags or not f Lk"tW  
      是否可以用替代的语法替代tags ~{ .,8jE  
owMuT^x?  
struts.ui.templateDir /;UTC)cJ  
      The directory containing UI templates P6OM)>C  
      UI templates的目录夹 l/V&s<  
fJ :jk6@  
struts.ui.theme Nz]aaoO4  
      The default UI template theme q lY\*{x4  
      默认的UI template主题 Z oTNm  
A. Nz_!  
struts.url.http.port *Pb.f  
      The HTTP port used by Struts URLs pB'x_z  
      设置http端口 5K(n3?1z)  
O`[]xs  
struts.url.https.port *#ompm  
      The HTTPS port used by Struts URLs ucFw,sB1  
      设置https端口 f sX;Nj]  
r|8V @.@i  
struts.url.includeParams x\;GoGsez  
      The default includeParams method to generate Struts URLs 3Bd4 C]E  
      在url中产生 默认的includeParams dt.-C_MO  
Nzc>)2% N  
OX,F09.C  
struts.velocity.configfile jg^^\n  
      The Velocity configuration file path bf^ly6ml  
      velocity配置文件路径 xXa#J)'  
`]yKM0 Z  
struts.velocity.contexts qi[(*bFK7  
      List of Velocity context names 'Fzuc^G(d  
      velocity的context列表 5k`e^ARf  
s#Q _Gu  
LsotgQ8   
struts.velocity.manager.classname >\-3P $  
      org.apache.struts2.views.velocity.VelocityManager implementation class }Ch[|D=Wd6  
      org.apache.struts2.views.velocity.VelocityManager接口名 3&'R1~Vh  
Cs;<'[_?YO  
struts.velocity.toolboxlocation NQ3|\<Wt  
      The location of the Velocity toolbox i~AJ.@ #  
      velocity工具盒的位置 e6es0D[>5  
struts.xslt.nocache - coy@S=.'  
      Whether or not XSLT templates should not be cached K#U{<pUP  
      是否XSLT模版应该被缓存 ?',}? {"c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八