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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Fhn=}7|4q  
&m6x*i-5\f  
struts.action.extension 75V?K  
      The URL extension to use to determine if the request is meant for a Struts action >9.xFiq<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fscAG\>8  
5/O;&[lYy  
struts.configuration ?X.MKNbp  
      The org.apache.struts2.config.Configuration implementation class bvM a|;f1  
        org.apache.struts2.config.Configuration接口名 3:h9cO/9  
Ge>%?\  
struts.configuration.files B|Rnh;B-  
      A list of configuration files automatically loaded by Struts 2I#4jy/g  
      struts自动加载的一个配置文件列表 ]jz%])SzH  
[1Yx#t  
struts.configuration.xml.reload 9s-op:5  
      Whether to reload the XML configuration or not o0p%j4vac  
      是否加载xml配置(true,false) *kXSl73 k  
A qKl}8  
struts.continuations.package q1Si*?2W  
      The package containing actions that use Rife continuations 'V5^D<1P  
      含有actions的完整连续的package名称 MhNDf[W>  
=;/4j'1}9  
struts.custom.i18n.resources ,xew3c'(W  
      Location of additional localization properties files to load "3*Chc  
      加载附加的国际化属性文件(不包含.properties后缀) y4HOKJxI  
Xp=Y<`dX  
struts.custom.properties :A,V<Es}I"  
      Location of additional configuration properties files to load (c<Krc h  
      加载附加的配置文件的位置 2@ >04]  
T7AFL=  
-T4{PM  
struts.devMode #cBt@SEL'  
      Whether Struts is in development mode or not -BNlZgk-^  
      是否为struts开发模式 V6,D~7  
y#AwuC K  
struts.dispatcher.parametersWorkaround o?f7_8fG  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic aPq9^S*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ai(<"|(  
U/2g N H  
struts.enable.DynamicMethodInvocation ]Ph~-O  
      Allows one to disable dynamic method invocation from the URL eiJO;%fl>l  
        允许动态方法调用 U-ILzK  
Oph4&Ip[w  
struts.freemarker.manager.classname p1Q[c0NMK  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nBd!296  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u, %mVd  
%($qg-x  
struts.i18n.encoding . F0V  
      The encoding to use for localization messages *Rv eR?kO  
      国际化信息内码 n<p`OKIV3  
:>$)Snqo=n  
struts.i18n.reload kSH3)CC P  
      Whether the localization messages should automatically be reloaded b'^OW  
      是否国际化信息自动加载 ${#5$U+kI  
^j?\_r'j  
struts.locale }ZEh^zdz8  
      The default locale for the Struts application q!k  F  
      默认的国际化地区信息 M#JOX/  
SzR0Mu3uK  
struts.mapper.class [IVT0 i  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Sq&*K9:z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 H(ht{.sjI  
)EYsqj  
struts.multipart.maxSize (XJehdB0  
      The maximize size of a multipart request (file upload) I?v)>| |Q  
      multipart请求信息的最大尺寸(文件上传用) XnQd(B`M  
Bo?uwi  
struts.multipart.parser CJ_X:Frj)  
      The org.apache.struts2.dispatcher.multipart. ~4[2{M.0>@  
      MultiPartRequest parser implementation for a multipart request (file upload) v.)'b e*u  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) mD:d,,~  
:4h4vp<  
R0;c'W)  
struts.multipart.saveDir Wxg,y{(`  
      The directory to use for storing uploaded files Eo\# *Cv*  
      设置存储上传文件的目录夹 xDu11W+g  
f)q\RJA)X  
struts.objectFactory ^Ois]#py  
      The com.opensymphony.xwork2.ObjectFactory implementation class EH"iK2n\9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) pv TV*  
#lQbMuR  
struts.objectFactory.spring.autoWire }$V]00 X  
      Whether Spring should autoWire or not 5j`"@C5;O  
      是否自动绑定Spring Phl't~k  
k0?4vA  
struts.objectFactory.spring.useClassCache _Kx  /z  
      Whether Spring should use its class cache or not S(5.y%"<  
      是否spring应该使用自身的cache 0/<}.Z]  
[kzcsJ'/e  
struts.objectTypeDeterminer $nQ; ++  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class StWDNAf)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  M}}9  
3O<<XXar  
struts.serve.static.browserCache {o7ibw=E)  
If static content served by the Struts filter should set browser caching header properties or not h[3N/yP  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =/J4(#Xb  
z.eqOPW  
struts.serve.static +DM+@F  
      Whether the Struts filter should serve static content or not AqvRzi(Y  
      是否struts过滤器应该提供静态内容 ?V#%^ 57p  
bK; -Xcm  
struts.tag.altSyntax &Z5$ 5,[  
      Whether to use the alterative syntax for the tags or not 0G9@A8LU  
      是否可以用替代的语法替代tags (`4^|_gw  
e%N\Pshgv  
struts.ui.templateDir + H_Jr'/  
      The directory containing UI templates 6}IOUWLB@  
      UI templates的目录夹 &qFdP'E;$  
kjN9(&D  
struts.ui.theme ExI?UGT  
      The default UI template theme 3j0/&ON  
      默认的UI template主题 JGf6*D"O  
8nQlmWpJ  
struts.url.http.port WDKj)f9cy  
      The HTTP port used by Struts URLs e}f!zA  
      设置http端口 eg) =^b  
6-gxba  
struts.url.https.port 79uL"N;  
      The HTTPS port used by Struts URLs hT^6Ifm  
      设置https端口 .%3bXK+F  
mT5d[lz  
struts.url.includeParams I1kx3CwJ{P  
      The default includeParams method to generate Struts URLs J @"wJEF  
      在url中产生 默认的includeParams d7^:z%Eb|  
W+a>*#*  
P$.Azrl  
struts.velocity.configfile $2 Ox;+  
      The Velocity configuration file path wsP3hE' ]  
      velocity配置文件路径 BkA>':bUr  
Uk-^n~y  
struts.velocity.contexts jN 5Hku[?  
      List of Velocity context names gnNMuqt  
      velocity的context列表 V8NNIS  
Vfp{7I$#6"  
u7fae$:&  
struts.velocity.manager.classname Mc~(S$FU$  
      org.apache.struts2.views.velocity.VelocityManager implementation class A2uSH@4  
      org.apache.struts2.views.velocity.VelocityManager接口名 XV)ej>A-V  
l+ bP48  
struts.velocity.toolboxlocation Hy|$7]1  
      The location of the Velocity toolbox 4eYj.=I  
      velocity工具盒的位置 R8Lp8!F'  
struts.xslt.nocache iYHD:cg)~  
      Whether or not XSLT templates should not be cached HV&N(;@  
      是否XSLT模版应该被缓存 k x6%5%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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