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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 xLbF9ASim  
Vx n-  
struts.action.extension 1ww~!R  
      The URL extension to use to determine if the request is meant for a Struts action _2})URU< S  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k a8=`cn  
>BMtR0  
struts.configuration ~c=*Y=)LG  
      The org.apache.struts2.config.Configuration implementation class b Olb  
        org.apache.struts2.config.Configuration接口名 XOZ@ek)LY  
\7(OFT\u:  
struts.configuration.files tgrZs8?  
      A list of configuration files automatically loaded by Struts !6+V  
      struts自动加载的一个配置文件列表 OH5#.${O  
u])MI6LF  
struts.configuration.xml.reload I\82_t8  
      Whether to reload the XML configuration or not ;4vx+>-  
      是否加载xml配置(true,false) ?l 0WuU  
Nu; 9  
struts.continuations.package cl'qw##  
      The package containing actions that use Rife continuations \FIOFbwe  
      含有actions的完整连续的package名称 z)FGbX  
1Dm$:),^T}  
struts.custom.i18n.resources HxShNU  
      Location of additional localization properties files to load A^pRHbRq  
      加载附加的国际化属性文件(不包含.properties后缀) V#PT.,Xa.  
|uA /72  
struts.custom.properties {'zs4)vw  
      Location of additional configuration properties files to load pmDFmES  
      加载附加的配置文件的位置 o PA m*  
}Do$oyAV$G  
V#-8[G6Ra  
struts.devMode 4L2TsuLw  
      Whether Struts is in development mode or not lHgmljn5u  
      是否为struts开发模式 L 3C'q  
sGJZG  
struts.dispatcher.parametersWorkaround Z@#k ivcpz  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g^2H(}frc  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  [ "Jt2  
A@G%*\UZ  
struts.enable.DynamicMethodInvocation ^<e(3S:  
      Allows one to disable dynamic method invocation from the URL ~,84E [VV  
        允许动态方法调用 2MKB (;k  
9C1\?)"D^e  
struts.freemarker.manager.classname l9$"zEC  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [Kanj/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 oSs~*mf  
!o`h*G-x  
struts.i18n.encoding `c_Wk] i  
      The encoding to use for localization messages {X&H  
      国际化信息内码 ,-Yl%R.W=  
O ;B[ZMV  
struts.i18n.reload }xy[ &-dh  
      Whether the localization messages should automatically be reloaded 6.QzT(  
      是否国际化信息自动加载 .u9,w  
0qo :M3  
struts.locale !JwR[X\f  
      The default locale for the Struts application ~jOk?^6  
      默认的国际化地区信息 HS 1zA  
+@yTcz  
struts.mapper.class +zsB~Vz  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k iY1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 glRHn?p  
kCU (Hi`Q  
struts.multipart.maxSize :.f m LL  
      The maximize size of a multipart request (file upload) xAAwH@ +  
      multipart请求信息的最大尺寸(文件上传用) "?{=|%mf  
.|3&lb6  
struts.multipart.parser  r(c8P6_  
      The org.apache.struts2.dispatcher.multipart. Wc{/K6]f  
      MultiPartRequest parser implementation for a multipart request (file upload) H<wkD9v}H5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q{+Pf/M5  
A>J,Bi  
I(:d8SF  
struts.multipart.saveDir um1xSf1Xv  
      The directory to use for storing uploaded files A#Jx6T`a  
      设置存储上传文件的目录夹 #?RT$L>n  
i~EFRI@  
struts.objectFactory MJI`1*(  
      The com.opensymphony.xwork2.ObjectFactory implementation class :0j_I\L  
      com.opensymphony.xwork2.ObjectFactory接口(spring) rIWQD%Afm  
m3 W  
struts.objectFactory.spring.autoWire 7F wo t&  
      Whether Spring should autoWire or not 05o 1  
      是否自动绑定Spring /gq VXDY+`  
c\(CbC  
struts.objectFactory.spring.useClassCache &X OFc.u  
      Whether Spring should use its class cache or not {3*Zx"e![  
      是否spring应该使用自身的cache >du|DZq  
@  M  
struts.objectTypeDeterminer o0F&,|'  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class di]TS9&9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5X,|Pn  
rE$=~s  
struts.serve.static.browserCache ~k'SP(6#C  
If static content served by the Struts filter should set browser caching header properties or not # Q61c  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'P3jUc)  
0ZJt  
struts.serve.static OS$^>1f"  
      Whether the Struts filter should serve static content or not phqmr5s^H  
      是否struts过滤器应该提供静态内容 QlK]2r9  
~-o[v-\  
struts.tag.altSyntax 78/,rp#'_  
      Whether to use the alterative syntax for the tags or not 0}I aWd^4  
      是否可以用替代的语法替代tags O p,_d^  
xh9Os <  
struts.ui.templateDir |'N)HH>;  
      The directory containing UI templates bGe@yXId5  
      UI templates的目录夹 .V`N^ H:l  
o0:RsODl  
struts.ui.theme L/2,r*LNx$  
      The default UI template theme BDz 7$k]  
      默认的UI template主题 vKmV<*K  
^K'@W  
struts.url.http.port [e;c)XS[  
      The HTTP port used by Struts URLs zM2 _z  
      设置http端口 Q?]-/v  
bE>"DP q  
struts.url.https.port :pvJpu$]  
      The HTTPS port used by Struts URLs 9B?-&t  
      设置https端口 .I nDyKt  
M.?[Xpa  
struts.url.includeParams B6xM#)  
      The default includeParams method to generate Struts URLs oZ,_G,b^  
      在url中产生 默认的includeParams sA!$}W  
,IDCbJ  
=`Lci1#pu}  
struts.velocity.configfile Dg o -Os@  
      The Velocity configuration file path TNkvdE-S  
      velocity配置文件路径 fuF!3Q  
1j?+rs+o-  
struts.velocity.contexts _|I`A6`=  
      List of Velocity context names  jWqjGX`  
      velocity的context列表 VHqHG`}:  
/Xk-xg+U  
25{-GaB  
struts.velocity.manager.classname  aK33bn'j  
      org.apache.struts2.views.velocity.VelocityManager implementation class a(oa?OdJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 u4vyj#V  
uJ T^=Y  
struts.velocity.toolboxlocation iqr/MB,W  
      The location of the Velocity toolbox omzG/)M:O  
      velocity工具盒的位置 K2 6`wt  
struts.xslt.nocache x ?24oO  
      Whether or not XSLT templates should not be cached 1U6 z2i+y  
      是否XSLT模版应该被缓存 _kXq0~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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