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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 JjML!;  
o?+e_n=  
struts.action.extension &\[J  
      The URL extension to use to determine if the request is meant for a Struts action &B7KWvAy  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 mLA$ F4/K  
j=>G fo  
struts.configuration g``4U3T%X  
      The org.apache.struts2.config.Configuration implementation class u Aa>6R  
        org.apache.struts2.config.Configuration接口名 7Apbi}")  
"T=LHjE  
struts.configuration.files UF&Wgj [  
      A list of configuration files automatically loaded by Struts R)Fl@ Tn  
      struts自动加载的一个配置文件列表 :''0z  
K L~sEli  
struts.configuration.xml.reload P~Owvs/=  
      Whether to reload the XML configuration or not kcUt!PL  
      是否加载xml配置(true,false) Te#[+B?  
_>64XUZ<n  
struts.continuations.package Q3Lqj2r  
      The package containing actions that use Rife continuations XX6)(  
      含有actions的完整连续的package名称 t}l<#X5  
tRCd(Z,WY  
struts.custom.i18n.resources kA`qExw%  
      Location of additional localization properties files to load d^^>3L!h  
      加载附加的国际化属性文件(不包含.properties后缀) Lr&BZM  
}C#d;JC  
struts.custom.properties k"zHrn"$  
      Location of additional configuration properties files to load YaNVpLA  
      加载附加的配置文件的位置 <qx-%6  
C( ;7*]  
b6BIDuRb  
struts.devMode YO+d+5  
      Whether Struts is in development mode or not q[K)bg{HB  
      是否为struts开发模式 m:CpDxzbf  
qChPT:a  
struts.dispatcher.parametersWorkaround CP^^ct-C  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic j<?4N*S  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ABGL9;.8  
ZVU)@[s  
struts.enable.DynamicMethodInvocation li^E$9oWC  
      Allows one to disable dynamic method invocation from the URL wE2?/wb  
        允许动态方法调用 ,fFJSY^  
z[OEg HI  
struts.freemarker.manager.classname e(A&VIp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Mla,"~4D5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 H5)WxsZ R  
PeaD]  
struts.i18n.encoding ~<LI p%5(  
      The encoding to use for localization messages b\mN^P~>A  
      国际化信息内码 |lY8u~%  
-tZb\4kh  
struts.i18n.reload K)ib{V(50  
      Whether the localization messages should automatically be reloaded m^KkS   
      是否国际化信息自动加载 ?zqXHv#x  
G>"[nXmcu  
struts.locale <o}t-Bgg  
      The default locale for the Struts application *L_wRhhk  
      默认的国际化地区信息 '#?hm-Ga  
p9J(,}  
struts.mapper.class l[Oxf|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class X3vrD{uNU  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `h#JDcT;a  
 .~']gih#  
struts.multipart.maxSize 2e &Zs%u  
      The maximize size of a multipart request (file upload) mi?Fy0\  
      multipart请求信息的最大尺寸(文件上传用) s!Vtw p9  
V,}cDT>  
struts.multipart.parser uIBV1Qz  
      The org.apache.struts2.dispatcher.multipart. lM]7@A  
      MultiPartRequest parser implementation for a multipart request (file upload) a*`J]{3G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $[e*0!e  
r@aFB@   
S7R^%Wck/6  
struts.multipart.saveDir WObfHAp.  
      The directory to use for storing uploaded files .H "gH-I  
      设置存储上传文件的目录夹 V-57BKeDz  
( ;q$cKy  
struts.objectFactory 4"@yGXUb  
      The com.opensymphony.xwork2.ObjectFactory implementation class '_8Vay~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) N !:&$z-  
= 8n*%NC  
struts.objectFactory.spring.autoWire ]up:pddIh  
      Whether Spring should autoWire or not }Na*jr0y9{  
      是否自动绑定Spring qSR %#  
HU'}c*d]  
struts.objectFactory.spring.useClassCache XUWza=BR"  
      Whether Spring should use its class cache or not @EvnV.  
      是否spring应该使用自身的cache h fNBWN  
-.y3:^){^  
struts.objectTypeDeterminer IiL?@pIq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <JlKtR&nSo  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 fO+;%B  
va)\uXW.N  
struts.serve.static.browserCache -z@}:N-uR  
If static content served by the Struts filter should set browser caching header properties or not <GC:aG  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #cA}B L!3  
_]NM@'e  
struts.serve.static %pdfGM 9g  
      Whether the Struts filter should serve static content or not WA+v&* ]  
      是否struts过滤器应该提供静态内容 mtp[]  
f|EWu  
struts.tag.altSyntax 6K &V}  
      Whether to use the alterative syntax for the tags or not 3e"G.0vJ  
      是否可以用替代的语法替代tags f7L|Jc  
Xc.~6nYp  
struts.ui.templateDir w t}a`hxu  
      The directory containing UI templates @/~41\=e  
      UI templates的目录夹 qe0@tKim  
,}<v:!  
struts.ui.theme n*V^Q f  
      The default UI template theme 7@ZL(G  
      默认的UI template主题 /3fo=7G6  
*E>YLkg]  
struts.url.http.port [Gu]p&  
      The HTTP port used by Struts URLs =i.[|g"  
      设置http端口 GlaWBF#  
'#XP:nqFkK  
struts.url.https.port WWY9U  
      The HTTPS port used by Struts URLs ='f>p+*c%  
      设置https端口 nWh?zf#{  
Yq.Omr!  
struts.url.includeParams 5p750`n  
      The default includeParams method to generate Struts URLs {3?g8e]zr  
      在url中产生 默认的includeParams E: %%Dm  
s)>]'ii  
SFuzH)+VO  
struts.velocity.configfile tNtP+v-{  
      The Velocity configuration file path 1}N5WBp  
      velocity配置文件路径 FT=w`NE,+  
StE4n0V  
struts.velocity.contexts UJQ!~g.y]  
      List of Velocity context names n1v%S"^  
      velocity的context列表  ,}bC  
45# `R%3  
w>#~_x, `  
struts.velocity.manager.classname +Q{jV^IT9  
      org.apache.struts2.views.velocity.VelocityManager implementation class - Q,lUP  
      org.apache.struts2.views.velocity.VelocityManager接口名 5dhRuc  
F3?v&  
struts.velocity.toolboxlocation V&gUxS]*  
      The location of the Velocity toolbox :Y"f .>  
      velocity工具盒的位置 4ed( DSN  
struts.xslt.nocache qsJo)SA  
      Whether or not XSLT templates should not be cached \2T@]!n  
      是否XSLT模版应该被缓存 X(/W|RY{@  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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