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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 <DII%7q,6/  
Vf=,@7  
struts.action.extension l\d[S]  
      The URL extension to use to determine if the request is meant for a Struts action AgUjC  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n0%S: (  
niYD[Ra\xP  
struts.configuration bQI.Qk  
      The org.apache.struts2.config.Configuration implementation class d(| 4 +^>  
        org.apache.struts2.config.Configuration接口名 f2v~: u  
?g0dr?H  
struts.configuration.files A.r.tf}:  
      A list of configuration files automatically loaded by Struts m"AyO"}I5  
      struts自动加载的一个配置文件列表 :?i,!0#"  
'RNj5r  
struts.configuration.xml.reload XjxI@VXzUV  
      Whether to reload the XML configuration or not 9C5F#(uY  
      是否加载xml配置(true,false) k RSY;V  
BV\~Dm]"  
struts.continuations.package :X7O4?ww  
      The package containing actions that use Rife continuations 2|`Mb~E;  
      含有actions的完整连续的package名称 /1=x8Sb  
n^l5M^.  
struts.custom.i18n.resources 1 7 iw`@  
      Location of additional localization properties files to load FEBRUk6.h  
      加载附加的国际化属性文件(不包含.properties后缀) tlI]);iE,  
k9VWyq__  
struts.custom.properties ]J/;Xp  
      Location of additional configuration properties files to load 6k+tO%{~  
      加载附加的配置文件的位置 V=Bmpg  
{`Mb),G  
)]m4FC:  
struts.devMode ^a!oq~ZSy  
      Whether Struts is in development mode or not ?3v-ppw%  
      是否为struts开发模式 QPvWdjf#mM  
?;w\CS^Qu  
struts.dispatcher.parametersWorkaround I^D*) z   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f&&Ao  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1WY$Vs  
VwXR,(  
struts.enable.DynamicMethodInvocation 'l-VWqR-  
      Allows one to disable dynamic method invocation from the URL m&s;zQ  
        允许动态方法调用 gs~u8"B  
piIGSC  
struts.freemarker.manager.classname 4~WSIR-  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class zXwdU5 8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,.L o)[(  
ax 2#XSCO  
struts.i18n.encoding ?~]mOv>  
      The encoding to use for localization messages  FE1En  
      国际化信息内码 8|\xU9VT  
Y$qjQ1jF+  
struts.i18n.reload i/C0 (!  
      Whether the localization messages should automatically be reloaded -}8r1jQH;  
      是否国际化信息自动加载 E!,jTaZz  
x"Ij+~i{l  
struts.locale SF[Z]|0gs  
      The default locale for the Struts application 9G6auk.m.O  
      默认的国际化地区信息 gDH|I;!  
azTiY@/  
struts.mapper.class ZMK1V)ohn  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .wtYost v  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 zT hut!O  
e)F_zX  
struts.multipart.maxSize W)Yo-%  
      The maximize size of a multipart request (file upload) V<KjKa+sG  
      multipart请求信息的最大尺寸(文件上传用) Xxm7s S  
\,I{*!hw  
struts.multipart.parser a3He-76  
      The org.apache.struts2.dispatcher.multipart. Q"oJhxS  
      MultiPartRequest parser implementation for a multipart request (file upload) %r:4'$E7|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) KkR.p,/  
Lk-h AN{[  
;N _ %O  
struts.multipart.saveDir 9HlM0qE5b  
      The directory to use for storing uploaded files wFBSux$  
      设置存储上传文件的目录夹 4@M}5WJ7  
CY!H)6k  
struts.objectFactory Nk9w ; z&  
      The com.opensymphony.xwork2.ObjectFactory implementation class aZ ta%3`)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^)3=WD'!  
XKT[8o<L  
struts.objectFactory.spring.autoWire \@_?mL@=  
      Whether Spring should autoWire or not SMQC/t]HT  
      是否自动绑定Spring 9a'}j#mJo  
@\=4 Rin/q  
struts.objectFactory.spring.useClassCache >vuR:4B  
      Whether Spring should use its class cache or not !B#tJD  
      是否spring应该使用自身的cache UXHtmi|_:  
P;ZVv{mT  
struts.objectTypeDeterminer Hqu?="f=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 7TZ,bD_  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Uz `OAb  
G4uOY?0N  
struts.serve.static.browserCache 48 mTL+*  
If static content served by the Struts filter should set browser caching header properties or not ZYz8ul$E  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 miY=xwK&  
ED A6b]  
struts.serve.static  b|Eo\l2  
      Whether the Struts filter should serve static content or not .5#+)] l  
      是否struts过滤器应该提供静态内容 GGGz7_s ?  
}&EdA;/o_  
struts.tag.altSyntax uN$ <7KB"  
      Whether to use the alterative syntax for the tags or not 3C#Sr6  
      是否可以用替代的语法替代tags ?A 5;"  
:IozWPs*  
struts.ui.templateDir _wZr`E)  
      The directory containing UI templates Wtflw>-  
      UI templates的目录夹 -TyBb]  
o~VZ%B  
struts.ui.theme `Z (`  
      The default UI template theme Ja%isIdh  
      默认的UI template主题 X@~R<  
$oi8 <8Y  
struts.url.http.port Z&GjG6t  
      The HTTP port used by Struts URLs hOm0ND?;1  
      设置http端口 YUlH5rO3  
D#X&gE  
struts.url.https.port (i]0IYMXy*  
      The HTTPS port used by Struts URLs z+Ej`$E{lD  
      设置https端口 LT/ *y=  
2:6lr4{uY  
struts.url.includeParams e]7J_9t@  
      The default includeParams method to generate Struts URLs WAGU|t#."  
      在url中产生 默认的includeParams ET~^P  
E,|OMK#   
F^7qr  
struts.velocity.configfile s&6/fa  
      The Velocity configuration file path G}'\  
      velocity配置文件路径 q>VvXUyK,  
3O?[Yhk`.  
struts.velocity.contexts 51!#m|  
      List of Velocity context names 2 57q%"  
      velocity的context列表 ->&amPv  
'\Uy;,tu /  
;VgB!  
struts.velocity.manager.classname Yg]!`(db  
      org.apache.struts2.views.velocity.VelocityManager implementation class U~<~>^[  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^W[3Ri G  
Fr,b5 M<L7  
struts.velocity.toolboxlocation Ng\]  
      The location of the Velocity toolbox x)e(g}n  
      velocity工具盒的位置 Xxs0N_va&  
struts.xslt.nocache b|g=&T:pp  
      Whether or not XSLT templates should not be cached ,<=_t{^  
      是否XSLT模版应该被缓存 t~ z;G%a  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五