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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tUS)1*{_  
m5!~PG:_  
struts.action.extension ^/nj2"  
      The URL extension to use to determine if the request is meant for a Struts action zV)(i<Q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K gN=b  
b2}>{Li0  
struts.configuration \!!qzrq  
      The org.apache.struts2.config.Configuration implementation class QucDIZ  
        org.apache.struts2.config.Configuration接口名 |Z]KF>S]  
l;*/F`>c  
struts.configuration.files PI KQ}aq=  
      A list of configuration files automatically loaded by Struts ~0}gRpMW  
      struts自动加载的一个配置文件列表 qOA+ao  
K U 2LJ_~Y  
struts.configuration.xml.reload )?5027^  
      Whether to reload the XML configuration or not kEQ1&9  
      是否加载xml配置(true,false) _?j66-( Q  
]} D^?g^  
struts.continuations.package )-98pp7~BB  
      The package containing actions that use Rife continuations ` Aa}q(}k  
      含有actions的完整连续的package名称 kF%EJuu  
U_s3)/'  
struts.custom.i18n.resources MQs!+Z"m>  
      Location of additional localization properties files to load h |Ofi  
      加载附加的国际化属性文件(不包含.properties后缀) BZS%p  
#@ClhpLD  
struts.custom.properties z\S#P|;  
      Location of additional configuration properties files to load #[ei/p  
      加载附加的配置文件的位置 /_WA F90R?  
$Hw w  
tcDWx:Q  
struts.devMode eAU0 8gM.  
      Whether Struts is in development mode or not to2; . ~X  
      是否为struts开发模式 r] h>Bb  
'}4z=f`}  
struts.dispatcher.parametersWorkaround mS\ gh)<h  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic OyI?P_0u  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xwuGJ   
[ B{F(~O  
struts.enable.DynamicMethodInvocation v|!u]!JM  
      Allows one to disable dynamic method invocation from the URL ;rggO0Y  
        允许动态方法调用 jeKqS  
|j 9d.M  
struts.freemarker.manager.classname #$5"&SM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;(&$Iw9X  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 X8}m %  
WqX$;' }h  
struts.i18n.encoding UL{+mp  
      The encoding to use for localization messages 0+-"9pED>E  
      国际化信息内码 y4\(ynk  
0V RV. Ml  
struts.i18n.reload jHPkfwfAF  
      Whether the localization messages should automatically be reloaded *B4?(&0  
      是否国际化信息自动加载 'E\/H17  
[Rj_p&'  
struts.locale HZINsIm!?  
      The default locale for the Struts application <{ER#}b:O  
      默认的国际化地区信息 L3/SIoqd  
^}w@&Bje  
struts.mapper.class #mIgk'kW<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )WBp.j /#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 JXx[e  
c -sc*.&  
struts.multipart.maxSize 3_DwqZ 'O  
      The maximize size of a multipart request (file upload) qjBF]3%t%  
      multipart请求信息的最大尺寸(文件上传用) RJ\'"XQ  
o+],L_Ab  
struts.multipart.parser 1Yk!R9.  
      The org.apache.struts2.dispatcher.multipart. vpg*J/1[  
      MultiPartRequest parser implementation for a multipart request (file upload) n 3eLIA{  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) BvnNAi  
Exb?eHO  
q`Rc \aWB%  
struts.multipart.saveDir .](~dVp%~  
      The directory to use for storing uploaded files qjm6\ii:)  
      设置存储上传文件的目录夹 V}Ok>6(~  
U/#X,Bi~  
struts.objectFactory wsKOafrV  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7Dt* ++:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) o8 B$6w:_  
'bQjJRq!  
struts.objectFactory.spring.autoWire 67tB8X  
      Whether Spring should autoWire or not kC_Kb&Q0  
      是否自动绑定Spring 7&hhKEA  
EXF|; @-"  
struts.objectFactory.spring.useClassCache zhC#<  
      Whether Spring should use its class cache or not rq#\x{l  
      是否spring应该使用自身的cache h@2YQgw`  
g`Kh&|GU  
struts.objectTypeDeterminer 1 u~Xk?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c{"qrwLA  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5y~ Srb?2  
@oNYMQ@)d  
struts.serve.static.browserCache Fa0NHX2:  
If static content served by the Struts filter should set browser caching header properties or not 17E,Qnf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z1~`S!(}  
>2s31 {  
struts.serve.static R:5uZAx  
      Whether the Struts filter should serve static content or not 1F' x$~ZI  
      是否struts过滤器应该提供静态内容 8C=8Wjm  
gq7l>vT.  
struts.tag.altSyntax ;u?L>(b  
      Whether to use the alterative syntax for the tags or not A4tb>O M  
      是否可以用替代的语法替代tags oazY?E]}3  
'Q dDXw5o  
struts.ui.templateDir ^Q#g-"b  
      The directory containing UI templates B9: i.rQ  
      UI templates的目录夹 0woLB#v9  
uj~(r=%  
struts.ui.theme ~]Weyb[ N  
      The default UI template theme V r7L9%/wg  
      默认的UI template主题 I_s*pT  
4n0Iw  I  
struts.url.http.port Krd0Gc~\|  
      The HTTP port used by Struts URLs wBlo2WY  
      设置http端口 ;S?ei>Q  
{00Qg{;K|  
struts.url.https.port 8zO;=R A7%  
      The HTTPS port used by Struts URLs X/f?=U  
      设置https端口 8b:GyC5L  
n`X}&(O  
struts.url.includeParams S*NeS#!v  
      The default includeParams method to generate Struts URLs szs.B|3X@*  
      在url中产生 默认的includeParams {O!B8a    
4*&2D-8<K  
3rj7]:Vr  
struts.velocity.configfile 7Tc^}Q  
      The Velocity configuration file path cz41<SFL  
      velocity配置文件路径 MMy\u) 4  
-KL5sK  
struts.velocity.contexts -PCF Om"  
      List of Velocity context names #G]g  
      velocity的context列表 O %1uBc  
T(=Z0M  
S=a>rnF  
struts.velocity.manager.classname XD%GNZ  
      org.apache.struts2.views.velocity.VelocityManager implementation class A~ @x8  
      org.apache.struts2.views.velocity.VelocityManager接口名 pG^>y0  
uC|bC#;  
struts.velocity.toolboxlocation %$&_!  
      The location of the Velocity toolbox WS.lDMYE7  
      velocity工具盒的位置 cS%;JV>C  
struts.xslt.nocache a] P0PH~  
      Whether or not XSLT templates should not be cached \gGTkH  
      是否XSLT模版应该被缓存 V X.9mt  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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