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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ^x0N] /  
|OLXb+ 7X  
struts.action.extension "`;-5dg  
      The URL extension to use to determine if the request is meant for a Struts action LGc8w>qE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 q]1p Q)\'p  
`\@n&y[`7  
struts.configuration Lx_Jw\YO  
      The org.apache.struts2.config.Configuration implementation class qb;b.P?~D$  
        org.apache.struts2.config.Configuration接口名 @tSB^&jUWu  
ASdW!4.p  
struts.configuration.files =R:O`qdC4e  
      A list of configuration files automatically loaded by Struts %f CkR`:  
      struts自动加载的一个配置文件列表 !n;3jAl&$  
<<-L,0  
struts.configuration.xml.reload `Ij EwKra  
      Whether to reload the XML configuration or not *SJ[~  
      是否加载xml配置(true,false) B9,39rG/7+  
b"\lF1Nf&o  
struts.continuations.package fTpG>*{p  
      The package containing actions that use Rife continuations 1Xi>&;],  
      含有actions的完整连续的package名称 sSh." H  
=oVC*b  
struts.custom.i18n.resources a( ~X  
      Location of additional localization properties files to load $%$zZJ@/  
      加载附加的国际化属性文件(不包含.properties后缀) ;39b.v\^  
Hya.OW{  
struts.custom.properties ^P{y^@XI  
      Location of additional configuration properties files to load I:t ?#)wl  
      加载附加的配置文件的位置 :^W}$7$T  
<cZ/_+H%C  
>&\.{ aj  
struts.devMode ~0+<-T  
      Whether Struts is in development mode or not zf8SpQ2~  
      是否为struts开发模式 CA|l| t^  
vJs6nVbK  
struts.dispatcher.parametersWorkaround 'Ev[G6vo  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +\["HS7+'0  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,8zJD&HMx  
i%!<9D~n  
struts.enable.DynamicMethodInvocation <b'*GBw$  
      Allows one to disable dynamic method invocation from the URL ];CIo> b_(  
        允许动态方法调用 eV%{XR?y  
rI\5djiYJ  
struts.freemarker.manager.classname z#Qe$`4&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7:g_:}m  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [*u\S  
#8L: .,AYE  
struts.i18n.encoding khjdTq\\  
      The encoding to use for localization messages -uN{28;@  
      国际化信息内码 6|lsG6uf  
v5@4 |u3ds  
struts.i18n.reload 0Sk~m4fj(  
      Whether the localization messages should automatically be reloaded w;Azxcw  
      是否国际化信息自动加载 @-K[@e/uwy  
r]-n,  
struts.locale N?t*4Y  
      The default locale for the Struts application '0 ~?zP  
      默认的国际化地区信息 W\-`}{B_/  
2ZV; GS#  
struts.mapper.class 2!LDrvPP  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3{.]!   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 f"gYXaVF+  
#qk=R7" Q  
struts.multipart.maxSize /":/DwI'   
      The maximize size of a multipart request (file upload) dn}EM7:Z  
      multipart请求信息的最大尺寸(文件上传用) tBkgn3w  
EZ>(}  
struts.multipart.parser 0t7)x8c  
      The org.apache.struts2.dispatcher.multipart. N"<.v6Z  
      MultiPartRequest parser implementation for a multipart request (file upload) E,\)tZ;,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Id^q!4Th9  
DZmVm['l  
S0OL;[*.  
struts.multipart.saveDir ZD]{HxGL!  
      The directory to use for storing uploaded files U:99w  
      设置存储上传文件的目录夹 q_ ^yma  
P7T'.|d  
struts.objectFactory f99"~)B|  
      The com.opensymphony.xwork2.ObjectFactory implementation class A",}Ikh='`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) oj.J;[-  
G:1QXwq\j  
struts.objectFactory.spring.autoWire ]#DCO8Vk  
      Whether Spring should autoWire or not u(yN81  
      是否自动绑定Spring y+Nw>\|S  
Q }^Ip7T  
struts.objectFactory.spring.useClassCache %5+X  
      Whether Spring should use its class cache or not y|+5R5}K  
      是否spring应该使用自身的cache T~$Eh6 D  
_'Jjt9@S  
struts.objectTypeDeterminer (Z @dz  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )H]L/n  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D^>d<LX  
zqrqbqK5R  
struts.serve.static.browserCache 8ZbXGQ  
If static content served by the Struts filter should set browser caching header properties or not b3_P??yp  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3n)Kzexh  
'/XP4B\(E  
struts.serve.static .|u`s,\  
      Whether the Struts filter should serve static content or not Q=%W-  
      是否struts过滤器应该提供静态内容 $bKXP(  
IO&U=-pn&  
struts.tag.altSyntax $?!]?{K  
      Whether to use the alterative syntax for the tags or not %'g)MK!e  
      是否可以用替代的语法替代tags %Iflf]l  
l'Za"TL:  
struts.ui.templateDir jmgkY)rb R  
      The directory containing UI templates )c*xKij  
      UI templates的目录夹 AH/^v;-  
GK-P6d  
struts.ui.theme !_3b#Caf  
      The default UI template theme Z'9|  
      默认的UI template主题 @1xVWSF  
#%ld~dgz-  
struts.url.http.port d0}(d Gl  
      The HTTP port used by Struts URLs K"t?  
      设置http端口 ( ./MFf  
f?^-JZ  
struts.url.https.port _:NQF7X#ug  
      The HTTPS port used by Struts URLs OO?N)IB@  
      设置https端口 :4)x  
ks phO-  
struts.url.includeParams :qqG%RB  
      The default includeParams method to generate Struts URLs fsK=]~<g  
      在url中产生 默认的includeParams {5  pK8  
@",#'eC"  
tA4Ra,-c  
struts.velocity.configfile n6,YA2yZO  
      The Velocity configuration file path :4 z\Q]  
      velocity配置文件路径 3QZm *. /"  
UkD\ma  
struts.velocity.contexts [O^/"Qk  
      List of Velocity context names T=~d. &J  
      velocity的context列表 /N%i6t<xU  
l i?@BHEf  
V;RgO}  
struts.velocity.manager.classname gi/k#3_m  
      org.apache.struts2.views.velocity.VelocityManager implementation class Iv3yDL;  
      org.apache.struts2.views.velocity.VelocityManager接口名 /kyO,g$9  
r)-{~JA!  
struts.velocity.toolboxlocation Jb$G  
      The location of the Velocity toolbox f^hJAZ  
      velocity工具盒的位置 z]hRc8 g}d  
struts.xslt.nocache ?mC'ZYQI  
      Whether or not XSLT templates should not be cached ( sl{Rgxe*  
      是否XSLT模版应该被缓存 '{~[e**  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五