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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tjm@+xs  
Gh'{O/F4*  
struts.action.extension E@="n<uS  
      The URL extension to use to determine if the request is meant for a Struts action '+S!>Lqb  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O,I7M?dRf  
hM(Hq4ed,  
struts.configuration Qcs0w(  
      The org.apache.struts2.config.Configuration implementation class etP`q:6^c  
        org.apache.struts2.config.Configuration接口名 FFF7f5F  
$:DhK  
struts.configuration.files hJ V*  
      A list of configuration files automatically loaded by Struts <jVk}gi)Jp  
      struts自动加载的一个配置文件列表 k1FG$1.  
~BI! l  
struts.configuration.xml.reload < *{(>  
      Whether to reload the XML configuration or not rf&nTDaWI  
      是否加载xml配置(true,false) 90$`AMR  
_NbhWv  
struts.continuations.package dFpP_U  
      The package containing actions that use Rife continuations L w/ZKXDU2  
      含有actions的完整连续的package名称 MS%h`Ypo  
8ax3"G  
struts.custom.i18n.resources 'DH_ihZ  
      Location of additional localization properties files to load nZS*"O#L  
      加载附加的国际化属性文件(不包含.properties后缀) gi\UNT9x  
K9'AYFse  
struts.custom.properties $4TawFf"nc  
      Location of additional configuration properties files to load 2 BwpxV8  
      加载附加的配置文件的位置 v|>'m#Ln2  
jZ69sDhE  
qjvIp-  
struts.devMode v#KE"m  
      Whether Struts is in development mode or not 2) A$bx  
      是否为struts开发模式 SRk-3:  
kI$X~s$r  
struts.dispatcher.parametersWorkaround zB{be_Tw  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic JvLa@E)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :cTwp K  
Dr"F5Wbg  
struts.enable.DynamicMethodInvocation gB#$"mq,  
      Allows one to disable dynamic method invocation from the URL y `w5u.'  
        允许动态方法调用 ;0++):30V  
;,LlOR  
struts.freemarker.manager.classname V6 ,59  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )'?@raB!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u:4?$%rB  
PR1%  
struts.i18n.encoding j,JGs[A  
      The encoding to use for localization messages DcLx [C  
      国际化信息内码 C[(Exe  
uI[lrMQYa  
struts.i18n.reload IqONDdep9  
      Whether the localization messages should automatically be reloaded P!2[#TL0  
      是否国际化信息自动加载 t) ~v5vr  
!7[Rhk7bW  
struts.locale ;tLu  
      The default locale for the Struts application  !.k  
      默认的国际化地区信息 y3C$%yv0  
[mk!] r  
struts.mapper.class 0IjQqI  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "Mmvf'N  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /!0{9F<  
jCbxI^3A  
struts.multipart.maxSize :j,e0#+sA  
      The maximize size of a multipart request (file upload) t%<d}QuHW  
      multipart请求信息的最大尺寸(文件上传用) zc-.W2"Hu  
J;BG/VI1  
struts.multipart.parser e c`3Qw  
      The org.apache.struts2.dispatcher.multipart. G@QZmuj&KH  
      MultiPartRequest parser implementation for a multipart request (file upload) |+i?FYA\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) dmD ':1  
wXsA-H/`  
QFf lx  
struts.multipart.saveDir dPRGL hWF  
      The directory to use for storing uploaded files e[8p/hId  
      设置存储上传文件的目录夹 "^ cn9AG{  
j^~WAWbFh  
struts.objectFactory N5[fw z w  
      The com.opensymphony.xwork2.ObjectFactory implementation class } Pc6_#  
      com.opensymphony.xwork2.ObjectFactory接口(spring) &wZ:$lK#o  
p,9eZUGy  
struts.objectFactory.spring.autoWire  G l*C"V  
      Whether Spring should autoWire or not "I]% aK0  
      是否自动绑定Spring yeNC-U<  
5ff66CRw  
struts.objectFactory.spring.useClassCache # 1,(I  
      Whether Spring should use its class cache or not a4! AvG  
      是否spring应该使用自身的cache 4o2 C=?@(  
x3my8'h@  
struts.objectTypeDeterminer `W[oLQ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]7^YPFc+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ef!V EtEOv  
BY$%gIB6>  
struts.serve.static.browserCache R('44v5JQp  
If static content served by the Struts filter should set browser caching header properties or not PTvP;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |nj%G<  
<H~  (iQ  
struts.serve.static ZUMzWK5Th  
      Whether the Struts filter should serve static content or not T{j&w%(z  
      是否struts过滤器应该提供静态内容 @4b"0ne}h  
#s Ebu^  
struts.tag.altSyntax LE!3'^Zq  
      Whether to use the alterative syntax for the tags or not E-i rB/0  
      是否可以用替代的语法替代tags I=pT fkTT  
{j E}mzi  
struts.ui.templateDir B;':Eaa@  
      The directory containing UI templates R '/Ilz`  
      UI templates的目录夹 E7axINca  
]ba O{pJi  
struts.ui.theme u<\/T&S  
      The default UI template theme #x&1kHu<  
      默认的UI template主题 mi3yiR  
;^FV  
struts.url.http.port pUr.<yc&u  
      The HTTP port used by Struts URLs TP oP%Yj"  
      设置http端口 70m}+R(`  
F,`y_71<  
struts.url.https.port qgU$0enSs  
      The HTTPS port used by Struts URLs o$YL\ <qp  
      设置https端口 3%xj-7z W  
SVaC)O(  
struts.url.includeParams z&d&Ky  
      The default includeParams method to generate Struts URLs ?!~CX`eMZ  
      在url中产生 默认的includeParams z.pP~he  
?E2/ CM  
U)+Yh  
struts.velocity.configfile }} l04kN_  
      The Velocity configuration file path -pc*$oe  
      velocity配置文件路径 BxO8oKe  
i%0Ml:Y  
struts.velocity.contexts y#^d8 }+  
      List of Velocity context names kL,AY-Iu{@  
      velocity的context列表 y%\kgWV  
_Y*]'?g`  
TgVvp0F;  
struts.velocity.manager.classname O%y.  
      org.apache.struts2.views.velocity.VelocityManager implementation class a4L8MgF&$-  
      org.apache.struts2.views.velocity.VelocityManager接口名 W[: n*h  
~(%nnG6x  
struts.velocity.toolboxlocation _bn*B$  
      The location of the Velocity toolbox n_hV;  
      velocity工具盒的位置 W :jC2,s!m  
struts.xslt.nocache uJm9h(xq  
      Whether or not XSLT templates should not be cached x(&o=Pu  
      是否XSLT模版应该被缓存 O!kBp(?]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五