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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $,bLb5}Qu  
l? 7D0  
struts.action.extension 0urQA_JC  
      The URL extension to use to determine if the request is meant for a Struts action fF<~2MiKw  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4R}2H>VV%  
z${DW@o3  
struts.configuration &(irri_  
      The org.apache.struts2.config.Configuration implementation class J4=~.&6  
        org.apache.struts2.config.Configuration接口名 4fp}`U  
@7.Ews5Mke  
struts.configuration.files y1@{(CDp"  
      A list of configuration files automatically loaded by Struts I+ydVj(Op  
      struts自动加载的一个配置文件列表 W!htCwnkF  
.y|*  
struts.configuration.xml.reload A)'{G  
      Whether to reload the XML configuration or not 9Yd<_B#  
      是否加载xml配置(true,false) Ptn0;GC  
/_>S0  
struts.continuations.package _@SC R%  
      The package containing actions that use Rife continuations uBH4E;[f  
      含有actions的完整连续的package名称 E ekX|*  
5_0Eh!sx  
struts.custom.i18n.resources }eSaF@.  
      Location of additional localization properties files to load CO-9-sQx  
      加载附加的国际化属性文件(不包含.properties后缀) AvH^9zEE(  
ioz4kG!  
struts.custom.properties r m\]  
      Location of additional configuration properties files to load g2BE-0,R  
      加载附加的配置文件的位置 RQ!kVM@  
=J<3B H^m  
c7,p5[  
struts.devMode Qne@Vf kA  
      Whether Struts is in development mode or not bRfac/:}  
      是否为struts开发模式 <V>]-bl/  
4Zo.c* BZ  
struts.dispatcher.parametersWorkaround Wv8?G~>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y'mtMLfMc  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =g UOHH  
RGf&KV/  
struts.enable.DynamicMethodInvocation Z<@0~t_:?p  
      Allows one to disable dynamic method invocation from the URL J>TNyVaoQ  
        允许动态方法调用 #;z;8q  
ACctyGd  
struts.freemarker.manager.classname O,x[6P54P  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e?,n>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 58V`I5_  
`zw XfY,%  
struts.i18n.encoding r roI  
      The encoding to use for localization messages e ^2n58  
      国际化信息内码 [+ K jun_  
_ VKBzOH  
struts.i18n.reload h'jc4mu0  
      Whether the localization messages should automatically be reloaded Qzt'ZK  
      是否国际化信息自动加载 Y 3h`uLQ  
?(0=+o(`  
struts.locale qILb>#  
      The default locale for the Struts application  k{d]  
      默认的国际化地区信息 N:x--,2  
[MhKR }a  
struts.mapper.class w;W# 'pE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]l>LU2 sx  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 k<Qhw)M8  
{bHUZen  
struts.multipart.maxSize iO+,U}&  
      The maximize size of a multipart request (file upload) ,sI<AFI  
      multipart请求信息的最大尺寸(文件上传用) x{4{.s%+:  
Bs)'Gk`1  
struts.multipart.parser 0Un?[O  
      The org.apache.struts2.dispatcher.multipart. 0$ JH5RC  
      MultiPartRequest parser implementation for a multipart request (file upload) 3>M%?d  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) B\S}*IE  
B>.x@(}V~  
 |W_;L6)  
struts.multipart.saveDir ORuC("  
      The directory to use for storing uploaded files K*I!:1;3N  
      设置存储上传文件的目录夹 /9ctmW1!<  
@GUlw[vi  
struts.objectFactory ZP{<f~;  
      The com.opensymphony.xwork2.ObjectFactory implementation class +`,;tz=?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `>)[UG!:|  
HxSq &j*F  
struts.objectFactory.spring.autoWire ~jC+6v  
      Whether Spring should autoWire or not ];xDXQd  
      是否自动绑定Spring e[ yN  
1r$*8 |p  
struts.objectFactory.spring.useClassCache bd]9 kRq1K  
      Whether Spring should use its class cache or not .DNPL5[v  
      是否spring应该使用自身的cache !]5}N^X  
@<NuuYQ&  
struts.objectTypeDeterminer ;/:Sx/#s  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c+ D <  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wXjidOd $  
3xg9D.A  
struts.serve.static.browserCache qv& Bai[  
If static content served by the Struts filter should set browser caching header properties or not *5IB@^<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $Nd,6w*`  
?iZ2sRWR6  
struts.serve.static mG"xo^1_H  
      Whether the Struts filter should serve static content or not %UAF~2]g  
      是否struts过滤器应该提供静态内容 m _cRK}>  
28k=@k^q  
struts.tag.altSyntax CP~mKmMV  
      Whether to use the alterative syntax for the tags or not &&nbdu  
      是否可以用替代的语法替代tags 4 km^S9  
2n)?)w]!M  
struts.ui.templateDir p^CTHk_|  
      The directory containing UI templates #x;,RPw5  
      UI templates的目录夹  />Q}0H g  
\yl|*h3  
struts.ui.theme @- }*cQ4u?  
      The default UI template theme {j=`  
      默认的UI template主题 fuzB;Ea  
P q$0ih  
struts.url.http.port N_I KH)  
      The HTTP port used by Struts URLs Cb1w8l0  
      设置http端口 D"J',YN$  
 g5 T  
struts.url.https.port 0z'GN#mT5  
      The HTTPS port used by Struts URLs S=(<m%f  
      设置https端口 Y=p!xr>  
h);^4cU  
struts.url.includeParams M?!@L:b[  
      The default includeParams method to generate Struts URLs ^|H={pd'c0  
      在url中产生 默认的includeParams #l ZK_N|1x  
N+'j on}U  
_ Ao$)Gu)  
struts.velocity.configfile "$XX4w M  
      The Velocity configuration file path O&1qL)  
      velocity配置文件路径 In?=$_p  
.4p3~r?=S  
struts.velocity.contexts i|J%jA  
      List of Velocity context names tLBtE!J$[  
      velocity的context列表 qT48Y  
Y8zTw`:V  
#0>xa]S  
struts.velocity.manager.classname MC* Hl`C  
      org.apache.struts2.views.velocity.VelocityManager implementation class r/2= nE  
      org.apache.struts2.views.velocity.VelocityManager接口名 5BJ E  
-~mgct5  
struts.velocity.toolboxlocation #L~i|(=U5  
      The location of the Velocity toolbox 0V4B Q:v  
      velocity工具盒的位置 I|U'@E  
struts.xslt.nocache b~J)LXj]w  
      Whether or not XSLT templates should not be cached z Fo11;*D  
      是否XSLT模版应该被缓存 f<NR6],}  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八