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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 } f+hB  
jW0aIS2O  
struts.action.extension r:9H>4m  
      The URL extension to use to determine if the request is meant for a Struts action ]-tAgNzl%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Cswa5 l`af  
@ )m9#F  
struts.configuration jS'hs>Ot  
      The org.apache.struts2.config.Configuration implementation class FN295:Iuw  
        org.apache.struts2.config.Configuration接口名 P<s:dH"  
(h>+ivf|  
struts.configuration.files (]*!`(_b  
      A list of configuration files automatically loaded by Struts 2Wq/_:  
      struts自动加载的一个配置文件列表 u}BN)%`B  
k ks ?S',  
struts.configuration.xml.reload :j( D&?ao  
      Whether to reload the XML configuration or not eKek~U&  
      是否加载xml配置(true,false) "i/3m'<2  
a#i%7mfn  
struts.continuations.package ?*A"#0  
      The package containing actions that use Rife continuations O!.mc=Gx7  
      含有actions的完整连续的package名称 3:G94cp5  
u@$pOLI  
struts.custom.i18n.resources )0xEI  
      Location of additional localization properties files to load TM?7F2  
      加载附加的国际化属性文件(不包含.properties后缀) E?3$ *t  
TM1J1GU  
struts.custom.properties P'q . _U  
      Location of additional configuration properties files to load `8N],X  
      加载附加的配置文件的位置 *'h vYl/?>  
nO7#m~  
Rhil]|a/  
struts.devMode NJTC+`Hm  
      Whether Struts is in development mode or not dI|`"jl#  
      是否为struts开发模式 vV+>JM6<K  
+yYSp8>  
struts.dispatcher.parametersWorkaround (y{nD~k  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >m&r,z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L}5IX)#gH  
ht@s!5\LK  
struts.enable.DynamicMethodInvocation 5 ,1q%  
      Allows one to disable dynamic method invocation from the URL .3*VkAs  
        允许动态方法调用 m1(cN%DBd  
NK0hT,_  
struts.freemarker.manager.classname bLpGrGJs  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?{M!syD<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9dXtugp|  
a?QDf5C q  
struts.i18n.encoding 6 w:@i_2^  
      The encoding to use for localization messages jt8% L[  
      国际化信息内码 C/je5  
~'2im[f J  
struts.i18n.reload Nd.Tda!Kg  
      Whether the localization messages should automatically be reloaded 1WMwTBHy+  
      是否国际化信息自动加载 s(Tgv  
4yu ^cix(  
struts.locale Q8 r 7  
      The default locale for the Struts application |xQq+e}l<  
      默认的国际化地区信息 M`kR2NCi  
,"!P{c  
struts.mapper.class 6X.lncE@p  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *|DIG{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :g[G&Ds8  
 zOnQ656  
struts.multipart.maxSize Ug|o ($CY  
      The maximize size of a multipart request (file upload) C5jR||  
      multipart请求信息的最大尺寸(文件上传用) )wwQv2E  
X[ o9^<  
struts.multipart.parser "x$RTuWA9  
      The org.apache.struts2.dispatcher.multipart. Q9 * N/2+  
      MultiPartRequest parser implementation for a multipart request (file upload) 1@Zjv>jy[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) wh<s#q`  
] x_WO_  
Aa;s.:?  
struts.multipart.saveDir d.3O1TXK  
      The directory to use for storing uploaded files 6hs2B5)+  
      设置存储上传文件的目录夹 j!H\hj/]  
n/3gx4.g  
struts.objectFactory t"@: a Y"  
      The com.opensymphony.xwork2.ObjectFactory implementation class _,M:"3;Z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #j{!&4M  
L('G1J}  
struts.objectFactory.spring.autoWire ,~_)Cf#CB  
      Whether Spring should autoWire or not F+@E6I'g  
      是否自动绑定Spring a+CHrnU\;  
$*{$90 Q  
struts.objectFactory.spring.useClassCache i-EFq@xl  
      Whether Spring should use its class cache or not c=T^)~$$  
      是否spring应该使用自身的cache o(/(`/  
3e g<)  
struts.objectTypeDeterminer $I7/FZP  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3 T3p[q4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 YJ`[$0mam  
wZECG-jr/  
struts.serve.static.browserCache t;@VsQ8  
If static content served by the Struts filter should set browser caching header properties or not Hop$w  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <(Wa8PY2(  
<M1XG7_I  
struts.serve.static g& *pk5V>  
      Whether the Struts filter should serve static content or not X]Emz"   
      是否struts过滤器应该提供静态内容 ZL`G<Mo;.  
ul e]eRAG  
struts.tag.altSyntax F%Lniv/N  
      Whether to use the alterative syntax for the tags or not Ha\q}~_  
      是否可以用替代的语法替代tags _F *(" o  
}Vpr7_  
struts.ui.templateDir xi=qap=S^9  
      The directory containing UI templates O\ T  
      UI templates的目录夹 \"qXlTQ1_9  
$+<X 1  
struts.ui.theme jG0{>P#+  
      The default UI template theme +_?;%PKkuF  
      默认的UI template主题 FV/X&u8~  
N2VF_[l  
struts.url.http.port +OF(CcA^  
      The HTTP port used by Struts URLs zJ#e3o .  
      设置http端口 7"r7F#D=G  
EO,;^RtB  
struts.url.https.port A`7uw|uO$  
      The HTTPS port used by Struts URLs 'r%`(Z{~  
      设置https端口 daaEN(  
QY2!.a^q  
struts.url.includeParams sa`7_KB  
      The default includeParams method to generate Struts URLs $.}fL;BzVz  
      在url中产生 默认的includeParams ih?_ fW  
+0=u]  
EvMhNq~y5  
struts.velocity.configfile Oah}7!a)  
      The Velocity configuration file path S zOB{  
      velocity配置文件路径 WIo^=?%  
AjaG .fa]k  
struts.velocity.contexts aI|<t^X  
      List of Velocity context names J! >HT'M  
      velocity的context列表 )}?'1ciHI  
^6+P&MxM  
MjG=6.J|`  
struts.velocity.manager.classname Y$EqBN  
      org.apache.struts2.views.velocity.VelocityManager implementation class LS?hb)7  
      org.apache.struts2.views.velocity.VelocityManager接口名 `"M=ZVk  
A==P?,RG  
struts.velocity.toolboxlocation >#R<*?*D}  
      The location of the Velocity toolbox ~\K+)(\SNp  
      velocity工具盒的位置 "gdm RE{x  
struts.xslt.nocache ASAz<H$  
      Whether or not XSLT templates should not be cached d'Z|+lq:  
      是否XSLT模版应该被缓存 Z\xR+3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五