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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 TOAAQ  
wvPk:1wD5  
struts.action.extension YAmb`CP  
      The URL extension to use to determine if the request is meant for a Struts action <^uBoKB/f  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ei{eTp4HpV  
O| hpXkV  
struts.configuration cs'{5!i]  
      The org.apache.struts2.config.Configuration implementation class cFWc<55aX6  
        org.apache.struts2.config.Configuration接口名 a@*\o+Su  
e~':(/%|5;  
struts.configuration.files u~-8d;+?y  
      A list of configuration files automatically loaded by Struts E+JqWR5  
      struts自动加载的一个配置文件列表 NgCvVWto  
&! ?eL  
struts.configuration.xml.reload *WT`o>  
      Whether to reload the XML configuration or not 1sH& sGy7  
      是否加载xml配置(true,false) 6MkP |vr6  
k@:%:Sj 2  
struts.continuations.package eGHaY4|  
      The package containing actions that use Rife continuations O8.5}>gDn.  
      含有actions的完整连续的package名称 VAu&@a`  
?K\axf>F  
struts.custom.i18n.resources _ORvo{[:  
      Location of additional localization properties files to load ?S$P9^ii'  
      加载附加的国际化属性文件(不包含.properties后缀) "FKOaQ%IH  
}AH] th  
struts.custom.properties 1y4  
      Location of additional configuration properties files to load Ez=Olbk  
      加载附加的配置文件的位置 %|i`kYsy  
d<N:[Y\4l  
`$C n~dT  
struts.devMode \;"=QmRD%:  
      Whether Struts is in development mode or not iW /}#  
      是否为struts开发模式 }!C)}.L<  
{,~3.5u   
struts.dispatcher.parametersWorkaround q%?in+l  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [1 9,&]z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .h4 \Y A  
,Vk3kmuvr]  
struts.enable.DynamicMethodInvocation 5N&?KA-  
      Allows one to disable dynamic method invocation from the URL xX4N4vb  
        允许动态方法调用 >s?S+W[L  
hFl^\$Re  
struts.freemarker.manager.classname ITT@,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ';=O 0)u  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %Qdn  
Ak"m 85B  
struts.i18n.encoding ;x@~A^<el  
      The encoding to use for localization messages 4Ic*9t3  
      国际化信息内码 vTzlwK\#1  
7Da`   
struts.i18n.reload R',rsGd`6j  
      Whether the localization messages should automatically be reloaded ? '{SX9  
      是否国际化信息自动加载 sI^Xb@'09$  
"mvt>X  
struts.locale BeoDKdAwY  
      The default locale for the Struts application [}0haTYc4  
      默认的国际化地区信息 !NvI:C_4|  
=mp;.k95  
struts.mapper.class >_"an~Ss  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class e [mm  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 D!-g&HBTC  
EE'io5\et  
struts.multipart.maxSize ]>nk"K!%  
      The maximize size of a multipart request (file upload) f5VLw`m}.8  
      multipart请求信息的最大尺寸(文件上传用) EVC]sUT  
0*D$R`$  
struts.multipart.parser !_'ur>iR  
      The org.apache.struts2.dispatcher.multipart. T&u5ki4NE  
      MultiPartRequest parser implementation for a multipart request (file upload) MJ [m  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Cl8Cg~2  
/zVOK4BqN+  
iE^84l68  
struts.multipart.saveDir ~^fZx5  
      The directory to use for storing uploaded files pm0{R[:T7  
      设置存储上传文件的目录夹 ++Ts  
%oa-WmWm  
struts.objectFactory T{ XS")Vw  
      The com.opensymphony.xwork2.ObjectFactory implementation class E GU 0)<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) tq6!`L}3  
kr:^tbJ  
struts.objectFactory.spring.autoWire peuZ&yK+"  
      Whether Spring should autoWire or not nIy}#MUd|q  
      是否自动绑定Spring 9oR@U W1  
'RYIW/a  
struts.objectFactory.spring.useClassCache jrr*!^4|  
      Whether Spring should use its class cache or not q"sed]  
      是否spring应该使用自身的cache qCpp6~]Um  
e+ BQww  
struts.objectTypeDeterminer ][h%UrV  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (WO]Xq<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {xB!EQ"  
aPfO$b:  
struts.serve.static.browserCache tla 5B_  
If static content served by the Struts filter should set browser caching header properties or not cyv`B3}  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {19PL8B~}  
ju8q?Nyhs  
struts.serve.static u jq=F  
      Whether the Struts filter should serve static content or not BBRR)  
      是否struts过滤器应该提供静态内容 )E@.!Ut4o  
lN?qp'%H`  
struts.tag.altSyntax >j(_[z|v3  
      Whether to use the alterative syntax for the tags or not xU>WEm2  
      是否可以用替代的语法替代tags [{<`o5qR  
Ou!2 [oe@M  
struts.ui.templateDir (%e .:W${  
      The directory containing UI templates D4-ifsP  
      UI templates的目录夹 E+R1 !.  
+wvWwie  
struts.ui.theme Ug t.&IA  
      The default UI template theme .4M.y:F  
      默认的UI template主题 &5spTMw8  
(*nT(Adk  
struts.url.http.port EZy)A$|  
      The HTTP port used by Struts URLs +]A:M6P:{v  
      设置http端口 _A5e{Gb  
?U5{Wa85D  
struts.url.https.port XQs1eP'{  
      The HTTPS port used by Struts URLs B^Nf #XN(  
      设置https端口 lhz{1P]s  
&Gn 2tr  
struts.url.includeParams W*4-.*U8a  
      The default includeParams method to generate Struts URLs #!qm ZN  
      在url中产生 默认的includeParams m!4ndO;0vh  
)}]g] g  
{M$1N5Eh  
struts.velocity.configfile " 4K(jXq|  
      The Velocity configuration file path nntuLuW  
      velocity配置文件路径  |`f$tj  
`d +Da=L  
struts.velocity.contexts z8~NZ;A  
      List of Velocity context names L9 \1+rq  
      velocity的context列表 pb?c$n$u*  
5C*Pd Wpl  
/k6MzFoid  
struts.velocity.manager.classname P[#e/qnXu|  
      org.apache.struts2.views.velocity.VelocityManager implementation class Xy&A~F  
      org.apache.struts2.views.velocity.VelocityManager接口名 zh`<WN&H  
vNY{j7l/W  
struts.velocity.toolboxlocation # E^1|:  
      The location of the Velocity toolbox g^2OkV(  
      velocity工具盒的位置 dA`IEQJL  
struts.xslt.nocache gQelD6c  
      Whether or not XSLT templates should not be cached d(x\^z  
      是否XSLT模版应该被缓存 eRstD>r  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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