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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 D>9~JHB  
7a_pO1MBL  
struts.action.extension |;2Y|>=  
      The URL extension to use to determine if the request is meant for a Struts action $mvcqn;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]]lgCac_U9  
2Y_ `&  
struts.configuration @xKLRw  
      The org.apache.struts2.config.Configuration implementation class OU;R;=/]  
        org.apache.struts2.config.Configuration接口名 >$,A [|R  
&V7@ TZ  
struts.configuration.files .'o<.\R8  
      A list of configuration files automatically loaded by Struts &V5[Zj|]  
      struts自动加载的一个配置文件列表 f}q4~NPn-  
,]?Xf >  
struts.configuration.xml.reload =[%ge{,t  
      Whether to reload the XML configuration or not :USN`"  
      是否加载xml配置(true,false) *Dr-{\9  
3V:{_~~  
struts.continuations.package 44 bTx y  
      The package containing actions that use Rife continuations j .Ro(0%  
      含有actions的完整连续的package名称 %VG;vW\V  
d (Ufj|;  
struts.custom.i18n.resources Y1a[HF^-  
      Location of additional localization properties files to load ,bT|:T@ny  
      加载附加的国际化属性文件(不包含.properties后缀) M,]C(f>  
nU]n]gd  
struts.custom.properties B6)d2O9C  
      Location of additional configuration properties files to load D Q7+  
      加载附加的配置文件的位置 =}N&c4I[j  
G t 4| ]  
fE"Q:K6r2  
struts.devMode N9LBji;nH  
      Whether Struts is in development mode or not j-wSsjLk  
      是否为struts开发模式 ^'EeJN  
,"?h _NbF  
struts.dispatcher.parametersWorkaround ?>b>LDpx?  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ed[ tmaEuV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q!DH8'|4?L  
rU?sUm,ch  
struts.enable.DynamicMethodInvocation g_lj/u]P  
      Allows one to disable dynamic method invocation from the URL "?Dov/+Q.  
        允许动态方法调用 .kpL?_  
l`9<mL  
struts.freemarker.manager.classname SS?^-BI  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class VW^6qf/,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ConXP\M-  
y,{=*2Yt  
struts.i18n.encoding ]v=*WK  
      The encoding to use for localization messages  X._skq  
      国际化信息内码 0$)CWah  
2e_ssBbb  
struts.i18n.reload WP)r5;Hv`  
      Whether the localization messages should automatically be reloaded D BDHe-1[+  
      是否国际化信息自动加载 &YQ  
40TS=evG  
struts.locale Pw`26mB   
      The default locale for the Struts application O@;;GJ  
      默认的国际化地区信息 ,ra!O=d~0  
S a5+_TW  
struts.mapper.class 4yhan/zA  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^LfN6{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 O~t]:p9_  
4]L5%=atn  
struts.multipart.maxSize N@D]Q&;+(T  
      The maximize size of a multipart request (file upload) d-e6hI4b  
      multipart请求信息的最大尺寸(文件上传用) b-pZrnZ!  
'6l4MR$j&m  
struts.multipart.parser R=uzm=&nR  
      The org.apache.struts2.dispatcher.multipart. $4K( AEt[  
      MultiPartRequest parser implementation for a multipart request (file upload) /Q h  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) C9^[A4O@X!  
b~;gj^  
[RtTi<F^  
struts.multipart.saveDir h2kb a6rwk  
      The directory to use for storing uploaded files ovv<7`  
      设置存储上传文件的目录夹 h LYy  
9>gxJ7pY  
struts.objectFactory #CKPNk c  
      The com.opensymphony.xwork2.ObjectFactory implementation class qYD$_a  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }Rujh4*  
z~[:@mGl  
struts.objectFactory.spring.autoWire yV=Ku  
      Whether Spring should autoWire or not e>yPFXSk  
      是否自动绑定Spring 5,/rh,?  
3m RP.<=  
struts.objectFactory.spring.useClassCache I'&#pOB  
      Whether Spring should use its class cache or not 7.7aHt0  
      是否spring应该使用自身的cache ~>C@n'\lv  
VyQ@. Lm  
struts.objectTypeDeterminer H CKD0xx  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;Du+C%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ? yL3XB>  
T(LqR?xOo  
struts.serve.static.browserCache 0 p  6  
If static content served by the Struts filter should set browser caching header properties or not t%@sz  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a=(D`lQ8  
,;3#}OGg  
struts.serve.static }yQ&[Mt  
      Whether the Struts filter should serve static content or not P2y`d9,Q  
      是否struts过滤器应该提供静态内容 Yj%hgb:)  
DK' ? '  
struts.tag.altSyntax ?:@13wm  
      Whether to use the alterative syntax for the tags or not |wF_CZ*1  
      是否可以用替代的语法替代tags q-7C7q  
P2HR4`c  
struts.ui.templateDir ;U7o)A;  
      The directory containing UI templates 9a\H+Y~  
      UI templates的目录夹 Ziclw)   
Swugt"`nN  
struts.ui.theme f uzz3#  
      The default UI template theme m]C|8b7Y  
      默认的UI template主题 OIi8x? .~]  
bv %Bo4s  
struts.url.http.port X`/3X}<$7  
      The HTTP port used by Struts URLs [bE-Uu7q5P  
      设置http端口 ;#'YO1`gf3  
L`sg60z  
struts.url.https.port #cHH<09 rl  
      The HTTPS port used by Struts URLs 9o)sSaTx=  
      设置https端口 @Z0?1+k  
Q7<%_a  
struts.url.includeParams ;E,^bt<U  
      The default includeParams method to generate Struts URLs G$#Q:]N  
      在url中产生 默认的includeParams 2x PkQOj3  
_=%F6}TE  
Eb 8vnB#  
struts.velocity.configfile s &4k  
      The Velocity configuration file path ?= G+L0t  
      velocity配置文件路径 ie<zc+*rW  
tX'`4!{@+  
struts.velocity.contexts a1^CpeG~  
      List of Velocity context names 4XL$I*;4  
      velocity的context列表 zL8Z8eh">  
G =`-w  
k2bjBAT  
struts.velocity.manager.classname O|Sbe%[*wW  
      org.apache.struts2.views.velocity.VelocityManager implementation class KGM9 b  
      org.apache.struts2.views.velocity.VelocityManager接口名 VT>TmfN(I  
+0,'B5 (E  
struts.velocity.toolboxlocation UCu0Xqf  
      The location of the Velocity toolbox '3%JhG)#  
      velocity工具盒的位置 8'K~+L=}  
struts.xslt.nocache u^6@!M  
      Whether or not XSLT templates should not be cached Q#kSp8  
      是否XSLT模版应该被缓存 }j+Af["W?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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