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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5.#9}]  
cx(F,?SbS  
struts.action.extension CF"3<*%x  
      The URL extension to use to determine if the request is meant for a Struts action 9m4rNvb  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 s= fKAxH  
@&##c6\$  
struts.configuration m!g8@YI  
      The org.apache.struts2.config.Configuration implementation class pNFIO t:(  
        org.apache.struts2.config.Configuration接口名 jt--w"|-r  
-RQQ|:O$  
struts.configuration.files P;L Z!I  
      A list of configuration files automatically loaded by Struts ;i :wY&  
      struts自动加载的一个配置文件列表 Zr;=p"cXr  
Y{|yB  
struts.configuration.xml.reload oJT@'{;*z  
      Whether to reload the XML configuration or not B [ ka@z7  
      是否加载xml配置(true,false) %iC63)(M  
_ n4ma  
struts.continuations.package F@bCm+z-  
      The package containing actions that use Rife continuations K<JP9t6Qd  
      含有actions的完整连续的package名称 |qDfFGYf  
QvN <uxm  
struts.custom.i18n.resources L0  2~FT  
      Location of additional localization properties files to load 7=A9E]:  
      加载附加的国际化属性文件(不包含.properties后缀) {Y%=/ba W  
F|`B2Gr  
struts.custom.properties [#'_@zZz  
      Location of additional configuration properties files to load Qmx~_  
      加载附加的配置文件的位置 >%dAqYi $  
i bs "Iv34  
no6]{qn=6  
struts.devMode jdf)bO(9#  
      Whether Struts is in development mode or not wLe&y4  
      是否为struts开发模式 L6=RD<~C  
D D;+& fe  
struts.dispatcher.parametersWorkaround f+Li'?  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C*e[CP@u  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +STzG /9#  
72vGfT2HtZ  
struts.enable.DynamicMethodInvocation =e-aZ0P  
      Allows one to disable dynamic method invocation from the URL x>" JWD  
        允许动态方法调用 TbAdTmW  
XPo'iI-  
struts.freemarker.manager.classname  .OS?^\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )}\@BtcjA]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )ZyuF(C&  
!>Y\&zA  
struts.i18n.encoding ]mo<qWRc>p  
      The encoding to use for localization messages  Rha3  
      国际化信息内码 !&jgcw/E  
jI<WzvhYG  
struts.i18n.reload |0R%!v(,  
      Whether the localization messages should automatically be reloaded .x?zky^  
      是否国际化信息自动加载 #n)W  
T KL(97)<  
struts.locale [mzF)/[_2  
      The default locale for the Struts application Le:mMd= G  
      默认的国际化地区信息 qq3Qd,$Z  
U]EuDNkO{  
struts.mapper.class O[p^lr(B7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0+y~RTAVB  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  ,bp pM  
<O)X89dFM  
struts.multipart.maxSize u4M2Ec  
      The maximize size of a multipart request (file upload) C{i;spc!bi  
      multipart请求信息的最大尺寸(文件上传用) )r,R!8  
&~A*(+S  
struts.multipart.parser maEpT43f  
      The org.apache.struts2.dispatcher.multipart. +Z~!n  
      MultiPartRequest parser implementation for a multipart request (file upload) `$a gM@"^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) f%[ukMj&  
o ]jP3 $t;  
IetGg{h.  
struts.multipart.saveDir VD&3%G!  
      The directory to use for storing uploaded files ?[1qC=[Z<  
      设置存储上传文件的目录夹 15T[J%7f  
9AddF*B  
struts.objectFactory )'dH}3Ba  
      The com.opensymphony.xwork2.ObjectFactory implementation class R{KIkv  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )^>XZ*eK  
t:s q*d  
struts.objectFactory.spring.autoWire S Ljf<.S  
      Whether Spring should autoWire or not F@'rP++4  
      是否自动绑定Spring  {%~4RZA  
C 3XZD4.2  
struts.objectFactory.spring.useClassCache #Q7x:,f  
      Whether Spring should use its class cache or not !5SQN5K  
      是否spring应该使用自身的cache )Z]y.W)  
6?.pKFB Z  
struts.objectTypeDeterminer u#@{%kPW  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5h=TV  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =<zSF\Zr_  
C"^hMsU8  
struts.serve.static.browserCache X8SRQO^  
If static content served by the Struts filter should set browser caching header properties or not \pD=Lv9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V52C,]qQH  
l8AEEG8>  
struts.serve.static ZIL| .<8I  
      Whether the Struts filter should serve static content or not n$|c{2]=  
      是否struts过滤器应该提供静态内容 zvb} p  
9C)3 b3  
struts.tag.altSyntax /b:t;0G  
      Whether to use the alterative syntax for the tags or not i|]Va44  
      是否可以用替代的语法替代tags =Pb5b6Y@6  
5 -WRv;  
struts.ui.templateDir [aM'  
      The directory containing UI templates Xz .Y-5)  
      UI templates的目录夹 "3i80R\w`F  
11y .z^  
struts.ui.theme 5+/b$mHZX  
      The default UI template theme kAB+28A  
      默认的UI template主题 *xo;pe)9  
'tu@`7*  
struts.url.http.port /sT ^lf=  
      The HTTP port used by Struts URLs cI%"Ynq"3  
      设置http端口 Q6!v3P/h  
6;[/ 9  
struts.url.https.port 1S(\2{Ylo  
      The HTTPS port used by Struts URLs [&pW&>p3  
      设置https端口 9ze|s^  
u|OzW}xb7j  
struts.url.includeParams {pb9UUP2  
      The default includeParams method to generate Struts URLs ~'NpM#A  
      在url中产生 默认的includeParams ^2C /!Y<  
:EmQ_?(^  
;64mf`  
struts.velocity.configfile 4]aiT8))  
      The Velocity configuration file path 0 oj{e9h  
      velocity配置文件路径 ImV]}M~_  
'LbeL1ca  
struts.velocity.contexts 9sU+IT K4  
      List of Velocity context names pgd8`$(Q  
      velocity的context列表 RE>ks[  
%t~SOkx  
b WbXh$  
struts.velocity.manager.classname E<<p_hX8R  
      org.apache.struts2.views.velocity.VelocityManager implementation class lTr*'fX  
      org.apache.struts2.views.velocity.VelocityManager接口名 a\{1UD  
P wB g  
struts.velocity.toolboxlocation _))I.c=v  
      The location of the Velocity toolbox 8@ %mnyQ  
      velocity工具盒的位置 N=T.l*8  
struts.xslt.nocache EY)Gi`lK  
      Whether or not XSLT templates should not be cached hH1lgc  
      是否XSLT模版应该被缓存 EzIs@}  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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