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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =C\Tl-$\f  
p8Vqy-:  
struts.action.extension w$2q00R>  
      The URL extension to use to determine if the request is meant for a Struts action 'g v0;L  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \ovs[&  
f}otIf  
struts.configuration vEv kC  
      The org.apache.struts2.config.Configuration implementation class m*0YMS>Y |  
        org.apache.struts2.config.Configuration接口名 7vRtTP  
=?sG~  
struts.configuration.files /\J0)V  
      A list of configuration files automatically loaded by Struts @!ChPl  
      struts自动加载的一个配置文件列表 )ycI.[C  
-H| 9 82=  
struts.configuration.xml.reload .qBc;u  
      Whether to reload the XML configuration or not K7}.#*% ~  
      是否加载xml配置(true,false) <'Q6\R}:vC  
]xC56se  
struts.continuations.package  *7m lH  
      The package containing actions that use Rife continuations hA=uoe\  
      含有actions的完整连续的package名称 y:G%p3h)[  
]uXJjS f  
struts.custom.i18n.resources 0B6!$) *-i  
      Location of additional localization properties files to load ~(kEGEF  
      加载附加的国际化属性文件(不包含.properties后缀) os V6=  
GT{4L]C  
struts.custom.properties +{UY9_~\3  
      Location of additional configuration properties files to load "ubp`7%67  
      加载附加的配置文件的位置 `[ZswLE  
L*z=!Dpo  
6v%yU3l  
struts.devMode ^F^g(|(K  
      Whether Struts is in development mode or not x#{!hL 5G  
      是否为struts开发模式 5K vp%   
/VR~E'Cy%  
struts.dispatcher.parametersWorkaround g_>&R58  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y^2#;0W  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) h5?^MRZS  
T"wg/mT  
struts.enable.DynamicMethodInvocation 6?Ncgj &@  
      Allows one to disable dynamic method invocation from the URL Om3Ayk}  
        允许动态方法调用 InPE_  
^WA7X9ed  
struts.freemarker.manager.classname !Tzo &G  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $]7f1U_e  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Mj0 ,Y#=76  
]#0 (  
struts.i18n.encoding +eVYy_bL-  
      The encoding to use for localization messages 1tuvJ+`{  
      国际化信息内码 ZL|aB886  
wMS%/l0p1  
struts.i18n.reload !'f7;%7s  
      Whether the localization messages should automatically be reloaded q4ROuE|d  
      是否国际化信息自动加载 @ @[xTyA  
^eW<-n@^  
struts.locale BabaKSm}LP  
      The default locale for the Struts application )&6gju7(  
      默认的国际化地区信息 Nd8>p.iqO  
CKAd\L   
struts.mapper.class {}$9 70y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N0 {e7M  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =VC18yA  
<2U#U;  
struts.multipart.maxSize qS?o22  
      The maximize size of a multipart request (file upload) >$ q   
      multipart请求信息的最大尺寸(文件上传用) OqtGKda  
fCt|8,-H  
struts.multipart.parser Ft5A(P >  
      The org.apache.struts2.dispatcher.multipart. 2z>-H595az  
      MultiPartRequest parser implementation for a multipart request (file upload) GRZz@bAO?$  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) s5~k]"{j  
G`!x+FB  
\Qml~?$@lH  
struts.multipart.saveDir Eq-+g1a  
      The directory to use for storing uploaded files N{J 1C6  
      设置存储上传文件的目录夹 <rC%$tr  
XgxE M1(  
struts.objectFactory 5|*{~O|  
      The com.opensymphony.xwork2.ObjectFactory implementation class "GMU~594  
      com.opensymphony.xwork2.ObjectFactory接口(spring) J[lC$X[  
Yp\n=#$[  
struts.objectFactory.spring.autoWire ? AfThJc  
      Whether Spring should autoWire or not qbyYNlXqm  
      是否自动绑定Spring zgD?e?yPO  
u(vZOf]jL  
struts.objectFactory.spring.useClassCache {4_s:+v0  
      Whether Spring should use its class cache or not v[L+PD U  
      是否spring应该使用自身的cache St5;X&Q  
@CNJpQ ujn  
struts.objectTypeDeterminer #]h X ."b2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class F ~A $7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Jg#0g eU  
i(~DhXz*T  
struts.serve.static.browserCache BTAbDyH5  
If static content served by the Struts filter should set browser caching header properties or not h)Y] L#R  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  3IxC@QR  
t/|0"\ p  
struts.serve.static gIo\^ktW  
      Whether the Struts filter should serve static content or not t/ \S9  
      是否struts过滤器应该提供静态内容 WI\a  
@i ~A7L0/  
struts.tag.altSyntax +4yre^gC  
      Whether to use the alterative syntax for the tags or not `v -[&  
      是否可以用替代的语法替代tags .x I Aep_  
nJI2IPZ  
struts.ui.templateDir Y0(4]X \ey  
      The directory containing UI templates 1!uBzO6/$  
      UI templates的目录夹 (xgw';g  
s|%R  
struts.ui.theme x3n9|Uud  
      The default UI template theme Fz#@[1,  
      默认的UI template主题 >zJHvb)b\  
U["0B8  
struts.url.http.port h$5[04.Q  
      The HTTP port used by Struts URLs U7WYS8  
      设置http端口 py;p7y!gxA  
|d0ZB_ci  
struts.url.https.port B*tYp  
      The HTTPS port used by Struts URLs E2DfG^sGV  
      设置https端口 YR'F]FI  
]:e_Y,@  
struts.url.includeParams izP )t  
      The default includeParams method to generate Struts URLs ]bds~OY5 U  
      在url中产生 默认的includeParams  l"ms:v  
fkI 5~Y|  
\'~ E%=Q  
struts.velocity.configfile )tG. 9"<  
      The Velocity configuration file path Q`F1t  
      velocity配置文件路径 k;\gYb%L  
{ Zgd  
struts.velocity.contexts [IAUJ09>I  
      List of Velocity context names `cp\UH@  
      velocity的context列表 +b 6R  
_?-oPb  
^kfqw0!  
struts.velocity.manager.classname 5W)ST&YPL*  
      org.apache.struts2.views.velocity.VelocityManager implementation class z~Q=OPCnY  
      org.apache.struts2.views.velocity.VelocityManager接口名 3sr_V~cZ9  
||hQ*X<m>  
struts.velocity.toolboxlocation i q`}c |c  
      The location of the Velocity toolbox L-+g`  
      velocity工具盒的位置 6R45+<.  
struts.xslt.nocache }AS?q?4?  
      Whether or not XSLT templates should not be cached m-t: ' B  
      是否XSLT模版应该被缓存 )Qb,zS6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五