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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &|IY=$-  
\D<rT)Tl  
struts.action.extension $VhUZGuG>  
      The URL extension to use to determine if the request is meant for a Struts action u}JL*}Q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^LE`Y>&m  
j\("d4n%C  
struts.configuration $OHY^IE(  
      The org.apache.struts2.config.Configuration implementation class #]oVVf_  
        org.apache.struts2.config.Configuration接口名 YL=?Nk/  
AM1J ^Dp  
struts.configuration.files "6lf~%R"  
      A list of configuration files automatically loaded by Struts OA_:_%a(  
      struts自动加载的一个配置文件列表 LXG,IG  
)$I;)` q  
struts.configuration.xml.reload /<9VKMR_k  
      Whether to reload the XML configuration or not :z56!qU  
      是否加载xml配置(true,false) !%_Z>a  
xXE/pIXw  
struts.continuations.package vX]\Jqy  
      The package containing actions that use Rife continuations SgHLs  
      含有actions的完整连续的package名称 =K=FzV'_~  
0iinr:=u  
struts.custom.i18n.resources T/V8&'^i  
      Location of additional localization properties files to load gd R wh  
      加载附加的国际化属性文件(不包含.properties后缀) ^TJn&k  
Xlpu_H|  
struts.custom.properties KRf$VbuL  
      Location of additional configuration properties files to load t]#y} V  
      加载附加的配置文件的位置 h-=3 b  
=da_zy  
>;dMumX  
struts.devMode @mW: FVI  
      Whether Struts is in development mode or not aIpDf|~  
      是否为struts开发模式 D:e9609  
t;T MD\BU  
struts.dispatcher.parametersWorkaround zy~vw6vu  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ji="vs=y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~&[Wqn@MZ  
Aj#CB.y  
struts.enable.DynamicMethodInvocation d,CtlWp  
      Allows one to disable dynamic method invocation from the URL N Q_H-D\,  
        允许动态方法调用 }xn\.M:ic  
V{p*N*  
struts.freemarker.manager.classname + O=wKsGD  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class z*.4Y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #Sr_PEo _  
-LJbx<'  
struts.i18n.encoding I#zrz3WU  
      The encoding to use for localization messages %kS+n_*  
      国际化信息内码 U,yU-8z/  
SEq_37  
struts.i18n.reload -~~"}u  
      Whether the localization messages should automatically be reloaded -tAdA2?G  
      是否国际化信息自动加载 mVg-z~44T  
<LIL{g0eX  
struts.locale UJ 1iXV[h"  
      The default locale for the Struts application hW$B;  
      默认的国际化地区信息 V~tq _  
DnS# cs~  
struts.mapper.class F=U3o=-:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,o& &d.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^&MMtWR  
3 k py3z[%  
struts.multipart.maxSize jxU1u"WU  
      The maximize size of a multipart request (file upload) %Wkvo-rOq  
      multipart请求信息的最大尺寸(文件上传用) ;t{Ew+s  
dFFJw[$8w  
struts.multipart.parser nR-`;lrF~  
      The org.apache.struts2.dispatcher.multipart. Mdsn"Y V  
      MultiPartRequest parser implementation for a multipart request (file upload) @tWyc%t  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) cJd~UQ<k  
t8DyS FT  
 iUJqAi1o  
struts.multipart.saveDir {5QIQ  
      The directory to use for storing uploaded files IqJ7'X  
      设置存储上传文件的目录夹 uIvy1h9m  
0tv"tA;  
struts.objectFactory ce{(5IC  
      The com.opensymphony.xwork2.ObjectFactory implementation class m_\w)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) S Cs@Q  
T3,"g=  
struts.objectFactory.spring.autoWire 8Eyi`~cAiH  
      Whether Spring should autoWire or not 1O>wXq7q  
      是否自动绑定Spring x*Y&s<  
 h%0/j  
struts.objectFactory.spring.useClassCache W+-a@)sh3Q  
      Whether Spring should use its class cache or not jFY6}WY)}7  
      是否spring应该使用自身的cache &Ed7|k]H  
XW w=3$  
struts.objectTypeDeterminer r!N)pt<g  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D7H,49#1Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 REUWK#>  
/ PDe<p  
struts.serve.static.browserCache S C7Tp4  
If static content served by the Struts filter should set browser caching header properties or not rVgz+'rFD[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 aT1T.3 a  
3e4; '5q;  
struts.serve.static e6f:@ O?  
      Whether the Struts filter should serve static content or not ~G|un}g=  
      是否struts过滤器应该提供静态内容 SN+B8*!  
bCr) 3,  
struts.tag.altSyntax _xT=AF9~o  
      Whether to use the alterative syntax for the tags or not -.-j e"E  
      是否可以用替代的语法替代tags ,e{(r0  
83~ Gu[  
struts.ui.templateDir .V G$`g"  
      The directory containing UI templates V#["Z}  
      UI templates的目录夹 \]ouQR.t@\  
X]ow5{e  
struts.ui.theme Dnn$-W|NC  
      The default UI template theme Kk#g(YgNz  
      默认的UI template主题 Pw i6Ly`  
FjF:Eh  
struts.url.http.port #va|&QBZxM  
      The HTTP port used by Struts URLs 35I y\  
      设置http端口 rqbX9M^  
_9!*laR!2  
struts.url.https.port N=FU>qbz  
      The HTTPS port used by Struts URLs p?(w !O  
      设置https端口 l*_%K}%?V  
gdkl,z3N3  
struts.url.includeParams /z:pid,_0  
      The default includeParams method to generate Struts URLs bh9rsRb}O  
      在url中产生 默认的includeParams M:x?I_JG8  
u&/[sq x  
sk !92mQ  
struts.velocity.configfile r2A%.bL#  
      The Velocity configuration file path ,CqJ ((  
      velocity配置文件路径 qOy3D~  
EN6a? }5  
struts.velocity.contexts np3$bqm  
      List of Velocity context names g&9E>wT  
      velocity的context列表 kXimJL_<g  
e+jp03m\W  
~wG.'d]  
struts.velocity.manager.classname M,xhQ{eBY  
      org.apache.struts2.views.velocity.VelocityManager implementation class Q WVH4rg  
      org.apache.struts2.views.velocity.VelocityManager接口名 i(R&Q;{E^  
,4W| e!  
struts.velocity.toolboxlocation w#.Tp-AZ;\  
      The location of the Velocity toolbox \pI)tnu6'U  
      velocity工具盒的位置 .BN~9w  
struts.xslt.nocache N!Dc\d=8q]  
      Whether or not XSLT templates should not be cached B;Pws$J  
      是否XSLT模版应该被缓存 W:D'k^u  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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