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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tnb'\}Vn  
n*AN/LBp  
struts.action.extension N-p||u  
      The URL extension to use to determine if the request is meant for a Struts action \dB z-H'@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ij_5=4aZ-  
!YM:?%B  
struts.configuration ~:0U.v_V  
      The org.apache.struts2.config.Configuration implementation class *&_(kq z'1  
        org.apache.struts2.config.Configuration接口名 |U~\;m@  
&u2m6 r>W  
struts.configuration.files r5lPO*?Df  
      A list of configuration files automatically loaded by Struts '|%\QWuZ  
      struts自动加载的一个配置文件列表 u8x#XESR7  
yi-)4#YN  
struts.configuration.xml.reload "[_gRe*2  
      Whether to reload the XML configuration or not !a%_A^t7  
      是否加载xml配置(true,false) JsX}PVuL  
(c3O> *M  
struts.continuations.package ,k:>Z&:  
      The package containing actions that use Rife continuations &xC5Mecb*  
      含有actions的完整连续的package名称 >n&+<06  
KpQ@cc  
struts.custom.i18n.resources T}'*Gry  
      Location of additional localization properties files to load >#;>6q9_  
      加载附加的国际化属性文件(不包含.properties后缀) `apCu  
i|!R*"  
struts.custom.properties w0.;86<MV  
      Location of additional configuration properties files to load y]k{u\2A  
      加载附加的配置文件的位置 ,}^;q58  
*'@T+$3s  
? a*yK8S  
struts.devMode @C~gU@F  
      Whether Struts is in development mode or not +=kz".$  
      是否为struts开发模式 2-#&ktM%V  
b u/GaE~  
struts.dispatcher.parametersWorkaround )Ee`11  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =@;\9j  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @# p{,L  
c5eimA%`  
struts.enable.DynamicMethodInvocation Fe 7 8YDx?  
      Allows one to disable dynamic method invocation from the URL uH} }z!  
        允许动态方法调用 c`)[-  
k#5Qwxu`  
struts.freemarker.manager.classname &x[V<Gq  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :{#w-oC>6P  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a0wpsl iF  
vWYU'_=  
struts.i18n.encoding ^{O1+7d[.  
      The encoding to use for localization messages _6sSS\  
      国际化信息内码 V$  MMK  
Ez^wK~  
struts.i18n.reload Q"GZh.m  
      Whether the localization messages should automatically be reloaded Lnltt86  
      是否国际化信息自动加载 9iK%@k  
5.U|CL  
struts.locale 0*/[z~Z-1  
      The default locale for the Struts application 7  nawnS  
      默认的国际化地区信息  OJ# d  
1|7t q  
struts.mapper.class l4E0/ F  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b5%T)hn=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z~g7^,-t  
a7fn{VU8  
struts.multipart.maxSize _$gP-J  
      The maximize size of a multipart request (file upload) S1*xM  
      multipart请求信息的最大尺寸(文件上传用) @$|bMH*1:  
[jKhC<t}  
struts.multipart.parser JjH141 n%D  
      The org.apache.struts2.dispatcher.multipart. !ac,qj7spa  
      MultiPartRequest parser implementation for a multipart request (file upload) \2 `|eo  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gCI{g. [I!  
h}GzQry1  
Up1e4mNL  
struts.multipart.saveDir /V>yF&p  
      The directory to use for storing uploaded files `+T"^{ Z  
      设置存储上传文件的目录夹 IKeO&]k  
f2M}N  
struts.objectFactory 6"c(5#H  
      The com.opensymphony.xwork2.ObjectFactory implementation class WP? AQD  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1n>(CwLG"  
^r 9  
struts.objectFactory.spring.autoWire EUuk%<q7C(  
      Whether Spring should autoWire or not C.=[K_  
      是否自动绑定Spring pb|,rLNZ  
/E5>cqX4A  
struts.objectFactory.spring.useClassCache 6Iv &c2  
      Whether Spring should use its class cache or not 1>_2 =^[  
      是否spring应该使用自身的cache qL!pDZk  
vqJq=\ .m  
struts.objectTypeDeterminer 2fMKS  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "l-R|>6~  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 t`"pn <  
y9Q.TL>=[  
struts.serve.static.browserCache te#Wv9x  
If static content served by the Struts filter should set browser caching header properties or not 0{.[#!CSk  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 t|}}#Z!I[f  
pn aSOyR  
struts.serve.static /9@ VnM  
      Whether the Struts filter should serve static content or not @A8@j%CK1  
      是否struts过滤器应该提供静态内容 j4]y(AA  
Q;eY]l8  
struts.tag.altSyntax 63pd W/\j  
      Whether to use the alterative syntax for the tags or not p2(Z(V7*  
      是否可以用替代的语法替代tags kuo!}QFL  
lw_PQ4Hp  
struts.ui.templateDir {1J4Q[N9m  
      The directory containing UI templates G9r~O#=gy  
      UI templates的目录夹 %"BJW  
9%^O-8!  
struts.ui.theme cP >[H:\Xc  
      The default UI template theme nm]m!.$d  
      默认的UI template主题 7Nlk:f)*-  
}]|e0 w:  
struts.url.http.port 2 UPG8]  
      The HTTP port used by Struts URLs fsUZG6  
      设置http端口 H[U"eS."  
N<T@GQwkS  
struts.url.https.port kJ.0|l0  
      The HTTPS port used by Struts URLs 6=g! Hs{  
      设置https端口 5O"$'iL  
..UA*#%1  
struts.url.includeParams E{{Kz r2$  
      The default includeParams method to generate Struts URLs U,7}VdO  
      在url中产生 默认的includeParams 9 f= ~E8P  
yUEvva  
.g!K| c  
struts.velocity.configfile WM9z~z'2a  
      The Velocity configuration file path X \qG WpN%  
      velocity配置文件路径 J1@skj4#\~  
}mOo=)C!  
struts.velocity.contexts w L4P-4'  
      List of Velocity context names _[$,WuG1  
      velocity的context列表 1EA#c>I$  
> - U+o.o  
U}DLzn|w  
struts.velocity.manager.classname 3_ko=& B$  
      org.apache.struts2.views.velocity.VelocityManager implementation class b!`{fwV  
      org.apache.struts2.views.velocity.VelocityManager接口名 CO`?M,x>  
9E}JtLgT  
struts.velocity.toolboxlocation q@vqhE4  
      The location of the Velocity toolbox '+7"dHLC;  
      velocity工具盒的位置 f-Zi!AGh>  
struts.xslt.nocache z"f+;1  
      Whether or not XSLT templates should not be cached 2ae"Sd!-2  
      是否XSLT模版应该被缓存 nB6 $*'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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