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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 oclU)f.,  
G9am}qr  
struts.action.extension oD9L5c)  
      The URL extension to use to determine if the request is meant for a Struts action Dm}M8`|X  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 zkqn>  
4W49*Je  
struts.configuration z%T|L[(6  
      The org.apache.struts2.config.Configuration implementation class \RPwSx  
        org.apache.struts2.config.Configuration接口名 3O Ks?i3A  
T>b"Gj/  
struts.configuration.files  f}*:wj  
      A list of configuration files automatically loaded by Struts ]a uqf  
      struts自动加载的一个配置文件列表   !\BM  
v.4G>00^  
struts.configuration.xml.reload n53c} ^  
      Whether to reload the XML configuration or not [dz3k@ >0  
      是否加载xml配置(true,false)  h 7l>(3  
7hu7rWY`E  
struts.continuations.package b5Q>e%i#  
      The package containing actions that use Rife continuations /NiD#s0t  
      含有actions的完整连续的package名称 -])=\n!=  
|6^%_kO!|  
struts.custom.i18n.resources 75> Ok/  
      Location of additional localization properties files to load .L"IG=Uh#  
      加载附加的国际化属性文件(不包含.properties后缀) $)X8'1%6  
u3,O)[qV  
struts.custom.properties Uey'c1  
      Location of additional configuration properties files to load ]e7?l/N[  
      加载附加的配置文件的位置 e3p:lu  
Ok\X%avq  
Q[q`)~|  
struts.devMode T*=*$%  
      Whether Struts is in development mode or not U1lqg?KO  
      是否为struts开发模式 &dK !+  
"dDrw ]P;  
struts.dispatcher.parametersWorkaround 9 6#]P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7m]J7 +4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pWv1XTs@t:  
q TN)2G  
struts.enable.DynamicMethodInvocation Su? cC/  
      Allows one to disable dynamic method invocation from the URL I_->vC|>  
        允许动态方法调用 Z0-?;jA@  
>}O}~$o  
struts.freemarker.manager.classname v*dw'i  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :Y1;= W  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 '6>*J  
<LXx_{=:  
struts.i18n.encoding xh9$ZavB*  
      The encoding to use for localization messages >zL5*:G  
      国际化信息内码 m_Q&zp["  
_!, J iOI  
struts.i18n.reload f^u-Myk  
      Whether the localization messages should automatically be reloaded NV9JMB{q  
      是否国际化信息自动加载 K5XW&|tY!  
6'@{ * u  
struts.locale x{<l8vL=-c  
      The default locale for the Struts application E!mv}  
      默认的国际化地区信息 'x"(OdM:[  
2=0HQXXrq  
struts.mapper.class 8=joVbs  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class dY~z6bT  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 p)?6#~9$  
fxr#T'i  
struts.multipart.maxSize {N/%%O.b  
      The maximize size of a multipart request (file upload) \#B<'J9.`  
      multipart请求信息的最大尺寸(文件上传用) yrfV&C%=n  
r@Jy*2[-Jq  
struts.multipart.parser Yb/*2iWX  
      The org.apache.struts2.dispatcher.multipart. 9`Fw}yAt  
      MultiPartRequest parser implementation for a multipart request (file upload) s<k2vbhI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vPz7*w  
x(eX.>o\  
^IIy>  
struts.multipart.saveDir v}V[sIs}  
      The directory to use for storing uploaded files nM b@  B  
      设置存储上传文件的目录夹 l$EN7^%w  
"opMS/a"7  
struts.objectFactory dpNERc5  
      The com.opensymphony.xwork2.ObjectFactory implementation class p@4GI[4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0NC70+4L  
7dACbqba  
struts.objectFactory.spring.autoWire pb)8?1O|s  
      Whether Spring should autoWire or not (?JdiY/  
      是否自动绑定Spring bDtb6hL  
,%l}TSs  
struts.objectFactory.spring.useClassCache X~JP 1  
      Whether Spring should use its class cache or not foQo`}"5  
      是否spring应该使用自身的cache (uDd_@a9t  
+>vKI8g*RH  
struts.objectTypeDeterminer * zyik[o  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )hj:Xpj9#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 E BBd  
4m1r@ $  
struts.serve.static.browserCache KAFR.h:p9  
If static content served by the Struts filter should set browser caching header properties or not ~tW~%]bs2Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 mOn_#2=KF  
Jut&J]{h  
struts.serve.static B#SVN Lv  
      Whether the Struts filter should serve static content or not ]FTi2B{}H  
      是否struts过滤器应该提供静态内容 VLkAsM5}%  
_"yA1D0d_  
struts.tag.altSyntax bD:0k.`  
      Whether to use the alterative syntax for the tags or not  L1 /`/  
      是否可以用替代的语法替代tags Cg]),S  
!+^'Ej)z  
struts.ui.templateDir Y`bTf@EP>  
      The directory containing UI templates sAL ]N][Y  
      UI templates的目录夹 31G0 B_T  
Y6 sX|~Zy  
struts.ui.theme 8iJB'#''*  
      The default UI template theme RK|*yt"f"  
      默认的UI template主题 lYQ|NL():  
qclc--fsE  
struts.url.http.port }>0>OqvF  
      The HTTP port used by Struts URLs yivu|q  
      设置http端口 &.*UVc2+Y  
4.jRTL5-oj  
struts.url.https.port /]xa}{^B  
      The HTTPS port used by Struts URLs )XK\[tL  
      设置https端口 $P0q!  
'!Hs"{~{  
struts.url.includeParams `/P/2{,~  
      The default includeParams method to generate Struts URLs G!r)N0?_f  
      在url中产生 默认的includeParams &R_7]f+%)  
Q]xkDr?   
\BXzmok  
struts.velocity.configfile +C{-s  
      The Velocity configuration file path eNAxVF0  
      velocity配置文件路径 ?s^3 o{!<W  
YoKyiO!   
struts.velocity.contexts +)jll#}?  
      List of Velocity context names _q27 3QG/"  
      velocity的context列表 !EB<N<P"t  
ob{'Z]-V  
'|^:,@8P9  
struts.velocity.manager.classname PWpt\g  
      org.apache.struts2.views.velocity.VelocityManager implementation class #lP8/-s^  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;X,u   
vv @m{,7#Y  
struts.velocity.toolboxlocation .="X vVdkp  
      The location of the Velocity toolbox fq6%@M~  
      velocity工具盒的位置 x 6`!  
struts.xslt.nocache "+"=iwEAz  
      Whether or not XSLT templates should not be cached +&`W\?.~  
      是否XSLT模版应该被缓存 != ,4tg`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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