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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ./l^Iz&0  
f\+E&p.  
struts.action.extension &hnI0m=X  
      The URL extension to use to determine if the request is meant for a Struts action @yImR+^.7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 S&JsDPzSd  
! )x2   
struts.configuration Bz+zEXBC  
      The org.apache.struts2.config.Configuration implementation class R"2wop  
        org.apache.struts2.config.Configuration接口名 %$Sm ei  
5|<jPc  
struts.configuration.files ](@HPAG]  
      A list of configuration files automatically loaded by Struts :z-UnC||j  
      struts自动加载的一个配置文件列表 d}:eLC  
<6rc 8jYz  
struts.configuration.xml.reload ' pN[H\Ia  
      Whether to reload the XML configuration or not I5%#A/|z  
      是否加载xml配置(true,false) fFe{oR   
(,`R>Dk  
struts.continuations.package d8!yV~Ka  
      The package containing actions that use Rife continuations QKB*N)%6  
      含有actions的完整连续的package名称 chC= $(5t  
_uf,7R-  
struts.custom.i18n.resources DWwPid} "  
      Location of additional localization properties files to load 'W_u1l/  
      加载附加的国际化属性文件(不包含.properties后缀) fHV%.25  
nDU=B.?E{O  
struts.custom.properties p[^a4E_v  
      Location of additional configuration properties files to load t@vVE{`  
      加载附加的配置文件的位置 ]I^b&N  
I%<LLkQ  
l^k/Y ]  
struts.devMode iwVsq_[]L  
      Whether Struts is in development mode or not FL|\D  
      是否为struts开发模式 MW|*Z{6*  
BB9+d"Sq  
struts.dispatcher.parametersWorkaround ud grZ/w]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \?_M_5Nb  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o)2KQ$b>Q  
C{<H)?]*BF  
struts.enable.DynamicMethodInvocation zg>)Lq|VsT  
      Allows one to disable dynamic method invocation from the URL o|cx?  
        允许动态方法调用 pf8M0,AY  
VFI\2n`  
struts.freemarker.manager.classname h1 npaD!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nRHxbE}::  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 VV+gPC  
xO_u  
struts.i18n.encoding uvMc B9  
      The encoding to use for localization messages ZJf:a}=h  
      国际化信息内码 Z#NEa.]  
sS{!z@\Lf  
struts.i18n.reload M 8NWQ^Y  
      Whether the localization messages should automatically be reloaded 4.e0k<]N`  
      是否国际化信息自动加载 %y|L'C,ge"  
1=L5=uz1d:  
struts.locale MUW&m2  
      The default locale for the Struts application =kP|TR!o-  
      默认的国际化地区信息 KD* xFap  
|>zYUT[V  
struts.mapper.class 80GBkFjV  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M* 0zvNg  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 HT%'dZ1  
OpD%lRl  
struts.multipart.maxSize p#aB0H3  
      The maximize size of a multipart request (file upload) zL!}YR@&u"  
      multipart请求信息的最大尺寸(文件上传用) S&J>15oWM`  
{oftZ Xwf  
struts.multipart.parser RRUv_sff  
      The org.apache.struts2.dispatcher.multipart. }h+{>{2j  
      MultiPartRequest parser implementation for a multipart request (file upload) 7!g"q\s  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K0fuN)C  
snicVzvA  
^61;0   
struts.multipart.saveDir wx*03(|j;  
      The directory to use for storing uploaded files /<VR-yr  
      设置存储上传文件的目录夹  SH6+'7  
5V*R  Dh  
struts.objectFactory hX)PdRk#  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6PyW(i(bs  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3lsfT-|Wt&  
Ay@/{RZz  
struts.objectFactory.spring.autoWire br,xwc  
      Whether Spring should autoWire or not mFrDV,V  
      是否自动绑定Spring `$t|O&z  
po@Agyg5  
struts.objectFactory.spring.useClassCache AL{iQxQ6  
      Whether Spring should use its class cache or not R ~"&E#C  
      是否spring应该使用自身的cache ]4onY >  
1c|{<dFm  
struts.objectTypeDeterminer hS'!JAM>Q  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class pEp$J;   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0.kC|  
^AF~k#R  
struts.serve.static.browserCache 4TRF-f  
If static content served by the Struts filter should set browser caching header properties or not (B0QBDj!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9]%2Yb8SC  
1]a\uq}  
struts.serve.static 1t/mq?z:  
      Whether the Struts filter should serve static content or not q.kDx_  
      是否struts过滤器应该提供静态内容 f=A`{ 8^  
 r m  
struts.tag.altSyntax 0uu)0:  
      Whether to use the alterative syntax for the tags or not VHm.uL_UW  
      是否可以用替代的语法替代tags 3Z}v%=5 "  
(L*<CV  
struts.ui.templateDir j6WDh}#  
      The directory containing UI templates \Mzr[dI  
      UI templates的目录夹 N4l}5(e  
aTwBRm  
struts.ui.theme  ]&OI.p  
      The default UI template theme *?pnTQs^  
      默认的UI template主题 YYhN>d$  
_>J`e7j+  
struts.url.http.port F~sUfqiJ'  
      The HTTP port used by Struts URLs f^)iv ]p  
      设置http端口 JAX`iQd  
=Eb$rc)  
struts.url.https.port ;}H*|"z;!  
      The HTTPS port used by Struts URLs VVbFn9+V  
      设置https端口 V an=dz G  
N~ajrv}kd  
struts.url.includeParams 'Q"Mu  
      The default includeParams method to generate Struts URLs eD|"?@cE  
      在url中产生 默认的includeParams !u;gGgQF  
9-Z ?  
I;9C":'#  
struts.velocity.configfile :JU$ 6  
      The Velocity configuration file path y3':x[d  
      velocity配置文件路径 _jb&=f8  
E/<n"'0ek  
struts.velocity.contexts O^n\lik  
      List of Velocity context names OX7a72z  
      velocity的context列表 WmOu#5*;  
GX=U6n>  
pVM1%n:#  
struts.velocity.manager.classname 7 lSR  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^Y%<$IFG  
      org.apache.struts2.views.velocity.VelocityManager接口名 6_&S ?yA  
"E@A~<RKP  
struts.velocity.toolboxlocation  z31g"  
      The location of the Velocity toolbox nRyx2\Py+  
      velocity工具盒的位置 yeam-8  
struts.xslt.nocache ,Jx.Kj.,  
      Whether or not XSLT templates should not be cached Pk;1q?tGw  
      是否XSLT模版应该被缓存 w"O{@2B3:H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五