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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 s/ S+ ec3  
*/U$sZQ)  
struts.action.extension ZjD2u 8e  
      The URL extension to use to determine if the request is meant for a Struts action "jGe^+9uT  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )6G+tU'  
E& ]_U$  
struts.configuration n4*'B*  
      The org.apache.struts2.config.Configuration implementation class A_Gp&acs$  
        org.apache.struts2.config.Configuration接口名 ayH>XwY6  
\>[gl!B_Rr  
struts.configuration.files ZOHRUm  
      A list of configuration files automatically loaded by Struts M,{<TpCx  
      struts自动加载的一个配置文件列表 N7B}O*;  
s}!"a8hU`  
struts.configuration.xml.reload ?M<|r11}  
      Whether to reload the XML configuration or not w{ m#Yt  
      是否加载xml配置(true,false) q_5 8Lw  
h>Rpb#]  
struts.continuations.package -9Xw]I#QR  
      The package containing actions that use Rife continuations L4mTs-M.  
      含有actions的完整连续的package名称 |ZuDX87  
mg/]4)SF  
struts.custom.i18n.resources V9]uFL  
      Location of additional localization properties files to load |vN$"mp^a  
      加载附加的国际化属性文件(不包含.properties后缀) Sh47c4{  
{lKEZirO  
struts.custom.properties iy9VruT<x  
      Location of additional configuration properties files to load nTQ (JDf  
      加载附加的配置文件的位置 Es,0'\m&  
+{bh  
<v-92?  
struts.devMode 8Nv-/VQ/b  
      Whether Struts is in development mode or not dW6Q)Rfi  
      是否为struts开发模式 W.sD2f  
n]Ebwznt-  
struts.dispatcher.parametersWorkaround vKV{ $|  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1 pYsjo~  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~M(pCSJ[  
-y<rM0"NE  
struts.enable.DynamicMethodInvocation "URVX1#(r  
      Allows one to disable dynamic method invocation from the URL gGD]t;<u  
        允许动态方法调用 l9,w>]s  
r6/<&1[  
struts.freemarker.manager.classname OQ 0b$qw  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *+# k{D,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 T&e%/  
RH1U_gp4 ]  
struts.i18n.encoding LE Jlo%M  
      The encoding to use for localization messages Zr~"\llk  
      国际化信息内码 K T"h74@  
lp 3(&p<:  
struts.i18n.reload iNMLYYq]l  
      Whether the localization messages should automatically be reloaded VdYOm  
      是否国际化信息自动加载 g8B&u u #  
r{c5dQ  
struts.locale aj+zmk~-  
      The default locale for the Struts application sVNo\  
      默认的国际化地区信息 I-j(e)P(o_  
%,h!: Ec^c  
struts.mapper.class %Gnd"SGs  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1"N/ZKF-x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,(zcl$A[  
`\6 +z  
struts.multipart.maxSize K>`m_M"LA  
      The maximize size of a multipart request (file upload) iFXUKGiV  
      multipart请求信息的最大尺寸(文件上传用) kvY} yw7  
*s 1D\/H  
struts.multipart.parser s2kGU^]y  
      The org.apache.struts2.dispatcher.multipart. Iht mD@H}  
      MultiPartRequest parser implementation for a multipart request (file upload) Sf#\6X<B  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6uv'r;U]  
\r)_-  
gogl[gHO  
struts.multipart.saveDir !^rITiy  
      The directory to use for storing uploaded files +A;n*DF2  
      设置存储上传文件的目录夹 R A-^!4tX  
#h}IUR  
struts.objectFactory `XFX`1  
      The com.opensymphony.xwork2.ObjectFactory implementation class Vw6>:l<+<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (Qw`%B  
[0( E>vm  
struts.objectFactory.spring.autoWire je$R\7B<  
      Whether Spring should autoWire or not c=uBT K*  
      是否自动绑定Spring d7n4zx1Hh  
vgd}09y  
struts.objectFactory.spring.useClassCache ^$ g],PAY  
      Whether Spring should use its class cache or not yAZ.L/jyr  
      是否spring应该使用自身的cache "1=.5:yG  
wt3Z?Pb  
struts.objectTypeDeterminer \ZmFH8=|f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4@ydK  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .F=<r-0  
%m0L!|E  
struts.serve.static.browserCache ^+Y-=2u:  
If static content served by the Struts filter should set browser caching header properties or not Dg];(c+/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +A.a~Stt  
d[qEP6B  
struts.serve.static )SlUQ7f>  
      Whether the Struts filter should serve static content or not t8a@L(J$  
      是否struts过滤器应该提供静态内容 6>P  
EzeDShN=J  
struts.tag.altSyntax A(_^_p.|  
      Whether to use the alterative syntax for the tags or not vb80J<4  
      是否可以用替代的语法替代tags : p*ojl|  
!D|pbzQc8  
struts.ui.templateDir Wtzj;GJj  
      The directory containing UI templates 0'`8HP  
      UI templates的目录夹 cxF?&0[mY  
Z1MJ!{@6  
struts.ui.theme EY[Q%  
      The default UI template theme ]R3pBC"Jv  
      默认的UI template主题  el*pYI  
]I.& .?^i0  
struts.url.http.port Yqz[sz5+m  
      The HTTP port used by Struts URLs <^X'f  
      设置http端口 Rs( CrB/M  
M& BM,~  
struts.url.https.port Qi'WV9ke  
      The HTTPS port used by Struts URLs p'w"V6k('~  
      设置https端口 I}]@e ^ ~  
PU/Br;2A  
struts.url.includeParams R*TGn_J`  
      The default includeParams method to generate Struts URLs ~IJZM`gN  
      在url中产生 默认的includeParams )DZ-vnZ#t0  
N@du.d:  
ff5 Lwf{{  
struts.velocity.configfile 5}l#zj  
      The Velocity configuration file path YO!7D5rV#  
      velocity配置文件路径 '|A5a+[  
FsPDWy&x  
struts.velocity.contexts :Kc0ak)<n  
      List of Velocity context names yU8Y{o;:  
      velocity的context列表 !O-_Dp\#  
H* L2gw  
3K20f8g  
struts.velocity.manager.classname X!A]V:8dk  
      org.apache.struts2.views.velocity.VelocityManager implementation class V]PhXVJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 I~5fz4Q  
';CuJ XAj  
struts.velocity.toolboxlocation  '?>O  
      The location of the Velocity toolbox Sph"w08  
      velocity工具盒的位置 AL$ Ty  
struts.xslt.nocache 2Q'XB  
      Whether or not XSLT templates should not be cached 8JOht(m  
      是否XSLT模版应该被缓存 SUi1*S  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五