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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  |~uzQU7  
RpK,ixbtA+  
struts.action.extension K2rS[Kdfaq  
      The URL extension to use to determine if the request is meant for a Struts action z83:a)U  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `VFl|o#H  
ZU.)K>'  
struts.configuration iB3 +KR  
      The org.apache.struts2.config.Configuration implementation class f5b`gvCY,#  
        org.apache.struts2.config.Configuration接口名 pd>a6 lI`  
~R@m!'I k  
struts.configuration.files !$xEX,vj|W  
      A list of configuration files automatically loaded by Struts N^yO- xk  
      struts自动加载的一个配置文件列表 wwcwYPeg  
a^T4\  
struts.configuration.xml.reload \Tf{ui  
      Whether to reload the XML configuration or not UeQ9G  
      是否加载xml配置(true,false) D'[P,v;Q  
_Q}RElA  
struts.continuations.package Px7g\[]  
      The package containing actions that use Rife continuations inv{dg/2  
      含有actions的完整连续的package名称 ar qLp|  
y[WYH5 &DJ  
struts.custom.i18n.resources !bV(VRbu  
      Location of additional localization properties files to load #8f"}>U9.,  
      加载附加的国际化属性文件(不包含.properties后缀) txfwLqx  
Pv-V7`{  
struts.custom.properties lzy$.H"W  
      Location of additional configuration properties files to load DET!br'z5  
      加载附加的配置文件的位置 VtzmY  
!+45=d 5  
Go+xL/f  
struts.devMode F}B/-".^  
      Whether Struts is in development mode or not Ddl% V7  
      是否为struts开发模式 7YXXkdgbd  
'oiD#\t4  
struts.dispatcher.parametersWorkaround ,6orB}w?z  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic LB*#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~2A$R'xb  
V0'p1J tD  
struts.enable.DynamicMethodInvocation .FbZVYc]  
      Allows one to disable dynamic method invocation from the URL 8X ?GY8W:  
        允许动态方法调用 KYRm Ui#  
!:5`im;i  
struts.freemarker.manager.classname K?Xo3W%K  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1[/$ZYk:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 d[RWkk5  
zUEfa!#?  
struts.i18n.encoding .f !]@"\  
      The encoding to use for localization messages 7z&adkG:  
      国际化信息内码 'q};L6  
>uchF8)e|  
struts.i18n.reload qtwT#z;Y  
      Whether the localization messages should automatically be reloaded ;[OJ-|Q  
      是否国际化信息自动加载 @maZlw1q  
itC *Z6^  
struts.locale %I|+_ z&x  
      The default locale for the Struts application gKs/T'PW  
      默认的国际化地区信息 d1uG[  
(:y,CsR}4  
struts.mapper.class }Uwkef.Q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 27*(oT  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1Oca@E\Z.  
-0KbdHIKb'  
struts.multipart.maxSize [zh4W*K_cq  
      The maximize size of a multipart request (file upload) "\zj][sL  
      multipart请求信息的最大尺寸(文件上传用) _Xk03\n6  
csFJ5  
struts.multipart.parser 1IF'>*  
      The org.apache.struts2.dispatcher.multipart. CDnR  
      MultiPartRequest parser implementation for a multipart request (file upload) 6N %L8Q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) FU (}=5n  
zhA',p@K?_  
^iV`g?z  
struts.multipart.saveDir d#vS E.&  
      The directory to use for storing uploaded files 3!"b guE  
      设置存储上传文件的目录夹 u_p7Mcb  
|`k1zc)9  
struts.objectFactory Vyq#p9Q  
      The com.opensymphony.xwork2.ObjectFactory implementation class -lP )  
      com.opensymphony.xwork2.ObjectFactory接口(spring) w$b+R8.n)  
{7K'<ti  
struts.objectFactory.spring.autoWire (N*<\6kr  
      Whether Spring should autoWire or not l6 S19Kv  
      是否自动绑定Spring *< $c =  
re ]Ste  
struts.objectFactory.spring.useClassCache _d\u!giy  
      Whether Spring should use its class cache or not u8<&F`7j  
      是否spring应该使用自身的cache ;* wT,2;  
<*A|pns  
struts.objectTypeDeterminer n?ZL"!$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :tjgg]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 409x!d~it  
_UH/}!nqB  
struts.serve.static.browserCache  d-ag  
If static content served by the Struts filter should set browser caching header properties or not un$ Z7W/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T1Gp$l  
GCP{Z]u  
struts.serve.static SLQ\Y%F  
      Whether the Struts filter should serve static content or not SG dfhno;  
      是否struts过滤器应该提供静态内容 y~== waZw  
xs2,t*  
struts.tag.altSyntax j[m_qohd7  
      Whether to use the alterative syntax for the tags or not IDGQIg  
      是否可以用替代的语法替代tags {z5V{M(|w3  
vgh ^fa!/  
struts.ui.templateDir j.=UI-&m  
      The directory containing UI templates gqP -E  
      UI templates的目录夹 o27 3|*  
}@rg5$W  
struts.ui.theme 9S:{  
      The default UI template theme v+!y;N;Q  
      默认的UI template主题 inr%XS/m  
(C-,ljY  
struts.url.http.port 4T-,'P{?  
      The HTTP port used by Struts URLs KMxNH,5  
      设置http端口 2~G,Ia  
J{Y6fHFi  
struts.url.https.port IgPV#  
      The HTTPS port used by Struts URLs d]O_E4X*  
      设置https端口 T:K"  
#D|! .I)  
struts.url.includeParams sorSyuGr  
      The default includeParams method to generate Struts URLs lj " Z  
      在url中产生 默认的includeParams >\|kJ?h  
Cec9#C  
la G$v-r  
struts.velocity.configfile  YBYBOH  
      The Velocity configuration file path *3A3>Rwu  
      velocity配置文件路径 M>*0r<qn  
E;6Y? vJ  
struts.velocity.contexts ~-XOvKJb  
      List of Velocity context names G$?|S@I,  
      velocity的context列表 4zo4H~@gk  
N5pinR5 H  
Xt</ -`  
struts.velocity.manager.classname iGG6Myp-  
      org.apache.struts2.views.velocity.VelocityManager implementation class xoqiRtlY:  
      org.apache.struts2.views.velocity.VelocityManager接口名 V,>+G6e  
q[{:  
struts.velocity.toolboxlocation 5kGxhD  
      The location of the Velocity toolbox =y)p>3p}&  
      velocity工具盒的位置 F^ I\X  
struts.xslt.nocache $q Zc!Qc  
      Whether or not XSLT templates should not be cached &Q\_;  
      是否XSLT模版应该被缓存 ! (2-(LgA  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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