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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,PeE'$q  
d[oHjWk  
struts.action.extension ~nb1c:F  
      The URL extension to use to determine if the request is meant for a Struts action ;lf$)3%[  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 lPw`KW  
k(M(]y_  
struts.configuration @4=Az1W*  
      The org.apache.struts2.config.Configuration implementation class KO[,C[;|j  
        org.apache.struts2.config.Configuration接口名 2b&Fu\2Dmv  
HNd? '  
struts.configuration.files #~[{*[B+  
      A list of configuration files automatically loaded by Struts ^Vg-fO]V  
      struts自动加载的一个配置文件列表 8/R9YiY5*  
`o?PLE;)p  
struts.configuration.xml.reload H7}f[4S%  
      Whether to reload the XML configuration or not ^9 ^DA!'  
      是否加载xml配置(true,false) ! =*k+gpF  
:M8y 2f h  
struts.continuations.package 009Q#[A  
      The package containing actions that use Rife continuations 3EH7H W  
      含有actions的完整连续的package名称 2yV^'o)  
P4fnBH4OQ  
struts.custom.i18n.resources %H4>k#b@$  
      Location of additional localization properties files to load C(kL=WD   
      加载附加的国际化属性文件(不包含.properties后缀) ?X$*8;==6  
[F 24xC+  
struts.custom.properties g0#w 4rGF)  
      Location of additional configuration properties files to load i?f;C_w  
      加载附加的配置文件的位置 MH|R@g  
* 'Bu-1{  
N 1hj[G[H"  
struts.devMode =k5O*ql"  
      Whether Struts is in development mode or not lYS*{i1^ '  
      是否为struts开发模式 yw >Frb5p  
Ho1V)T>  
struts.dispatcher.parametersWorkaround _pxurq{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l OiZ2_2  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r?/!VO-*N  
KBa0  
struts.enable.DynamicMethodInvocation d ;i@9+  
      Allows one to disable dynamic method invocation from the URL sY:=bU^P  
        允许动态方法调用 ~l]g4iEp  
M2I*_pI  
struts.freemarker.manager.classname 3 Scc"9]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class TQth"Cv2:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 cp6I]#X  
T\"-q4+=C  
struts.i18n.encoding (wf3HEb_  
      The encoding to use for localization messages &]pY~zVc  
      国际化信息内码 *W2o$_Hs  
~ 1~|/WG  
struts.i18n.reload %DM0Z8P$B-  
      Whether the localization messages should automatically be reloaded pA6A*~QE  
      是否国际化信息自动加载 QW_BT ^d"  
6G{ Q@  
struts.locale $e:bDZ(hjj  
      The default locale for the Struts application #I\" 'n5M  
      默认的国际化地区信息 FM7`q7d  
/!fJ`pu!  
struts.mapper.class Ey% KbvNv  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]K QQdr   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Re*_Dt=r  
u:H:N]  
struts.multipart.maxSize F?t;bV  
      The maximize size of a multipart request (file upload)  3Hi8=*  
      multipart请求信息的最大尺寸(文件上传用) + ]iK^y-.r  
}ld^zyL  
struts.multipart.parser $g),|[ x+(  
      The org.apache.struts2.dispatcher.multipart. `pF7B6[B  
      MultiPartRequest parser implementation for a multipart request (file upload) Yr[& *>S  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) i&{%} ==7  
L_o/fTz4  
=MT'e,T  
struts.multipart.saveDir '$ [%x  
      The directory to use for storing uploaded files =|dHD  
      设置存储上传文件的目录夹 k 7:Z\RGy  
U+zntB  
struts.objectFactory R2JPLvs  
      The com.opensymphony.xwork2.ObjectFactory implementation class O=6[/oc '  
      com.opensymphony.xwork2.ObjectFactory接口(spring) "28zLo3  
FIUQQQ\3  
struts.objectFactory.spring.autoWire 3,n"d-  
      Whether Spring should autoWire or not u:^sEk"Lk'  
      是否自动绑定Spring <GF^VT|Ce  
!t}yoN n|  
struts.objectFactory.spring.useClassCache BN~ndWRK  
      Whether Spring should use its class cache or not RFX{]bQp9  
      是否spring应该使用自身的cache Hbn78,~ .  
=.w~qL  
struts.objectTypeDeterminer qae|?z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class MBAj.J  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #qW#>0U  
hVAatn[  
struts.serve.static.browserCache ,T$ GOjt  
If static content served by the Struts filter should set browser caching header properties or not o#=C[d5BV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g>l+oH[Tv|  
]B$J8.{q0  
struts.serve.static a ,"   
      Whether the Struts filter should serve static content or not RhC|x,E  
      是否struts过滤器应该提供静态内容 `3`.usw  
7C R6ew~  
struts.tag.altSyntax 1jO%\uR/  
      Whether to use the alterative syntax for the tags or not ?a)Fm8Y  
      是否可以用替代的语法替代tags 0Ua=&;/2  
}9&dY!h +  
struts.ui.templateDir nxNHf3   
      The directory containing UI templates ;e< TEs  
      UI templates的目录夹 %NM={X|'  
ci/qm\JI<<  
struts.ui.theme _EJPI  
      The default UI template theme 3_`)QYU'  
      默认的UI template主题 c=zSq%e   
!qU1RdZ  
struts.url.http.port =3`|D0E  
      The HTTP port used by Struts URLs 9Q!Z9n"8~)  
      设置http端口 Qqx!'fft  
Cy *.pzCi  
struts.url.https.port [P6m8%Y|s  
      The HTTPS port used by Struts URLs sG)aw`_j  
      设置https端口 PQa0m)H@  
tY: Nq*@  
struts.url.includeParams sN2m?`?"G  
      The default includeParams method to generate Struts URLs _,IjB/PR(  
      在url中产生 默认的includeParams ib~i ^_p  
}r@yBUW  
!0vLSF=  
struts.velocity.configfile b`@C#qB  
      The Velocity configuration file path :HwdXhA6  
      velocity配置文件路径 EB*C;ms  
P$Oj3HD LM  
struts.velocity.contexts }2iR=$2  
      List of Velocity context names H5 V>d  
      velocity的context列表 e<*qaUI  
F-oe49p5e  
?5/7 @V  
struts.velocity.manager.classname iJZNSRQJ}r  
      org.apache.struts2.views.velocity.VelocityManager implementation class EW1,&H  
      org.apache.struts2.views.velocity.VelocityManager接口名 GdY@$&z{i  
Q J-|zS.W  
struts.velocity.toolboxlocation ^9 ]iUx  
      The location of the Velocity toolbox *8po0s  
      velocity工具盒的位置 >]_^iD]*t  
struts.xslt.nocache :0QDV~bs  
      Whether or not XSLT templates should not be cached T\g+w\N  
      是否XSLT模版应该被缓存 'nBP%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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