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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )9G[dDeC  
V7Lxfoa4  
struts.action.extension 7kLz[N6Ll  
      The URL extension to use to determine if the request is meant for a Struts action CyFrb`%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Qj.#)R  
%nZo4hnr$r  
struts.configuration 6I4\q.^qw  
      The org.apache.struts2.config.Configuration implementation class ]@c+]{  
        org.apache.struts2.config.Configuration接口名 A RuA<vQ  
Y_IF;V\  
struts.configuration.files r'r%w#=`t  
      A list of configuration files automatically loaded by Struts jXx<`I+]  
      struts自动加载的一个配置文件列表 Yui3+}Ms  
6:5I26  
struts.configuration.xml.reload UgN u`$m+  
      Whether to reload the XML configuration or not {X+3;&@  
      是否加载xml配置(true,false) mHTXni<!  
%P/Jq#FE .  
struts.continuations.package {SPq$B_VR  
      The package containing actions that use Rife continuations )p0^zv{  
      含有actions的完整连续的package名称 tjGn|+|k  
l"T44CL;  
struts.custom.i18n.resources ]=I@1B;_m  
      Location of additional localization properties files to load +F` S>U  
      加载附加的国际化属性文件(不包含.properties后缀) qvsd5PeCO  
B\=8_z  
struts.custom.properties P>C~ i:4n  
      Location of additional configuration properties files to load z"L/G  
      加载附加的配置文件的位置 W~; `WR;.  
Lc,Pom  
~9]hV7y5C  
struts.devMode Qh3YJ=X&  
      Whether Struts is in development mode or not |Nn)m  
      是否为struts开发模式 RDi]2  
BWa,f8  
struts.dispatcher.parametersWorkaround AaOu L,l  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F?*-4I-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,/%=sux  
|Q6.299  
struts.enable.DynamicMethodInvocation wLH>:yKUU  
      Allows one to disable dynamic method invocation from the URL ~O0 $Suv  
        允许动态方法调用 gIa+5\qYY  
)3}9K ^jS  
struts.freemarker.manager.classname )JLdO*H  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nI-w}NQ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Egp/f|y  
~{g [<Qi  
struts.i18n.encoding mt{nm[D!Xp  
      The encoding to use for localization messages 0/MtYIYk  
      国际化信息内码 y/cvQY0pU  
c /HHy,  
struts.i18n.reload ?k&Vy  
      Whether the localization messages should automatically be reloaded  SI-qC  
      是否国际化信息自动加载 )e+>w=t  
^z IW+:  
struts.locale R6.hA_ih  
      The default locale for the Struts application C.yQ=\U2  
      默认的国际化地区信息 HGs $*  
@/.;Xw]  
struts.mapper.class 6+|do+0Icg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f!uwzHA`?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 TH&U j1  
s}9S8@#  
struts.multipart.maxSize Y-_`23x`  
      The maximize size of a multipart request (file upload) R6Km\N  
      multipart请求信息的最大尺寸(文件上传用) OJuG~euy  
wj^3N7_:w  
struts.multipart.parser Ts[_u@   
      The org.apache.struts2.dispatcher.multipart. kR-SE5`Jk  
      MultiPartRequest parser implementation for a multipart request (file upload) =JEv,ZGT3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6:[dj*KGmT  
VU(v3^1"  
EF[@$j   
struts.multipart.saveDir ]Ji.Zk  
      The directory to use for storing uploaded files v5#j Z$<F  
      设置存储上传文件的目录夹 uM IIYS  
ThajHK|U  
struts.objectFactory wr/"yQA]  
      The com.opensymphony.xwork2.ObjectFactory implementation class qZtzO2Mt  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !mJ"gg  
v!6  c0a  
struts.objectFactory.spring.autoWire Bi3<7  
      Whether Spring should autoWire or not rNWw?_H-H(  
      是否自动绑定Spring $oID(P  
|`2RShu  
struts.objectFactory.spring.useClassCache !}#8)?p  
      Whether Spring should use its class cache or not q]ku5A\y  
      是否spring应该使用自身的cache kW Ml  
EReZkvseC  
struts.objectTypeDeterminer (z {#Eq4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class I by\$~V  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &tLgG4pd  
#uG%j  
struts.serve.static.browserCache 6$Xzpg(o  
If static content served by the Struts filter should set browser caching header properties or not mI-]/:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 { M4gF8(M  
UT~4x|b:O  
struts.serve.static [I,Z2G,Jb  
      Whether the Struts filter should serve static content or not QC OM_$y  
      是否struts过滤器应该提供静态内容 D&&9^t9S  
A Ru2W1g  
struts.tag.altSyntax 2 /\r)$ 2i  
      Whether to use the alterative syntax for the tags or not ArI2wM/v  
      是否可以用替代的语法替代tags a od-3"7[  
|}s*E_/[  
struts.ui.templateDir b.JuI  
      The directory containing UI templates VK\X&Y3l  
      UI templates的目录夹 u^ +7hkk  
DZ'P@f)]  
struts.ui.theme '6iEMg&3  
      The default UI template theme P6'1.R  
      默认的UI template主题 jjB~G^n  
m<T%Rb4?@  
struts.url.http.port O~#!l"0 L+  
      The HTTP port used by Struts URLs ,F8Yn5h  
      设置http端口 gZ3u=uME  
,i?nWlh+  
struts.url.https.port b7?uq9  
      The HTTPS port used by Struts URLs r"3=44St  
      设置https端口 Pe_W;q.  
)np:lL$$  
struts.url.includeParams :1. L}4"gg  
      The default includeParams method to generate Struts URLs shy-Gu&  
      在url中产生 默认的includeParams mA}TJz  
{yTGAf-DV  
p SH=%u>  
struts.velocity.configfile F3[T.sf  
      The Velocity configuration file path hB]Np1('  
      velocity配置文件路径 D(@S+r_ota  
hc(#{]].  
struts.velocity.contexts Uou1mZz/  
      List of Velocity context names #?aPisV X>  
      velocity的context列表 mUAi4N  
a8e6H30Sm  
T9E+\D  
struts.velocity.manager.classname ]KKS"0a  
      org.apache.struts2.views.velocity.VelocityManager implementation class zlSNfgO  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;C9_?u~#  
4<w.8rR:A  
struts.velocity.toolboxlocation JQ_sUYh~3  
      The location of the Velocity toolbox k<nZ+! M  
      velocity工具盒的位置 ,GhS[VJjR  
struts.xslt.nocache ,hm\   
      Whether or not XSLT templates should not be cached X6w6%fzOH>  
      是否XSLT模版应该被缓存 `iFmrC<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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