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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 V E#Wb7  
O#b6mKPt;t  
struts.action.extension lAi6sPG)0  
      The URL extension to use to determine if the request is meant for a Struts action ?QsQnQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $()5VM b  
9Kpa><  
struts.configuration M2d$4-<  
      The org.apache.struts2.config.Configuration implementation class yQU_>_!n  
        org.apache.struts2.config.Configuration接口名 /rM I"khB  
t'?.8}?)I&  
struts.configuration.files PjZvQ\Z  
      A list of configuration files automatically loaded by Struts ?<V?wsp  
      struts自动加载的一个配置文件列表 b$4"i XSQ  
T3~k>"W  
struts.configuration.xml.reload 11TL~ xFh  
      Whether to reload the XML configuration or not ~kQA7;`j$  
      是否加载xml配置(true,false) Cf TfL3(J  
~KHVY)@P  
struts.continuations.package *$yR*}A  
      The package containing actions that use Rife continuations 5pj22 s  
      含有actions的完整连续的package名称 E'G4Y-  
`q?8A3A  
struts.custom.i18n.resources BZ:H`M`n  
      Location of additional localization properties files to load -- PtZ]Z  
      加载附加的国际化属性文件(不包含.properties后缀) A$<.a'&T!  
@AG n{q  
struts.custom.properties X59: C3c  
      Location of additional configuration properties files to load 0":ib0=  
      加载附加的配置文件的位置 T29Dt  
YX=a#%vrl  
mZk]l5Lc  
struts.devMode ,ek_R)&[o  
      Whether Struts is in development mode or not D6%J\C13`  
      是否为struts开发模式 c0PIc^R(@  
?h.wK  
struts.dispatcher.parametersWorkaround TX$r `~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic JM=JH 51`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) GYJ80k|  
MJOz.=CbhR  
struts.enable.DynamicMethodInvocation "*m_> IU  
      Allows one to disable dynamic method invocation from the URL uZM{BgXXD  
        允许动态方法调用 4NGA/ G  
Ge2q%  
struts.freemarker.manager.classname *-MM<|Qt  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O/,aJCe  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^?U!pq -`  
q ]M+/sl  
struts.i18n.encoding 61. Brp.eP  
      The encoding to use for localization messages J!0DR4=Xi  
      国际化信息内码 !6BW@GeF]  
:ZTc7 }  
struts.i18n.reload :axRoRg  
      Whether the localization messages should automatically be reloaded xGu r  
      是否国际化信息自动加载 8JM&(Q%#  
5i> $]*o  
struts.locale nTuJEFn{  
      The default locale for the Struts application IAYR+c  
      默认的国际化地区信息 2HpHxVJ  
vk+VP 1D  
struts.mapper.class |rJ=Ksc  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class t0o`-d(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =o Xsb  
Du`JaJI  
struts.multipart.maxSize Q o?O:  
      The maximize size of a multipart request (file upload) 6qRx0"qB  
      multipart请求信息的最大尺寸(文件上传用) H18Tn!RDS  
d p2F  
struts.multipart.parser #1`-*.u  
      The org.apache.struts2.dispatcher.multipart. >xF/Pl  
      MultiPartRequest parser implementation for a multipart request (file upload) #N#'5w-G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) FuVnk~gq  
.$Ik`[+Z  
(&}i`}v_  
struts.multipart.saveDir ,a gc  
      The directory to use for storing uploaded files !_`&Wks  
      设置存储上传文件的目录夹 4#ug]X4Y')  
8)O[Aq::  
struts.objectFactory bu |a0h7e  
      The com.opensymphony.xwork2.ObjectFactory implementation class ERpnuMb  
      com.opensymphony.xwork2.ObjectFactory接口(spring) l ;JA8o\x  
(^@ra$.  
struts.objectFactory.spring.autoWire fG}tMSI  
      Whether Spring should autoWire or not %1H[Wh(U  
      是否自动绑定Spring 33#0J$j7  
&{>cZh}\  
struts.objectFactory.spring.useClassCache ~p1j`r;  
      Whether Spring should use its class cache or not ]%|GmtqZs,  
      是否spring应该使用自身的cache #bMuvaP~  
|UK}  
struts.objectTypeDeterminer K<pV  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class hCCiD9gz  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }2(,K[?  
JQV%fTHS  
struts.serve.static.browserCache LA@w:Fg  
If static content served by the Struts filter should set browser caching header properties or not "]z-: \ V  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <%maDM^_\(  
1abtgDL  
struts.serve.static fJ/e(t  
      Whether the Struts filter should serve static content or not ~MS\  
      是否struts过滤器应该提供静态内容 FO!]P   
U'R)x";=  
struts.tag.altSyntax Yj)#k)x  
      Whether to use the alterative syntax for the tags or not 6b+b/>G0  
      是否可以用替代的语法替代tags 7]9 a<  
]<H&+ &!  
struts.ui.templateDir IqC]!H0  
      The directory containing UI templates }D7I3]2>   
      UI templates的目录夹 CACTE  
Cg&e(  
struts.ui.theme hvA^n@nr  
      The default UI template theme nyBJb(5"B  
      默认的UI template主题 c/zJv*}x ?  
WpF2)R}G=  
struts.url.http.port pcYG~pZ9  
      The HTTP port used by Struts URLs IkBei&4F`  
      设置http端口 Pm lx8@D  
nX(+s*Y+w  
struts.url.https.port I 6<*X  
      The HTTPS port used by Struts URLs Bm"KOr$}-  
      设置https端口 1jy9lP=  
I 4,K43|  
struts.url.includeParams 2C/$Ei^t  
      The default includeParams method to generate Struts URLs /h*>P:i].  
      在url中产生 默认的includeParams P^w#S  
v1%uxthW  
g{8,Wx,,  
struts.velocity.configfile 1jN-4&  
      The Velocity configuration file path mMb'@  
      velocity配置文件路径 UG)8D5  
QS{1CC9$  
struts.velocity.contexts W0epAGrB  
      List of Velocity context names Ys,{8Y,7  
      velocity的context列表 t*>R`,j  
enp)-nS0  
7 qj9&bEy  
struts.velocity.manager.classname t: #6sF  
      org.apache.struts2.views.velocity.VelocityManager implementation class GFel(cx:K  
      org.apache.struts2.views.velocity.VelocityManager接口名 PNaay:a|  
ZJwrLV  
struts.velocity.toolboxlocation m9"n4a|:  
      The location of the Velocity toolbox -TM 0]{  
      velocity工具盒的位置 Eo#u#IY  
struts.xslt.nocache #$c Rkw  
      Whether or not XSLT templates should not be cached %kB8'a3  
      是否XSLT模版应该被缓存 0JlZs]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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