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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 pMquu&Td  
]T51;j'48  
struts.action.extension $McO'Bye{h  
      The URL extension to use to determine if the request is meant for a Struts action 'i(p@m<'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5qr!OEF2  
1ZL_;k  
struts.configuration fv_wK_. %:  
      The org.apache.struts2.config.Configuration implementation class GiZ'IDV  
        org.apache.struts2.config.Configuration接口名 !p&'so^-W  
"<2b jy  
struts.configuration.files {T.Vu]L80  
      A list of configuration files automatically loaded by Struts ->hxHr`!%a  
      struts自动加载的一个配置文件列表 m6x. "jG  
Yy)a,clZ*$  
struts.configuration.xml.reload `_'Dj>  
      Whether to reload the XML configuration or not 3kQ^f=Wd  
      是否加载xml配置(true,false) >slN:dr0:  
(RmED\.]4  
struts.continuations.package :(b3)K  
      The package containing actions that use Rife continuations 4:@|q:DR  
      含有actions的完整连续的package名称 "r V4[MVxt  
0w['jh|,  
struts.custom.i18n.resources z= p  
      Location of additional localization properties files to load 4LjSDgA  
      加载附加的国际化属性文件(不包含.properties后缀) oPy zk7{  
]R{"=H'  
struts.custom.properties \Ep/'Tj&  
      Location of additional configuration properties files to load fE*I+pe  
      加载附加的配置文件的位置 | q16%6q  
\z`d}\3( R  
b(q&}60  
struts.devMode mG~y8nUtp  
      Whether Struts is in development mode or not qE72(#:R*  
      是否为struts开发模式 -HsBV>C  
t4k'9Y:\Q  
struts.dispatcher.parametersWorkaround iFCH$!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic I|IlFu?O=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (A'q@-XQ  
<e&QTyb  
struts.enable.DynamicMethodInvocation aTh%oBrtP  
      Allows one to disable dynamic method invocation from the URL s~$4bN>LD  
        允许动态方法调用 (YJ AT  
#=H}6!18  
struts.freemarker.manager.classname JX)z<Dz$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Cj1UD;  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 B ^(rUR  
$l;tP  
struts.i18n.encoding ,A!e"=HF  
      The encoding to use for localization messages b<(UmRxx3  
      国际化信息内码 % B &?D@  
I*t)x,~3  
struts.i18n.reload _*$B|%k   
      Whether the localization messages should automatically be reloaded ba9<(0`  
      是否国际化信息自动加载 1ysLZ;K  
gqD^Bs'VF  
struts.locale JGDUCb~  
      The default locale for the Struts application m90R8  V  
      默认的国际化地区信息 .XKvk(9  
PBs<8xBx^  
struts.mapper.class g**% J Xo  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *z"1MU  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 e6i./bf3  
y}-S~Ov>I  
struts.multipart.maxSize '>|*j"jv-  
      The maximize size of a multipart request (file upload) Kc[u} .U  
      multipart请求信息的最大尺寸(文件上传用) ).!14Gjo  
@ KPv&UB  
struts.multipart.parser e~s7ggg2k  
      The org.apache.struts2.dispatcher.multipart. '+I 2$xE  
      MultiPartRequest parser implementation for a multipart request (file upload) K}=8:BaUL  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) UVCMB_T  
01c/;B  
X_({};mz  
struts.multipart.saveDir Wx|6A#cg!  
      The directory to use for storing uploaded files <oaBh)=7  
      设置存储上传文件的目录夹 } o"_#\6  
 .02(O  
struts.objectFactory =@KYA(D  
      The com.opensymphony.xwork2.ObjectFactory implementation class FJ%R3N\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?3TK7]1V:  
(bFWT_CChz  
struts.objectFactory.spring.autoWire i)=89?8  
      Whether Spring should autoWire or not 7x7r!rSe,  
      是否自动绑定Spring _{`'{u  
lzy$.H"W  
struts.objectFactory.spring.useClassCache DET!br'z5  
      Whether Spring should use its class cache or not VtzmY  
      是否spring应该使用自身的cache !+45=d 5  
YNJpQAuSn)  
struts.objectTypeDeterminer YTjuSV  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class CAFE} |  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 aHPSnB&  
'oiD#\t4  
struts.serve.static.browserCache ,6orB}w?z  
If static content served by the Struts filter should set browser caching header properties or not LB*#  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~2A$R'xb  
V0'p1J tD  
struts.serve.static .FbZVYc]  
      Whether the Struts filter should serve static content or not 8X ?GY8W:  
      是否struts过滤器应该提供静态内容 KYRm Ui#  
,Z*3,/a  
struts.tag.altSyntax @2~O^5[>  
      Whether to use the alterative syntax for the tags or not -m'3L7:  
      是否可以用替代的语法替代tags }M9DqZ;I  
Nzi/3r7m  
struts.ui.templateDir R3{*v =ov  
      The directory containing UI templates [mB(GL  
      UI templates的目录夹 rxgVT4  
tY$ty0y-e  
struts.ui.theme X |1_0  
      The default UI template theme Xk&F4BJQk<  
      默认的UI template主题 /romTK4  
jRdhLs,M9  
struts.url.http.port i9@;,4f  
      The HTTP port used by Struts URLs b?2X>QJ  
      设置http端口 {c\oOM<7  
]~ #+ b>  
struts.url.https.port sPE)m_u  
      The HTTPS port used by Struts URLs emkMR{MY  
      设置https端口 bDZKQ&  
D=82$$  
struts.url.includeParams Rd vPsv} D  
      The default includeParams method to generate Struts URLs \+?,c\x  
      在url中产生 默认的includeParams S1az3VJI\  
8MeO U  
.i3lG( YG  
struts.velocity.configfile -l40)^ E}  
      The Velocity configuration file path dp UdFuU"  
      velocity配置文件路径 pRiH,:\  
Xv-1PY':pA  
struts.velocity.contexts  UE&C  
      List of Velocity context names v`_i1h9p{  
      velocity的context列表 .e FOfV)  
iFwyh`Bcg  
YM`:L  
struts.velocity.manager.classname vNK`Y|u@  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5v !DYx  
      org.apache.struts2.views.velocity.VelocityManager接口名 w$b+R8.n)  
ER;lkF`RF  
struts.velocity.toolboxlocation qr'x0r|<>  
      The location of the Velocity toolbox BDm88< ]  
      velocity工具盒的位置 ;o_V!< $  
struts.xslt.nocache gI^L 9jE7  
      Whether or not XSLT templates should not be cached n{.*El>{  
      是否XSLT模版应该被缓存 W? "2;](  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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