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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 CVt:tV  
js..k*j  
struts.action.extension a7@':Rb n  
      The URL extension to use to determine if the request is meant for a Struts action <9bfX 91  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 + ;LO|!  
a-bj! Rs  
struts.configuration 9Gc4mwu  
      The org.apache.struts2.config.Configuration implementation class ouE/\4'NB  
        org.apache.struts2.config.Configuration接口名 }nUq=@ej  
W2Ik!wEe&  
struts.configuration.files N xW Dw  
      A list of configuration files automatically loaded by Struts 77b^d9! ~  
      struts自动加载的一个配置文件列表 ~~\C.6c#  
&pzf*|}  
struts.configuration.xml.reload RH}i=  
      Whether to reload the XML configuration or not QJ,[K _  
      是否加载xml配置(true,false) BICG@  
uo8[,'  
struts.continuations.package 0H/)wy2ym  
      The package containing actions that use Rife continuations ZccvZl ;b  
      含有actions的完整连续的package名称 Fd86P.Df  
H[_i=X3-~  
struts.custom.i18n.resources FMi:2.E  
      Location of additional localization properties files to load `+m:@0&L  
      加载附加的国际化属性文件(不包含.properties后缀) ?Gl]O3@3  
bEKhU\@=J  
struts.custom.properties g7" 2}|qxo  
      Location of additional configuration properties files to load ;=p3L<~c`K  
      加载附加的配置文件的位置 sg8[TFX@Z  
vc0LV'lmg  
-|GKtZ]}  
struts.devMode SF=TG84<  
      Whether Struts is in development mode or not R*=88ds  
      是否为struts开发模式 u*T( n s l  
E|vXM"zFl  
struts.dispatcher.parametersWorkaround bu9.Hv T'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M$48}q+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) } J[Z)u  
)dd1B>ej]  
struts.enable.DynamicMethodInvocation ^)y8X.iO  
      Allows one to disable dynamic method invocation from the URL O9C&1A|lA  
        允许动态方法调用 =%B5TBG  
\%|Xf[AX  
struts.freemarker.manager.classname 3K=%I+G(4  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p|C[T]J\@  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 B[k=6EU8k  
: eCeJ~&E  
struts.i18n.encoding {Q}F.0Q  
      The encoding to use for localization messages !:PiQ19 'u  
      国际化信息内码 !Ii[`H  
^Z-oO#)h#  
struts.i18n.reload o1vK2V  
      Whether the localization messages should automatically be reloaded [!De|,u(^  
      是否国际化信息自动加载 j4<K0-?  
.g3=L  
struts.locale %vv`Vx2  
      The default locale for the Struts application ?-zuy US  
      默认的国际化地区信息 <.mH-Y5i  
g)5mr:\  
struts.mapper.class sH.=Faos  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 41x"Q?.bY  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 +fvD1xHI  
"M, 1ElQ  
struts.multipart.maxSize xeL"FzF:V  
      The maximize size of a multipart request (file upload) ~o>Gm>5!HH  
      multipart请求信息的最大尺寸(文件上传用) 0-uw3U<  
>.6|\{*sG  
struts.multipart.parser n1JtY75#,/  
      The org.apache.struts2.dispatcher.multipart. 2E?!Q I\O  
      MultiPartRequest parser implementation for a multipart request (file upload) J\Hv42  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !b"?l"C+u  
xorafL  
r\d(*q3B  
struts.multipart.saveDir > 1(J  
      The directory to use for storing uploaded files @AF<Xp{  
      设置存储上传文件的目录夹 ~ ;LzTL  
Z,/K$;YWo  
struts.objectFactory @zC6`  
      The com.opensymphony.xwork2.ObjectFactory implementation class J*[@M*R;&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 'L7qf'RV  
UXlZI'|He  
struts.objectFactory.spring.autoWire :{2~s  
      Whether Spring should autoWire or not HeO:=OE~>  
      是否自动绑定Spring Z(7kwhP[`  
i1|>JM[V  
struts.objectFactory.spring.useClassCache dYwkP^KB  
      Whether Spring should use its class cache or not QXZyiJX}  
      是否spring应该使用自身的cache >UMxlvTg&  
{$,\Qg  
struts.objectTypeDeterminer N(Ru/9!y"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >Jmla~A  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "~5cz0 H3v  
*m}8L%<HT  
struts.serve.static.browserCache +bS\iw+  
If static content served by the Struts filter should set browser caching header properties or not U\p`YZ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a$ "nNmD?  
n&njSj/  
struts.serve.static \y5lYb,*c_  
      Whether the Struts filter should serve static content or not Ln4]uqMG.  
      是否struts过滤器应该提供静态内容 K9lekevB  
>I|8yqbfm  
struts.tag.altSyntax _6nAxm&x`%  
      Whether to use the alterative syntax for the tags or not T@tsM|pI  
      是否可以用替代的语法替代tags  SvT0%2  
7a1o#O  
struts.ui.templateDir ->rqr#  
      The directory containing UI templates =P]Z"Ok  
      UI templates的目录夹 &t^*0/~  
0&UG=q  
struts.ui.theme d ItfR'$  
      The default UI template theme byxlC?q7  
      默认的UI template主题 } Bf@69  
%dzt'uz  
struts.url.http.port WR{m?neE_N  
      The HTTP port used by Struts URLs He(65ciT<O  
      设置http端口 zr /v.$<  
y>EW,%leC  
struts.url.https.port 509T?\r  
      The HTTPS port used by Struts URLs `eM ZhY o  
      设置https端口 7GOBb|  
)Ka-vX)D@  
struts.url.includeParams l8FJ\5'M  
      The default includeParams method to generate Struts URLs DK74s  
      在url中产生 默认的includeParams iT}>a30]B  
7|5kak>=  
o8R_ Ojh  
struts.velocity.configfile 9\4x<*  
      The Velocity configuration file path /oT~CB..  
      velocity配置文件路径 I=kqkuW  
#<xFO^TB  
struts.velocity.contexts ~#E&E%sJ  
      List of Velocity context names |*NLWN.ja)  
      velocity的context列表 /o9it;  
gw)4P tb!  
<=NnrZOF  
struts.velocity.manager.classname dPEDsG0$a  
      org.apache.struts2.views.velocity.VelocityManager implementation class K1 "HJsj  
      org.apache.struts2.views.velocity.VelocityManager接口名 }|Qh+{H*.  
ni/s/^  
struts.velocity.toolboxlocation 2nyK'k  
      The location of the Velocity toolbox e3ZRL91c  
      velocity工具盒的位置 cg8/v:B  
struts.xslt.nocache |HycBTN#E  
      Whether or not XSLT templates should not be cached ZWCsrV*;  
      是否XSLT模版应该被缓存 y~+LzDV  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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