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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4@qKML  
3N'fHy  
struts.action.extension yN0!uzdW*  
      The URL extension to use to determine if the request is meant for a Struts action C^o9::ER  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <*g!R!  
:%!}%fkxH  
struts.configuration # !m`A+!~!  
      The org.apache.struts2.config.Configuration implementation class Ag>E%N  
        org.apache.struts2.config.Configuration接口名 rcC}4mNe  
aX oD{zA  
struts.configuration.files ]kN<N0;\d  
      A list of configuration files automatically loaded by Struts W;Rx(o>  
      struts自动加载的一个配置文件列表 /-#1ys#F=  
Lv`*+;1 K  
struts.configuration.xml.reload d,Fj|}S  
      Whether to reload the XML configuration or not woHB![Q,  
      是否加载xml配置(true,false) b.`<T "y  
+@'{  
struts.continuations.package .H M1c  
      The package containing actions that use Rife continuations ,ZpcvK/S  
      含有actions的完整连续的package名称 UN~dzA~V  
`m~x*)L#  
struts.custom.i18n.resources x}g5  
      Location of additional localization properties files to load LDj'L~H  
      加载附加的国际化属性文件(不包含.properties后缀) {*=+g>R gD  
AhZ`hj   
struts.custom.properties LqH<HGMFD  
      Location of additional configuration properties files to load ?P+n0S!  
      加载附加的配置文件的位置 y^rcUPLT  
%:v59:i}  
3'd(=hJ45$  
struts.devMode #Ub"Ii  
      Whether Struts is in development mode or not s`j QX\{  
      是否为struts开发模式 hi{#HXa  
I9! eL4e  
struts.dispatcher.parametersWorkaround 0ssKZ9Lc  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1]yOC)u"i  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) n{>Ge,enP0  
(M1HNIM;(  
struts.enable.DynamicMethodInvocation Q*S|SH-cZ0  
      Allows one to disable dynamic method invocation from the URL ,0'Yj?U>  
        允许动态方法调用 jV(\]g"/=  
nkKiYr  
struts.freemarker.manager.classname bv.DW,l%'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ugtzF  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R W= <EF&  
yI&{8DCCw  
struts.i18n.encoding [m9Pt]j@  
      The encoding to use for localization messages ISQC{K']J  
      国际化信息内码 $/\b`ID  
U($sH9,  
struts.i18n.reload 16iymiLz&  
      Whether the localization messages should automatically be reloaded 'bH',X8gF  
      是否国际化信息自动加载 %X)i-^T  
@/S6P-4  
struts.locale {U$qxC]M  
      The default locale for the Struts application - nWs@\  
      默认的国际化地区信息 [x {S ,?6  
_eB?G  
struts.mapper.class 5^Gv!XW  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Hpo/CY/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 JvA6kw,  
u9WQ0.  
struts.multipart.maxSize `w_?9^7mH  
      The maximize size of a multipart request (file upload) kI|Vv90l  
      multipart请求信息的最大尺寸(文件上传用) tMN^"sjf*  
I91pX<NBf  
struts.multipart.parser $rB20!  
      The org.apache.struts2.dispatcher.multipart. -Cb<T"7  
      MultiPartRequest parser implementation for a multipart request (file upload) 3pxm0|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n-h2SQl!  
O1/U3 /2/d  
X(D$eV  
struts.multipart.saveDir {x{/{{wzv  
      The directory to use for storing uploaded files rm7$i9DH2  
      设置存储上传文件的目录夹 pRsYA7Ti  
xy@1E;  
struts.objectFactory 'xNPy =#  
      The com.opensymphony.xwork2.ObjectFactory implementation class eqt+EiH   
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9/lCW  
+39Vxe:Oy  
struts.objectFactory.spring.autoWire jB8n\8 Bs  
      Whether Spring should autoWire or not a:C'N4K  
      是否自动绑定Spring ;().  
Tct[0B  
struts.objectFactory.spring.useClassCache zw{cli&S  
      Whether Spring should use its class cache or not cD-.thHO  
      是否spring应该使用自身的cache 8^fkY'x  
7m;2M]BRi  
struts.objectTypeDeterminer  } z4=3 '  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )7mX]@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #4(/#K 1j  
qyP|`Pm4  
struts.serve.static.browserCache R jO9E.nm  
If static content served by the Struts filter should set browser caching header properties or not <B]\&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 o0-7#2  
O?uT'$GT  
struts.serve.static Rd5ni2-nve  
      Whether the Struts filter should serve static content or not *_<P% J  
      是否struts过滤器应该提供静态内容 X\SZ Q[gN  
+"Pt?k  
struts.tag.altSyntax - b>"2B?  
      Whether to use the alterative syntax for the tags or not _C9*M6IU  
      是否可以用替代的语法替代tags -Iz&/u*}f  
G| pZ  
struts.ui.templateDir 0N3 cC4!  
      The directory containing UI templates F]~rA! g1  
      UI templates的目录夹 !dfc1UjB  
=z'w-ARy  
struts.ui.theme i^9PiP|U  
      The default UI template theme nu,#y"WQ  
      默认的UI template主题 eqcV70E8cK  
(: IUg   
struts.url.http.port 96aA2s1  
      The HTTP port used by Struts URLs Gx ?p,Fj  
      设置http端口 BM*9d%m^  
.5I!h !  
struts.url.https.port R}F0_.  
      The HTTPS port used by Struts URLs G#/}_P  
      设置https端口 ODK$G [-  
|w2H5f{fR  
struts.url.includeParams vS-k0g;   
      The default includeParams method to generate Struts URLs u-Pa:wm0-  
      在url中产生 默认的includeParams THirh6  
<,d.`0:y  
_[-+%RP  
struts.velocity.configfile mH> oF|  
      The Velocity configuration file path d3h2$EDD  
      velocity配置文件路径 Ev;HV}G  
FL!W oTB  
struts.velocity.contexts F)/}Q[o8  
      List of Velocity context names 5Qhu5~,K  
      velocity的context列表 LRBcW;.Su  
pN/)$6=  
LZm6\x  
struts.velocity.manager.classname !=@Lyt)_b  
      org.apache.struts2.views.velocity.VelocityManager implementation class UKp- *YukT  
      org.apache.struts2.views.velocity.VelocityManager接口名 m "\jEfjO  
T9]|*~ ,T  
struts.velocity.toolboxlocation J& }/Xw)  
      The location of the Velocity toolbox 9^h\vR|]S  
      velocity工具盒的位置 Ei2Y)_   
struts.xslt.nocache j <>|Hi #`  
      Whether or not XSLT templates should not be cached obRR))  
      是否XSLT模版应该被缓存 ~U`oew  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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