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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 l'm|**  
0(d!w*RpG  
struts.action.extension ]?_~QE`  
      The URL extension to use to determine if the request is meant for a Struts action Up%XBA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 KPy)%i  
N'{Yhx u  
struts.configuration `\:Ede  
      The org.apache.struts2.config.Configuration implementation class W2h*t"5W  
        org.apache.struts2.config.Configuration接口名 t$qIJt$  
x]YzVJ=Y  
struts.configuration.files )j'Qi^;(D  
      A list of configuration files automatically loaded by Struts KiG19R$  
      struts自动加载的一个配置文件列表 Ma\%uEgTD  
(ID%U  
struts.configuration.xml.reload < - sr&  
      Whether to reload the XML configuration or not ]UIN4E  
      是否加载xml配置(true,false) _fgsHx>l7  
fph+ 05.%  
struts.continuations.package uB\UIz)e  
      The package containing actions that use Rife continuations `dF~'  
      含有actions的完整连续的package名称 X)(K|[  
|63uoRr  
struts.custom.i18n.resources %gn@B2z  
      Location of additional localization properties files to load #Qg)4[pMJ  
      加载附加的国际化属性文件(不包含.properties后缀) i+QVs_jW  
U`N?<zm<oO  
struts.custom.properties >~7XBb08  
      Location of additional configuration properties files to load mGg/F&G9  
      加载附加的配置文件的位置 4T52vM  
=KO]w9+\  
U*N{H$ACuR  
struts.devMode oGZuYpa9  
      Whether Struts is in development mode or not ~%tVb c  
      是否为struts开发模式 0 -M i q  
)6"p@1\u  
struts.dispatcher.parametersWorkaround _&G_SNa  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N:'GNMu  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &B :L9^  
F@z%y'5 Z*  
struts.enable.DynamicMethodInvocation NG\'Ii:-J  
      Allows one to disable dynamic method invocation from the URL z+M{z r  
        允许动态方法调用 vnf2Z,f%  
3J8>r|u;1'  
struts.freemarker.manager.classname xIc||o$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Q6 o1^s  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]) v61B  
C_ ;nlG6  
struts.i18n.encoding V]]!0ugvk(  
      The encoding to use for localization messages O.Te"=^"F  
      国际化信息内码 *\+oe+3  
V_^pPBa  
struts.i18n.reload ZLVgK@l  
      Whether the localization messages should automatically be reloaded [Djx@x  
      是否国际化信息自动加载 Q|VBH5}1O  
$B9?>a|{A  
struts.locale PGZe'r1E9  
      The default locale for the Struts application st.{AEv@  
      默认的国际化地区信息 [# X} (  
U7fNA7#x"  
struts.mapper.class 1f"}]MbLR  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lpB:lRM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 m'G=WO*%  
:|&6x!  
struts.multipart.maxSize E@Ewx;P5  
      The maximize size of a multipart request (file upload) `6YN/"unfp  
      multipart请求信息的最大尺寸(文件上传用) < )_#6)z:  
03iy[~Y2  
struts.multipart.parser a3:45[SO4e  
      The org.apache.struts2.dispatcher.multipart. yI!W658$6  
      MultiPartRequest parser implementation for a multipart request (file upload) p_zVrlVb  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) S<*1b 6%D  
",5=LW&,  
qauvwAMuX  
struts.multipart.saveDir .'l3NV^{  
      The directory to use for storing uploaded files Xrc{w Dn  
      设置存储上传文件的目录夹 1Qjc*+JzO.  
{~#01p5  
struts.objectFactory "WPWMQ+  
      The com.opensymphony.xwork2.ObjectFactory implementation class BHkicb?   
      com.opensymphony.xwork2.ObjectFactory接口(spring) <)J@7@!P  
gH"a MEC  
struts.objectFactory.spring.autoWire _S* QIbO  
      Whether Spring should autoWire or not *y+K{ fM1  
      是否自动绑定Spring %rl<%%T#.M  
RN&8dsreZp  
struts.objectFactory.spring.useClassCache bx7hQzoX=b  
      Whether Spring should use its class cache or not *uxKI:rB:  
      是否spring应该使用自身的cache $fPiR  
>*|Eyv_  
struts.objectTypeDeterminer iP9Dr<P  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |llmq'Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a@ ? Bv  
h9nh9a(2  
struts.serve.static.browserCache Sl \EPKZD  
If static content served by the Struts filter should set browser caching header properties or not jC-`u-_'j  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i4SWFa``  
F"tM?V.|  
struts.serve.static {=Py|N \\t  
      Whether the Struts filter should serve static content or not "`pg+t&  
      是否struts过滤器应该提供静态内容 mndEB!b  
e&m TaCLG  
struts.tag.altSyntax CWD $\K G  
      Whether to use the alterative syntax for the tags or not :19s=0  
      是否可以用替代的语法替代tags F=UW[zy/[  
lZ,$lZg9Z  
struts.ui.templateDir u b@'(*  
      The directory containing UI templates 6iEA._y  
      UI templates的目录夹 On+0@hh  
@3I?T Q1  
struts.ui.theme /sSif0I24  
      The default UI template theme (d[JMO^@8  
      默认的UI template主题 B+'w'e$6  
OJ7y  
struts.url.http.port UwDoueXs  
      The HTTP port used by Struts URLs Y~OyoNu2  
      设置http端口 D6P/39}W  
oTpoh]|[  
struts.url.https.port r6+IJxUd  
      The HTTPS port used by Struts URLs ;s-fYS6(>{  
      设置https端口 <@v|~ AO4~  
oIKuo~  
struts.url.includeParams ]mi)x6 3^  
      The default includeParams method to generate Struts URLs L%.=Sb mS  
      在url中产生 默认的includeParams w`Rt"d_B  
R1:7]z0B  
x=1Sbs w{  
struts.velocity.configfile 7$:Jea  
      The Velocity configuration file path 8w3Wy<}y  
      velocity配置文件路径 ~A>-tn}O  
.zdmUS :  
struts.velocity.contexts 35SL*zS@-  
      List of Velocity context names p"NuR4   
      velocity的context列表 3>^S6h}o  
.wuRT>4G)G  
w8-L2)Q}I  
struts.velocity.manager.classname v/G^yZa  
      org.apache.struts2.views.velocity.VelocityManager implementation class A) TO<dl  
      org.apache.struts2.views.velocity.VelocityManager接口名 &_Gu'A({J  
G*^4 CJ  
struts.velocity.toolboxlocation MAG /7T5  
      The location of the Velocity toolbox 7FP @ vng  
      velocity工具盒的位置 O}[){*GG=  
struts.xslt.nocache yc@ :*Z  
      Whether or not XSLT templates should not be cached o){<PN|z  
      是否XSLT模版应该被缓存  W o$UV  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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