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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 c$g@3gL  
,>  zEG  
struts.action.extension ||Zup\QB  
      The URL extension to use to determine if the request is meant for a Struts action 9@ tp#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V%s g+D2  
8+F5n!  
struts.configuration Kw -SOFE  
      The org.apache.struts2.config.Configuration implementation class Qz~uD'Rs/  
        org.apache.struts2.config.Configuration接口名 isZ5s\  
"D(Lp*3hj&  
struts.configuration.files `R[Hxi  
      A list of configuration files automatically loaded by Struts }E 'r?N  
      struts自动加载的一个配置文件列表 _Iy\,<  
8%[pno |0I  
struts.configuration.xml.reload @Wu-&Lb  
      Whether to reload the XML configuration or not L:G#>  
      是否加载xml配置(true,false) `%C-7D'?  
I%[e6qX@  
struts.continuations.package H9cPtP~a)  
      The package containing actions that use Rife continuations cl4E6\?z  
      含有actions的完整连续的package名称 $]2)r[eA)  
{7NGfzwp;6  
struts.custom.i18n.resources A6&*VD  
      Location of additional localization properties files to load /DYyl/  
      加载附加的国际化属性文件(不包含.properties后缀) X]0>0=^  
<L &EH@T  
struts.custom.properties * DL7p8  
      Location of additional configuration properties files to load ScPVjqG2{  
      加载附加的配置文件的位置 v,KKn\X  
AJPvwu}D  
;P@]7vkff  
struts.devMode b9.M'P\  
      Whether Struts is in development mode or not 5~*)3z^V  
      是否为struts开发模式 pCIzpEsRs  
%$!3Pbu i  
struts.dispatcher.parametersWorkaround ag=d6q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t'qYM5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >yBq i^aL  
9j,g&G.K  
struts.enable.DynamicMethodInvocation n>M`wF>  
      Allows one to disable dynamic method invocation from the URL .w2ID  
        允许动态方法调用 h!EA;2yGKa  
tq3Wga!5  
struts.freemarker.manager.classname }r,\0Wm  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E[H  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FKa";f"  
X\|!  
struts.i18n.encoding {Cx5m   
      The encoding to use for localization messages ,^(]zZh  
      国际化信息内码 @AsJnf$y  
jwZ,_CK  
struts.i18n.reload 0I&k_7_   
      Whether the localization messages should automatically be reloaded ^t;z;.g  
      是否国际化信息自动加载 ks '>?Dw  
(Fv tL*  
struts.locale * QgKo$IF  
      The default locale for the Struts application yK~=6^M  
      默认的国际化地区信息 iG N\ >m}  
_fGTTw(  
struts.mapper.class cnv>&6a)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ZO0 Ee1/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :GHv3hn5  
m>>.N?  
struts.multipart.maxSize )9QtnM  
      The maximize size of a multipart request (file upload) \;LDE`Q_x  
      multipart请求信息的最大尺寸(文件上传用) L4#pMc  
*H>rvE.K?  
struts.multipart.parser u;#]eUk9}  
      The org.apache.struts2.dispatcher.multipart. :=*de Z<  
      MultiPartRequest parser implementation for a multipart request (file upload) ~wc :/UM|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) uV/5f#)  
JxAQ,oOO  
qWt}8_"  
struts.multipart.saveDir -yYdj1y;  
      The directory to use for storing uploaded files  N;7/C  
      设置存储上传文件的目录夹 `8:0x?X  
nwRltK  
struts.objectFactory pSZ2>^";  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6cQgp]%  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  4M'>oa  
op,L3:R\Z  
struts.objectFactory.spring.autoWire 8[^'PIz  
      Whether Spring should autoWire or not QTV*m>D  
      是否自动绑定Spring .n-#A  
y8Va>ul"U  
struts.objectFactory.spring.useClassCache 7R+(3NU1A  
      Whether Spring should use its class cache or not yV30x9i!2  
      是否spring应该使用自身的cache I.2J-pu}  
|{jT+  
struts.objectTypeDeterminer Jd2.j?P=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s27IeF3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 hsZ/Vnn`  
H}@:Bri  
struts.serve.static.browserCache gEA SYIQ  
If static content served by the Struts filter should set browser caching header properties or not \bA Yic  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z:; }  
9>""xt  
struts.serve.static R%E7 |NAG  
      Whether the Struts filter should serve static content or not bS.w<V Ew  
      是否struts过滤器应该提供静态内容 DSGcxM+  
)G? qX.D  
struts.tag.altSyntax ^)VwxH:s  
      Whether to use the alterative syntax for the tags or not :|7#D,2  
      是否可以用替代的语法替代tags '`];=QY9pg  
@ [$_cGR7  
struts.ui.templateDir y4V:)@ P  
      The directory containing UI templates s0kp(t!fiu  
      UI templates的目录夹 gT+/nSrLV  
enoj4g7em^  
struts.ui.theme i;[y!U  
      The default UI template theme FhE{khc#  
      默认的UI template主题 1v o)]ff  
azcPeAe  
struts.url.http.port +2tQ FV;  
      The HTTP port used by Struts URLs +Y\:Q<eMFg  
      设置http端口 I7f ^2  
L74Mz]v  
struts.url.https.port _GOSqu!3Y  
      The HTTPS port used by Struts URLs J 3!~e+wn  
      设置https端口 H'+7z-% G  
{4"V)9o-1>  
struts.url.includeParams 9g92eKS  
      The default includeParams method to generate Struts URLs 2wf&jGHs  
      在url中产生 默认的includeParams 2[E wN!IZ  
<v"o+  
!e$gp (4  
struts.velocity.configfile 5J5si<v25  
      The Velocity configuration file path DE?v'7cmA  
      velocity配置文件路径 &W `xZyb3  
R>Ra~ b  
struts.velocity.contexts n|`3d~9$&  
      List of Velocity context names _IH" SVub  
      velocity的context列表 rg/{5f  
DwD$T%kF  
b7Y g~Lw  
struts.velocity.manager.classname 74s{b]jN'-  
      org.apache.struts2.views.velocity.VelocityManager implementation class [ oWkd_dK  
      org.apache.struts2.views.velocity.VelocityManager接口名 YJi%vQ*]  
\& JZ >h  
struts.velocity.toolboxlocation ?ukw6T  
      The location of the Velocity toolbox ?Ua,ba*  
      velocity工具盒的位置 Tc2.ciU  
struts.xslt.nocache VYyija:  
      Whether or not XSLT templates should not be cached W,q @ww u  
      是否XSLT模版应该被缓存 nHK(3Z4G  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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