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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *{D:1S  
H?/cG_^y0  
struts.action.extension 7]HIE]#  
      The URL extension to use to determine if the request is meant for a Struts action 6Kv}2M')+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "`1of8$X7  
e&a[k  
struts.configuration \SHD  
      The org.apache.struts2.config.Configuration implementation class Spr:K,  
        org.apache.struts2.config.Configuration接口名 exrt|A] _[  
)1tnZ=&  
struts.configuration.files 3K'o&>}L  
      A list of configuration files automatically loaded by Struts me}Gb a  
      struts自动加载的一个配置文件列表 C{I8Pio{b  
,*}g r  
struts.configuration.xml.reload ; HLMU36q  
      Whether to reload the XML configuration or not <J_,9&\J  
      是否加载xml配置(true,false) 77=y!SDP  
C6=;(=?C  
struts.continuations.package 'm p{O  
      The package containing actions that use Rife continuations .5Z@5g`  
      含有actions的完整连续的package名称 3vGaT4TDx  
U*+!w@ .  
struts.custom.i18n.resources |@bNd7=2d  
      Location of additional localization properties files to load Z@aL"@2]a  
      加载附加的国际化属性文件(不包含.properties后缀) RxDxLU2kt  
m LxwJ  
struts.custom.properties r@@eC['  
      Location of additional configuration properties files to load %[ bO\,  
      加载附加的配置文件的位置 }zfLm` vJ  
yOCcp+`T}  
J/&*OC  
struts.devMode pfn#~gC_=  
      Whether Struts is in development mode or not =x.v*W]F`  
      是否为struts开发模式 ([XyW{=h!  
0|+hm^'_  
struts.dispatcher.parametersWorkaround :M?')  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !&:W1Jkp(  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) OXCml(>{  
4;~lpty  
struts.enable.DynamicMethodInvocation 2.L6]^N p(  
      Allows one to disable dynamic method invocation from the URL dgqJ=+z 0y  
        允许动态方法调用 ^9V8M9  
*p5T  
struts.freemarker.manager.classname h'q0eqYeu)  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _R<V8g1f  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 uc(yos  
`::(jW.KO  
struts.i18n.encoding UeiJhH,u   
      The encoding to use for localization messages wbF1>{/"  
      国际化信息内码 DBh/V#* D  
&T/9y W[L  
struts.i18n.reload -0J<R;cVs  
      Whether the localization messages should automatically be reloaded j]F3[gpc  
      是否国际化信息自动加载 E?5B>Jer#  
Q_|S^hx Q  
struts.locale uM!r|X)8  
      The default locale for the Struts application f!kdcr=/"  
      默认的国际化地区信息 iqKfMoy5  
Wes "t}[25  
struts.mapper.class ZYt"=\_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class DBrzw+;e3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 B46H@]d#7K  
DdZ_2B2  
struts.multipart.maxSize Ty`=U>K|  
      The maximize size of a multipart request (file upload) ~322dG  
      multipart请求信息的最大尺寸(文件上传用) i@?<]n  
%B un@  
struts.multipart.parser *wZV*)}  
      The org.apache.struts2.dispatcher.multipart. GN"LU>9|  
      MultiPartRequest parser implementation for a multipart request (file upload) w I 7  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,7nb;$]  
*E q7r>[  
3K] 0sr  
struts.multipart.saveDir WD`{kqc  
      The directory to use for storing uploaded files GM56xZ!2T  
      设置存储上传文件的目录夹  Jy[8,X  
F"? *@L  
struts.objectFactory ?BZ`mrH^  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?U[nYp}"v  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $W]guG  
48*pKbbM4  
struts.objectFactory.spring.autoWire QL!+.y%  
      Whether Spring should autoWire or not ;xC~{O  
      是否自动绑定Spring HQj4h]O#  
/faP]J)  
struts.objectFactory.spring.useClassCache :v ~q  
      Whether Spring should use its class cache or not ~l(tl[  
      是否spring应该使用自身的cache B9Tztg  
\B +SzW  
struts.objectTypeDeterminer `fh_8%m]*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gM[ J'DMW  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 g 5N<B+?!i  
(w  
struts.serve.static.browserCache ,colGth 54  
If static content served by the Struts filter should set browser caching header properties or not KvOI)"0(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f;dU72]q+  
H LGy"P  
struts.serve.static P[K T  
      Whether the Struts filter should serve static content or not tce8*:rNH  
      是否struts过滤器应该提供静态内容 mK/P4]9g  
&jd<rs5}  
struts.tag.altSyntax nM}`H'0  
      Whether to use the alterative syntax for the tags or not $6%;mep  
      是否可以用替代的语法替代tags 9rc n*sm  
^moIMFl  
struts.ui.templateDir Gl:T  
      The directory containing UI templates _jKVA6_E  
      UI templates的目录夹 rZ4<*Zegv  
T1[ZrY'0  
struts.ui.theme >x0lSL0y  
      The default UI template theme 7}85o J  
      默认的UI template主题 ai9,4  
*%+buHe  
struts.url.http.port 3`8xh 9O  
      The HTTP port used by Struts URLs $ !=:ES  
      设置http端口 [<$d@}O  
8uW:_t]q  
struts.url.https.port PX/0  jv  
      The HTTPS port used by Struts URLs ?2>v5p  
      设置https端口 Tz~ ftf  
OEi9 )I  
struts.url.includeParams Qj[O$L0 $  
      The default includeParams method to generate Struts URLs 4'| :SyOm  
      在url中产生 默认的includeParams 5W-M8dc6  
;itg>\ p3  
rmJ847%y`  
struts.velocity.configfile <Wq{ V;$  
      The Velocity configuration file path a$& 6a   
      velocity配置文件路径 o:*iT =l  
ixpG[8s  
struts.velocity.contexts mSeN M  
      List of Velocity context names '~a$f;: Dv  
      velocity的context列表 2 ZXF_ o  
h%e!f#  
IV*$U7~  
struts.velocity.manager.classname b;ZAz  
      org.apache.struts2.views.velocity.VelocityManager implementation class iP_Xr~w  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^<+heX  
^Z+D7Q  
struts.velocity.toolboxlocation >1zzDd_  
      The location of the Velocity toolbox  p$v +L  
      velocity工具盒的位置 z*1K<w8  
struts.xslt.nocache uS,$P34^oy  
      Whether or not XSLT templates should not be cached fdW={}~  
      是否XSLT模版应该被缓存 bd}SB-D  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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