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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4S<M9A}  
?=? _32O  
struts.action.extension $ DL}jH^S  
      The URL extension to use to determine if the request is meant for a Struts action q[&Kr+)j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _K^Q]V[nZ  
4q}+8F`0F  
struts.configuration @J[@Pu O  
      The org.apache.struts2.config.Configuration implementation class :@((' X(".  
        org.apache.struts2.config.Configuration接口名 gP2zDI   
h  d3  
struts.configuration.files aM}9ZurI  
      A list of configuration files automatically loaded by Struts V8^la'_j  
      struts自动加载的一个配置文件列表 ~ :ASv>m  
FK _ ZE>  
struts.configuration.xml.reload *w+'I*QSt~  
      Whether to reload the XML configuration or not +\eJxyO  
      是否加载xml配置(true,false) \SWTP1  
*uc/| c  
struts.continuations.package JrzPDb`m  
      The package containing actions that use Rife continuations PCviQ!X  
      含有actions的完整连续的package名称 RM;a]g*  
g#5R|| r  
struts.custom.i18n.resources }"D;?$R!  
      Location of additional localization properties files to load -?Cr&!*B  
      加载附加的国际化属性文件(不包含.properties后缀) G:AA>t  
7v5]% %E/  
struts.custom.properties wQhNQ(H~\  
      Location of additional configuration properties files to load Cj-s  
      加载附加的配置文件的位置 7Ak<e tHD  
3s6obw$ki  
GX>8B:]o|  
struts.devMode m5K?oV@n  
      Whether Struts is in development mode or not EA"hie7  
      是否为struts开发模式 W$4$%r8  
\V? .^/  
struts.dispatcher.parametersWorkaround mY"7/dw<v  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic TnF~'RZYb  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )DgXsT  
B7%K}|Qg  
struts.enable.DynamicMethodInvocation 4ud(5m;Rle  
      Allows one to disable dynamic method invocation from the URL nu0pzq\6  
        允许动态方法调用 2"IV  
8y LcTA$T  
struts.freemarker.manager.classname Q:A#4Z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class nLN0zfhE#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9\Ii$Mp  
[LYO'-g^F#  
struts.i18n.encoding F>fCp  
      The encoding to use for localization messages w!F>fcm  
      国际化信息内码 O_FB^BB  
Nk'<*;e  
struts.i18n.reload =U]9>  
      Whether the localization messages should automatically be reloaded OX_y"]utU  
      是否国际化信息自动加载 qM\ 2f<)  
^^a6 (b  
struts.locale TRhMxH  
      The default locale for the Struts application ,P eR}E;c  
      默认的国际化地区信息 AdDX_\V,*  
c!EA>:;(<  
struts.mapper.class tOIqX0dWd  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -SsgW  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  r h*F  
\Zj%eW!m  
struts.multipart.maxSize gIB3DuUo  
      The maximize size of a multipart request (file upload) AyE*1 FD  
      multipart请求信息的最大尺寸(文件上传用) .S k+"iH5  
%2QGbnt_*  
struts.multipart.parser p{Lrv%-j  
      The org.apache.struts2.dispatcher.multipart. )z[C=  
      MultiPartRequest parser implementation for a multipart request (file upload) ,^/Wv!uPE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ha :l-<a  
=pL$*`]?  
Nq8ON!<<  
struts.multipart.saveDir (TZK~+]@sb  
      The directory to use for storing uploaded files E7X6RB b  
      设置存储上传文件的目录夹 odhcD;^X1  
K~L&Z?~|E  
struts.objectFactory Z RVt2  
      The com.opensymphony.xwork2.ObjectFactory implementation class 'O<b'}-A  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q[s,q3n~  
\{h_i FU!  
struts.objectFactory.spring.autoWire { DYY9MG8  
      Whether Spring should autoWire or not S?688  
      是否自动绑定Spring K9N31'  
_^iY;&  
struts.objectFactory.spring.useClassCache %1?t)Bg  
      Whether Spring should use its class cache or not Z(MZbzY7Hq  
      是否spring应该使用自身的cache lp`j3)  
;4 ;gaf  
struts.objectTypeDeterminer be+-p  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6#z8 %k aX  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6 H|SiO9  
'2^}de!E  
struts.serve.static.browserCache Phn^0 iF  
If static content served by the Struts filter should set browser caching header properties or not GfONm6A  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L3eF BF/  
$kUB%\`  
struts.serve.static P(aBJ*((~  
      Whether the Struts filter should serve static content or not hK?GIbRZ  
      是否struts过滤器应该提供静态内容 "r^RfZ;  
<B6md i'R  
struts.tag.altSyntax - Jaee,P  
      Whether to use the alterative syntax for the tags or not "6U0 !.ro@  
      是否可以用替代的语法替代tags d"|_NG`vr  
V(ELrjB0  
struts.ui.templateDir `l|Oj$  
      The directory containing UI templates oCT,v0+4O  
      UI templates的目录夹 zyPb\/  
Wl| i$L)7  
struts.ui.theme $}/tlA&e  
      The default UI template theme 7Z>vQf B  
      默认的UI template主题 j4XVk@'OX  
ka_m Q<{9  
struts.url.http.port O=%Ht-kOc  
      The HTTP port used by Struts URLs Snkb^Kt  
      设置http端口 :<g0Ho?e  
_7!ZnJrR  
struts.url.https.port "51/,D  
      The HTTPS port used by Struts URLs 6ALjM-t=V  
      设置https端口 GCl *x:  
Q>5f@aN  
struts.url.includeParams $%EX~$=m]-  
      The default includeParams method to generate Struts URLs h0F=5| B  
      在url中产生 默认的includeParams @Ou H=<YN  
Cu@q*:'  
& AK\Pw)  
struts.velocity.configfile ,!Wo6{'  
      The Velocity configuration file path %{ BV+&  
      velocity配置文件路径 ? dJd7+A  
%bw+>:Tr  
struts.velocity.contexts [{Wo:c9Qq1  
      List of Velocity context names "}()/  
      velocity的context列表 qc(e3x  
c/$].VG0  
jf)cDj2  
struts.velocity.manager.classname "M/c0`>C!i  
      org.apache.struts2.views.velocity.VelocityManager implementation class f0P,j~]  
      org.apache.struts2.views.velocity.VelocityManager接口名 JSUD$|RiJ  
2TGND-(j  
struts.velocity.toolboxlocation -;cF)C--12  
      The location of the Velocity toolbox S(.J  
      velocity工具盒的位置 nmpc<&<<  
struts.xslt.nocache 7rD 8  
      Whether or not XSLT templates should not be cached #M!u';bZ  
      是否XSLT模版应该被缓存 z}-CU GS  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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