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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Q|cA8Fn  
 \R<OT%8  
struts.action.extension Yy0m &3[  
      The URL extension to use to determine if the request is meant for a Struts action Jz\'%O'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NW;wy;;  
w2`j&]D6  
struts.configuration aw/5#(1R  
      The org.apache.struts2.config.Configuration implementation class n 6|\  
        org.apache.struts2.config.Configuration接口名 R2[!h1nZ  
Rd*/J~TK  
struts.configuration.files "mkTCR^]e  
      A list of configuration files automatically loaded by Struts ,cFp5tV$  
      struts自动加载的一个配置文件列表 (tP^F)}e5  
u8@>ThPD  
struts.configuration.xml.reload $(%t^8{a~G  
      Whether to reload the XML configuration or not sQe>LNp,G  
      是否加载xml配置(true,false) 5=Y\d,SS"  
bpe WK&  
struts.continuations.package _Msaub!N  
      The package containing actions that use Rife continuations \Tj(]  
      含有actions的完整连续的package名称 bga2{<VF  
:dzam HbX9  
struts.custom.i18n.resources -n~VMLd?@  
      Location of additional localization properties files to load 1{S" axSL  
      加载附加的国际化属性文件(不包含.properties后缀) K&noA  
b}r3x&)  
struts.custom.properties ~UJ_Rr54  
      Location of additional configuration properties files to load KcjP39@I  
      加载附加的配置文件的位置 I*K~GXWs#  
DavG=kvd  
th*E"@  
struts.devMode ^UK6q2[  
      Whether Struts is in development mode or not x_5H_! \#  
      是否为struts开发模式 ?5 d3k%  
"$BWP  
struts.dispatcher.parametersWorkaround WChJ <[]W  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic QRv2%^L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Z`b{r;`m8  
^T|~L<A3  
struts.enable.DynamicMethodInvocation p(Q5!3C0q  
      Allows one to disable dynamic method invocation from the URL _\LAWQ|M4[  
        允许动态方法调用 vH#^|u  
Ofg-gCF8  
struts.freemarker.manager.classname !(Y23w*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~dK)U*Q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )y:~T\g  
VscEdtkd  
struts.i18n.encoding lH^[b[  
      The encoding to use for localization messages R@r"a&{/  
      国际化信息内码 r#pC0Yj!3  
_`zj^*%  
struts.i18n.reload 6F3#Rxh  
      Whether the localization messages should automatically be reloaded 7=8e|$K_  
      是否国际化信息自动加载 ZWSYh>"  
.Eg>)  
struts.locale LdAfY0  
      The default locale for the Struts application "tbKKh66  
      默认的国际化地区信息 / %U+kW  
a ^b_&}y  
struts.mapper.class Bn/ {J  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class GV([gs  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 amIG9:-1'  
v >71 ?te  
struts.multipart.maxSize @D rMaTr  
      The maximize size of a multipart request (file upload) /E@|  
      multipart请求信息的最大尺寸(文件上传用) $R7n1  
?8n`4yO0  
struts.multipart.parser DxT8;`I%  
      The org.apache.struts2.dispatcher.multipart. gX34'<Z  
      MultiPartRequest parser implementation for a multipart request (file upload) n-{G19?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) p/xxoU  
Nq)=E[$  
n ||/3-HDj  
struts.multipart.saveDir _}7N,Cx   
      The directory to use for storing uploaded files =x~HcsJ8!R  
      设置存储上传文件的目录夹 +)FB[/pXk  
(AdQ6eGMb  
struts.objectFactory Q%(LMq4UG  
      The com.opensymphony.xwork2.ObjectFactory implementation class W^q;=D6uh  
      com.opensymphony.xwork2.ObjectFactory接口(spring) |[?"$g9v  
".eD&oX{  
struts.objectFactory.spring.autoWire Z*QsDS  
      Whether Spring should autoWire or not nJ4i[j8  
      是否自动绑定Spring Qsc%qt-l  
/4]M*ls  
struts.objectFactory.spring.useClassCache QOkPliX  
      Whether Spring should use its class cache or not l =ZhHON  
      是否spring应该使用自身的cache Dm[4`p@IY\  
]w(i,iJ  
struts.objectTypeDeterminer A - G?@U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >v`lsCGb  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |b52JF ",  
`Xnu("w)  
struts.serve.static.browserCache [C)-=.Xx)j  
If static content served by the Struts filter should set browser caching header properties or not Be+vC=\K  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d:6?miMH]t  
g#;w)-Zj  
struts.serve.static E[>4b7{g:  
      Whether the Struts filter should serve static content or not 7%9Sz5z  
      是否struts过滤器应该提供静态内容 :grJ}i-D  
Y0=qn'`.  
struts.tag.altSyntax /z*?:*  
      Whether to use the alterative syntax for the tags or not ,K8O<Mw8  
      是否可以用替代的语法替代tags GH![rK  
b:Dr _|  
struts.ui.templateDir )W~w72j-  
      The directory containing UI templates # &o3[.)9  
      UI templates的目录夹 Q uy5H  
|Z<NM#1  
struts.ui.theme `(?E-~#'  
      The default UI template theme qIa|sV\w0  
      默认的UI template主题 AxUj CerNf  
=u(. Y  
struts.url.http.port ^ S'}RZ*>  
      The HTTP port used by Struts URLs ;GO>#yg4Eh  
      设置http端口 Q d]5e  
;$ =`BI)  
struts.url.https.port Jeyy Z=  
      The HTTPS port used by Struts URLs /+ vl({vV  
      设置https端口 7$+n"Cfm  
'Uew(o  
struts.url.includeParams (CS"s+y1  
      The default includeParams method to generate Struts URLs RX%*:lXi_  
      在url中产生 默认的includeParams !MNUp(:  
w%)=`'s_  
6|t4\'  
struts.velocity.configfile BCk$FM@  
      The Velocity configuration file path iVzv/Lqm1  
      velocity配置文件路径 ;=Jj{FoG%  
r>sk@[4h  
struts.velocity.contexts _) 2fXG!  
      List of Velocity context names l=[<gPE  
      velocity的context列表 =9GL;z:R+  
0Np }O=>  
9`+c<j4/B  
struts.velocity.manager.classname Uwr inkoeE  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0n|op:]BHM  
      org.apache.struts2.views.velocity.VelocityManager接口名 bN@V=C3  
ZkkXITQkPM  
struts.velocity.toolboxlocation @kn0f`  
      The location of the Velocity toolbox 6+A<_r`#Q  
      velocity工具盒的位置 8*I43Jtlf,  
struts.xslt.nocache |AW[4Yn>  
      Whether or not XSLT templates should not be cached P*XLm  
      是否XSLT模版应该被缓存 K_',Gd4L  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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