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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 J)Dw`=O0n  
J\b,rOIf  
struts.action.extension 3M8P%  
      The URL extension to use to determine if the request is meant for a Struts action )5_GJm&R9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ndT:,"s  
Wxkk^J9F3  
struts.configuration d*khda;Vj  
      The org.apache.struts2.config.Configuration implementation class ;Jr6  
        org.apache.struts2.config.Configuration接口名 d{0b*l%  
]|<PV5SY3.  
struts.configuration.files f/H rO6~k%  
      A list of configuration files automatically loaded by Struts c!T^JZBb  
      struts自动加载的一个配置文件列表 aj51%wKMb:  
M7/P&d  
struts.configuration.xml.reload FVMR9~&+  
      Whether to reload the XML configuration or not N5#qox$D  
      是否加载xml配置(true,false) p<Wb^BE  
"B*a| 'n!  
struts.continuations.package kV!0cLH!hH  
      The package containing actions that use Rife continuations I: U/%cr,  
      含有actions的完整连续的package名称 5)' _3r  
54WM*FZ  
struts.custom.i18n.resources V^QKn+/  
      Location of additional localization properties files to load xyj)W  
      加载附加的国际化属性文件(不包含.properties后缀) N(vzxx^  
EXH{3E54)`  
struts.custom.properties ?{?mAb c  
      Location of additional configuration properties files to load U8]L3&~  
      加载附加的配置文件的位置 9vWKyzMi  
q#LwM]<.@>  
t1b$,jHmKl  
struts.devMode fO[X<|9  
      Whether Struts is in development mode or not #x1AZwC  
      是否为struts开发模式 0bQaXxt|p  
gn1`ZYg  
struts.dispatcher.parametersWorkaround 0 lXV+lj  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D%(9ot{!e  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) '!Ps4ZTn_  
tPPnW  
struts.enable.DynamicMethodInvocation Iwi>yx8  
      Allows one to disable dynamic method invocation from the URL "Ol;0>$  
        允许动态方法调用 H$KE*Wwq  
)&1yt4 x6%  
struts.freemarker.manager.classname VH4P|w[YF  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &JAQ:([:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 r(yJE1Wz  
|w- tkkS  
struts.i18n.encoding (aVs p*E  
      The encoding to use for localization messages K~<pD:s  
      国际化信息内码 B/q/sC  
{k1s@KXtd  
struts.i18n.reload |2CW!is  
      Whether the localization messages should automatically be reloaded $ ;>,  
      是否国际化信息自动加载 l~Kn-S{  
M$1+,[^f  
struts.locale T~s/@*y9  
      The default locale for the Struts application l<PGUm:_  
      默认的国际化地区信息 [P OcO  
EAF<PMb  
struts.mapper.class v|VY5vN  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class j$T2ff6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 XtT;UBE  
}1TfKS]m>  
struts.multipart.maxSize ^c< <I-o|  
      The maximize size of a multipart request (file upload) (sS[F-2R7  
      multipart请求信息的最大尺寸(文件上传用) Il2DZ5- )  
nuw90=qj!]  
struts.multipart.parser BT 98WR"\  
      The org.apache.struts2.dispatcher.multipart. NhCO C  
      MultiPartRequest parser implementation for a multipart request (file upload) 4S  2I]d  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  ^wb -s  
4@5rR~DQq  
b6bmvHD  
struts.multipart.saveDir 'gUHy1p  
      The directory to use for storing uploaded files sa#=#0yg  
      设置存储上传文件的目录夹 gwThhwR  
]WN{8   
struts.objectFactory jt"p Js'  
      The com.opensymphony.xwork2.ObjectFactory implementation class u~LisZ&tP  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Br]VCp   
>G' NI?$  
struts.objectFactory.spring.autoWire PHDKx+$  
      Whether Spring should autoWire or not 9`dQ7z.8t  
      是否自动绑定Spring b$PNZC8f  
oVoTnGNM6  
struts.objectFactory.spring.useClassCache ~#I1!y~`  
      Whether Spring should use its class cache or not +SPC@E_v  
      是否spring应该使用自身的cache CEYHD?9k8  
xVfJ ]Y  
struts.objectTypeDeterminer m f4@g05  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ;TmwIZ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 z9h`sY~  
BTjF^&`  
struts.serve.static.browserCache yu#Jw  
If static content served by the Struts filter should set browser caching header properties or not C1p |.L?m  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 sN-5vYfC*  
&^9f)xb  
struts.serve.static DbPw) aCj  
      Whether the Struts filter should serve static content or not 8k_,Hni  
      是否struts过滤器应该提供静态内容 K W04  
jJ55Az?t:  
struts.tag.altSyntax "~]9}KM}3W  
      Whether to use the alterative syntax for the tags or not eqeVz`  
      是否可以用替代的语法替代tags &JfyXM[]  
htM5Nm[g  
struts.ui.templateDir `E!t,*(*E  
      The directory containing UI templates {:6VJ0s\  
      UI templates的目录夹 %=#&\ldPS  
4yRT!k}o  
struts.ui.theme He#+zE ;  
      The default UI template theme 9!bD|-6y  
      默认的UI template主题 71K6] ~<  
v{JCEb&wN  
struts.url.http.port yaR|d3ef?4  
      The HTTP port used by Struts URLs /^#} \<;  
      设置http端口 @Z3b^G[  
EVb'x Zr  
struts.url.https.port ,wX/cUyZ  
      The HTTPS port used by Struts URLs t$\]6RU  
      设置https端口 z W+wtYV4  
HkEp}R  
struts.url.includeParams (6 0,0|s  
      The default includeParams method to generate Struts URLs {\]SvoJnJ  
      在url中产生 默认的includeParams 4+v~{  
w?Q@"^IL  
yD(/y"P,9  
struts.velocity.configfile vja^ O  
      The Velocity configuration file path &2QN^)q  
      velocity配置文件路径 xg3G  
\BJnJk!%  
struts.velocity.contexts R?l>Vr  
      List of Velocity context names u;=("S{"0  
      velocity的context列表 !*CL>}-,  
UK _2i(I"e  
VaX>tUW  
struts.velocity.manager.classname yGS._;#R  
      org.apache.struts2.views.velocity.VelocityManager implementation class jRgv 8n  
      org.apache.struts2.views.velocity.VelocityManager接口名 f, ;sEV  
[=V8  
struts.velocity.toolboxlocation =faV,o&{`  
      The location of the Velocity toolbox o<C~67o_  
      velocity工具盒的位置 pdtK3Pf  
struts.xslt.nocache 2H]&3kM3X  
      Whether or not XSLT templates should not be cached U6M4}q(N]  
      是否XSLT模版应该被缓存 >TL0hBaaR  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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