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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 C0>)WVCK  
p2GN93,u@P  
struts.action.extension q~\[P4m  
      The URL extension to use to determine if the request is meant for a Struts action p|r>tBv?x  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `Z`o[]%  
)qWO}]F  
struts.configuration p:!FB8  
      The org.apache.struts2.config.Configuration implementation class (/P-9<"U  
        org.apache.struts2.config.Configuration接口名 y+.(E-g  
:bP <H  
struts.configuration.files _2})URU< S  
      A list of configuration files automatically loaded by Struts k a8=`cn  
      struts自动加载的一个配置文件列表 >BMtR0  
~c=*Y=)LG  
struts.configuration.xml.reload :r_/mzR#  
      Whether to reload the XML configuration or not rN~V^k  
      是否加载xml配置(true,false) ~VF?T~Kr_  
Bo*Wm w  
struts.continuations.package *u34~v16,  
      The package containing actions that use Rife continuations $yZP"AsAR  
      含有actions的完整连续的package名称 51>OwEf<R  
,v*\2oG3^  
struts.custom.i18n.resources U,`F2yD/!  
      Location of additional localization properties files to load BQ~\p\  
      加载附加的国际化属性文件(不包含.properties后缀) gqAN-b'  
`LWbL*;Y0  
struts.custom.properties %C >Win)g  
      Location of additional configuration properties files to load \FIOFbwe  
      加载附加的配置文件的位置 z)FGbX  
!`dn# j  
rIj B{X{Z  
struts.devMode ({t6Cbw  
      Whether Struts is in development mode or not d:n .Vp  
      是否为struts开发模式 n*qn8Dq  
; JHf0  
struts.dispatcher.parametersWorkaround e5sQl1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `$VnB  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #fF';Y7  
,5|@vW2@u  
struts.enable.DynamicMethodInvocation 8r jiW#  
      Allows one to disable dynamic method invocation from the URL gM v0[~;u  
        允许动态方法调用 ^+dL7g?+  
eG5xJA^  
struts.freemarker.manager.classname  9\R+g5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class v$|cF'yyF=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 F)tcQO"G  
5lm>~J!/^  
struts.i18n.encoding qP[jtRIN  
      The encoding to use for localization messages y-:d`>b>\  
      国际化信息内码 (Mt-2+"+  
X gA( D  
struts.i18n.reload K~\Ocl  
      Whether the localization messages should automatically be reloaded i"y @Aj!7  
      是否国际化信息自动加载 :AC(  \  
!o`h*G-x  
struts.locale `c_Wk] i  
      The default locale for the Struts application {X&H  
      默认的国际化地区信息 meyO=>  
I6 Q{ Axy  
struts.mapper.class Qnv)\M1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nA#dXckoc  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :\G`}_db'  
)>^!X$`3  
struts.multipart.maxSize "[\TL#/  
      The maximize size of a multipart request (file upload) ?xCWg.#l4V  
      multipart请求信息的最大尺寸(文件上传用) -IG@v0_w  
H*EN199  
struts.multipart.parser $%3%&+z$I  
      The org.apache.struts2.dispatcher.multipart. ,y*|f0&"~  
      MultiPartRequest parser implementation for a multipart request (file upload) $[*<e~?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) DqBiBH[%h  
J?bx<$C@  
CF@j]I@{   
struts.multipart.saveDir s\ YHT.O?  
      The directory to use for storing uploaded files hdH}4W  
      设置存储上传文件的目录夹 /.[78:G\,  
n]P,5  
struts.objectFactory ]hi5 nA  
      The com.opensymphony.xwork2.ObjectFactory implementation class j|ZhGerp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) e[L%M:e9U  
(wZ/I(4  
struts.objectFactory.spring.autoWire S8)6@ECC  
      Whether Spring should autoWire or not #?RT$L>n  
      是否自动绑定Spring =E-V-?N\  
&qae+p?  
struts.objectFactory.spring.useClassCache Z {*<G x  
      Whether Spring should use its class cache or not O/PO?>@-/  
      是否spring应该使用自身的cache wy4 }CG  
_air'XQ&!  
struts.objectTypeDeterminer j.7BoV  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6{TUs>~  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o0F&,|'  
}:hN}*H  
struts.serve.static.browserCache TKZ[H$Z  
If static content served by the Struts filter should set browser caching header properties or not p;9"0rj,z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v_e3ZA:%  
{:c5/ ,7c;  
struts.serve.static QlK]2r9  
      Whether the Struts filter should serve static content or not oD&axNk  
      是否struts过滤器应该提供静态内容 RD0=\!w*5  
|t uh/e@dx  
struts.tag.altSyntax ^s?=$&8f![  
      Whether to use the alterative syntax for the tags or not *VgiJ  
      是否可以用替代的语法替代tags =' <789wT  
BDz 7$k]  
struts.ui.templateDir @pO2A6 Ks  
      The directory containing UI templates .h[yw$z6  
      UI templates的目录夹 zM2 _z  
" TP^:Ln  
struts.ui.theme :2(U3~3:  
      The default UI template theme ?_nbaFQK3  
      默认的UI template主题 IcP\#zhEv  
20A`]-D  
struts.url.http.port jPa"|9A  
      The HTTP port used by Struts URLs Wg!JQRHtT  
      设置http端口 QSSA)  
6w)a.^yx7  
struts.url.https.port xSy`VuSl  
      The HTTPS port used by Struts URLs P:&X1MC  
      设置https端口 = 4 wf  
?Es(pwJB  
struts.url.includeParams YML]pNB  
      The default includeParams method to generate Struts URLs bfX yuv  
      在url中产生 默认的includeParams L(+I  
U;#9^<^  
T1#r>3c\  
struts.velocity.configfile :kQydCuK  
      The Velocity configuration file path Bvsxn5z+:  
      velocity配置文件路径 _T\cJcWf  
)J{ .z   
struts.velocity.contexts |Q+:vb:  
      List of Velocity context names '|^x[8^  
      velocity的context列表 B nUWg ^E  
W!t=9i  
ble[@VW|  
struts.velocity.manager.classname +FJ+,|i  
      org.apache.struts2.views.velocity.VelocityManager implementation class +o-jMvK9  
      org.apache.struts2.views.velocity.VelocityManager接口名 ???`BF[|  
,8 G6q_ud  
struts.velocity.toolboxlocation T7~H|%  
      The location of the Velocity toolbox ?/|KM8  
      velocity工具盒的位置 '8w>=9Xl  
struts.xslt.nocache AX;!-|bW  
      Whether or not XSLT templates should not be cached )9i$ 1"a(  
      是否XSLT模版应该被缓存 MUn(ZnQy|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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