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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 MzYavg`  
@O}7XRJ_8  
struts.action.extension 9ktEm|F3  
      The URL extension to use to determine if the request is meant for a Struts action t UR c bwV  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Fa epDjY8  
m3 ^/: <  
struts.configuration {3Y )rY!z  
      The org.apache.struts2.config.Configuration implementation class ]}mxY vu_i  
        org.apache.struts2.config.Configuration接口名 GI7=x h  
'>k{tPi.  
struts.configuration.files |3{&@7  
      A list of configuration files automatically loaded by Struts \@~UDP]7  
      struts自动加载的一个配置文件列表 (5 <^p&  
==H$zmK  
struts.configuration.xml.reload ZCVl5R(mZ  
      Whether to reload the XML configuration or not #u5~0,F  
      是否加载xml配置(true,false) a1.|X i'/z  
8CC/BOe  
struts.continuations.package ,SScf98,j  
      The package containing actions that use Rife continuations u=&Bmn_  
      含有actions的完整连续的package名称 -z:&*=  
Kv{8iAB#c  
struts.custom.i18n.resources }4>JO""  
      Location of additional localization properties files to load WV"jH9"[  
      加载附加的国际化属性文件(不包含.properties后缀) _ OaRY]  
}#v{`Sn%^C  
struts.custom.properties ,&YTj>  
      Location of additional configuration properties files to load Zw] ?.  
      加载附加的配置文件的位置  y\F=ui  
=6=_/q2  
%5  
struts.devMode <8 #ObdY!  
      Whether Struts is in development mode or not r,N[)@  
      是否为struts开发模式 nW+YOX|+  
a45 ss7  
struts.dispatcher.parametersWorkaround ^# A.@  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~/IexQB&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Y& ] 8 {  
?G08NR  
struts.enable.DynamicMethodInvocation {^Pq\h;  
      Allows one to disable dynamic method invocation from the URL x3e]d$  
        允许动态方法调用 RiO="tX'  
gcJF`H/iNK  
struts.freemarker.manager.classname -@IL"U6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class eX2<}'W<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ze!92g  
Iia.k'N  
struts.i18n.encoding y_}SK6{  
      The encoding to use for localization messages o0p T6N)  
      国际化信息内码 WA)Ij(M8 p  
z{BA4sn  
struts.i18n.reload m_!U}!  
      Whether the localization messages should automatically be reloaded -qebQv  
      是否国际化信息自动加载 l SkEuN  
3^.8.q(6  
struts.locale \NXQ  
      The default locale for the Struts application *C,N'M<u  
      默认的国际化地区信息 /.=r>a }l  
 yu ,h\  
struts.mapper.class &!y]:CC{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kDB iBNdB  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 m]IysyFFK  
\,sg)^w@  
struts.multipart.maxSize >sj bK%  
      The maximize size of a multipart request (file upload) U&y`-@A4  
      multipart请求信息的最大尺寸(文件上传用) "L3Xd][  
TRKgBK$,  
struts.multipart.parser d<@Mdo<;?g  
      The org.apache.struts2.dispatcher.multipart. u{bL-a8}  
      MultiPartRequest parser implementation for a multipart request (file upload) L"rcv:QWZa  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T 4|jz<iK]  
agd)ag4"[u  
F* #h9 Y  
struts.multipart.saveDir PM4>ThQ  
      The directory to use for storing uploaded files ^p_u.P  
      设置存储上传文件的目录夹 135vZ:S  
9DEh*%q  
struts.objectFactory jxy1  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3ViM ?p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5#_tE<uM  
k|O,1  
struts.objectFactory.spring.autoWire H2Eb\v`#  
      Whether Spring should autoWire or not G^Xd-7 GQ  
      是否自动绑定Spring P Tnac  
+zRh fIJHH  
struts.objectFactory.spring.useClassCache %{STz  
      Whether Spring should use its class cache or not C=VIT*=  
      是否spring应该使用自身的cache B#tdLv"I  
=s'7$D}0.  
struts.objectTypeDeterminer Sue 6+p  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {TL +7kiX/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Z~3u:[x";  
6~W u`  
struts.serve.static.browserCache viuiqs5[Bi  
If static content served by the Struts filter should set browser caching header properties or not C(]'&~}(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ):bu;3E  
,deUsc  
struts.serve.static 3#Y3Dz`  
      Whether the Struts filter should serve static content or not Q-R}qy5y  
      是否struts过滤器应该提供静态内容 lIuXo3  
%yaG,;>U  
struts.tag.altSyntax DuF7HTN[K  
      Whether to use the alterative syntax for the tags or not M^ 5e~y  
      是否可以用替代的语法替代tags w3#`1T`N  
H4skvIl  
struts.ui.templateDir U1Yo7nVf  
      The directory containing UI templates 0yHjrxc$  
      UI templates的目录夹 5 R*lVUix  
KzkgWMM  
struts.ui.theme >%c*Xe  
      The default UI template theme b|ZLX:  
      默认的UI template主题 G+yL;G/  
lA{(8sKN  
struts.url.http.port 8X~h?^Vz  
      The HTTP port used by Struts URLs } gkP  
      设置http端口 b%nkIPA  
9bEM#Hj  
struts.url.https.port VD#!ztcY'  
      The HTTPS port used by Struts URLs bag&BHw  
      设置https端口 pGGV\zD^  
O3ZM:,.  
struts.url.includeParams Za!w#j%h  
      The default includeParams method to generate Struts URLs CT}' ")Bm  
      在url中产生 默认的includeParams u)7 ]1e{  
ZT9IMihV  
Qcgu`]7}  
struts.velocity.configfile Wy(pLBmb  
      The Velocity configuration file path 6_U |(f  
      velocity配置文件路径 n{=7 yK  
> tEK+Y|N}  
struts.velocity.contexts G{A)H_o*  
      List of Velocity context names gUGOHd(A  
      velocity的context列表 S'?fJ.  
E|,30Z+  
jm> U6  
struts.velocity.manager.classname E{gv,cUM  
      org.apache.struts2.views.velocity.VelocityManager implementation class M]B3vPA/v  
      org.apache.struts2.views.velocity.VelocityManager接口名 [` 'd#pR  
]-KV0H  
struts.velocity.toolboxlocation @,YlmX}  
      The location of the Velocity toolbox f N0bIE Y  
      velocity工具盒的位置 BVAr&cu  
struts.xslt.nocache RH=$h! 5  
      Whether or not XSLT templates should not be cached O3+)qb!X  
      是否XSLT模版应该被缓存 Bj&_IDs4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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