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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2ZH+fV?.  
0c_xPBbB+  
struts.action.extension 5of3&  
      The URL extension to use to determine if the request is meant for a Struts action ]BQYVx/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 t>"%exdoZ  
vdQoJWuB  
struts.configuration lW bu`y  
      The org.apache.struts2.config.Configuration implementation class WzMYRKZ  
        org.apache.struts2.config.Configuration接口名 6Rd4waj_,U  
G)3I+uxn  
struts.configuration.files +2tQ FV;  
      A list of configuration files automatically loaded by Struts hy;VvAH 5  
      struts自动加载的一个配置文件列表 oFY!NMq}:  
CSk]c9=  
struts.configuration.xml.reload k3\N.@\  
      Whether to reload the XML configuration or not R[WiW RfD  
      是否加载xml配置(true,false) 95DEuReKi  
BHXi g~d  
struts.continuations.package ?b7\m":'  
      The package containing actions that use Rife continuations ngY%T5-  
      含有actions的完整连续的package名称 IThd\#=  
?RRO  
struts.custom.i18n.resources 9KSi-2?H  
      Location of additional localization properties files to load 0mw1CUx9K  
      加载附加的国际化属性文件(不包含.properties后缀) WJ7|0qb  
Bd>~F7VWs  
struts.custom.properties {(73*-~$  
      Location of additional configuration properties files to load KKeMi@N  
      加载附加的配置文件的位置 \P\Z<z7jy  
qnm_#!&uHT  
rIb+c=|F  
struts.devMode 8hRcB[F~S  
      Whether Struts is in development mode or not W,q @ww u  
      是否为struts开发模式 b@:OlZ~ %  
w~'xZ?  
struts.dispatcher.parametersWorkaround `:/'")+@v  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^l &lwSRVt  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %p Wn9  
.nV2 n@SR  
struts.enable.DynamicMethodInvocation GAGS-G#  
      Allows one to disable dynamic method invocation from the URL [^H2'&]  
        允许动态方法调用 {C1crp>q  
j!;LN)s@?  
struts.freemarker.manager.classname !(s n9z#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E&[5b4D@<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  0^;2  
D0. )%  
struts.i18n.encoding _ _Of0<  
      The encoding to use for localization messages +z >)'#  
      国际化信息内码 bMH~vR  
A q i:h]x  
struts.i18n.reload ?vXgHDs^T  
      Whether the localization messages should automatically be reloaded &$"#hGg  
      是否国际化信息自动加载 Lx"GBEkt7  
cx}Yu8  
struts.locale A=|XlP$6  
      The default locale for the Struts application P8 X07IK  
      默认的国际化地区信息 i,Ct AbMx  
'C+cQLig@  
struts.mapper.class &(F c .3m  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V>6klA}o  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <O#&D|EMd|  
bQ< qdGa  
struts.multipart.maxSize vEv kC  
      The maximize size of a multipart request (file upload) ;\MWxh,K  
      multipart请求信息的最大尺寸(文件上传用) /Vlc8G  
w,{h9f  
struts.multipart.parser I16FVdUun4  
      The org.apache.struts2.dispatcher.multipart. Xr*I`BJ  
      MultiPartRequest parser implementation for a multipart request (file upload) ^z,3#gK  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) wmVmGa R  
rxCzPF  
hA=uoe\  
struts.multipart.saveDir RQ+,7Ir  
      The directory to use for storing uploaded files (qn=BP I  
      设置存储上传文件的目录夹 o |$D|E  
)&Ii! tm3  
struts.objectFactory ^:9a1{L[  
      The com.opensymphony.xwork2.ObjectFactory implementation class E^8|xT'h6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) w[~G^x&  
p1N}2]e  
struts.objectFactory.spring.autoWire Q_mphW:[  
      Whether Spring should autoWire or not >hunV'vu'  
      是否自动绑定Spring g_>&R58  
fk*(8@u>  
struts.objectFactory.spring.useClassCache MU<(O}  
      Whether Spring should use its class cache or not x}G:n[B7_V  
      是否spring应该使用自身的cache hBgE%#`s  
h nydH-;cz  
struts.objectTypeDeterminer HoI6(t  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class AXyXK??  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6St=r)_  
)~2\4t4|g  
struts.serve.static.browserCache VcjbRpTy&  
If static content served by the Struts filter should set browser caching header properties or not ]n^iG7aB?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |)x7qy`  
^eW<-n@^  
struts.serve.static }#z1>y!#  
      Whether the Struts filter should serve static content or not q,v<:sS9T  
      是否struts过滤器应该提供静态内容 3%v)!dTa<^  
7QO/; zL  
struts.tag.altSyntax --h\tj\U  
      Whether to use the alterative syntax for the tags or not ]b- 2:M  
      是否可以用替代的语法替代tags 3Z*r#d$nh:  
U`v2Yw3E  
struts.ui.templateDir 7q0_lEh  
      The directory containing UI templates p fc6;K:d  
      UI templates的目录夹 :a wt7lqv  
=D<0&M9C  
struts.ui.theme NcA `E_3  
      The default UI template theme Emlj,c<?j  
      默认的UI template主题 %=**cvVy  
o78u>Oy  
struts.url.http.port c^}G=Z1@  
      The HTTP port used by Struts URLs Ejug2q  
      设置http端口 (p]FI#y  
"i&)+dr-  
struts.url.https.port  "'4  
      The HTTPS port used by Struts URLs R"ON5,E  
      设置https端口 w>W#cTt  
AVT % AS  
struts.url.includeParams zx@!8Z  
      The default includeParams method to generate Struts URLs !h? HfpYv  
      在url中产生 默认的includeParams EP:`l  
G'|ql5Zw  
*aErwGLB8  
struts.velocity.configfile h'y"`k -  
      The Velocity configuration file path 6_mi9_w  
      velocity配置文件路径 K0w}l" )A  
wFMH\a  
struts.velocity.contexts ; Y/nS  
      List of Velocity context names - 2)k!5X=  
      velocity的context列表 f' A$':Y  
!MoAga_ j  
\$9C1@B@  
struts.velocity.manager.classname Q/o,2R  
      org.apache.struts2.views.velocity.VelocityManager implementation class gvP-doA7W  
      org.apache.struts2.views.velocity.VelocityManager接口名 2u.0AG   
@$ 7 GrT  
struts.velocity.toolboxlocation y._'o7%  
      The location of the Velocity toolbox .x I Aep_  
      velocity工具盒的位置 4cQP+n  
struts.xslt.nocache b<FE   
      Whether or not XSLT templates should not be cached LR=Ji7  
      是否XSLT模版应该被缓存 l~Jd>9DwY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五