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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 G0$ 1"9u\w  
v4sc  
struts.action.extension 9="i'nYp  
      The URL extension to use to determine if the request is meant for a Struts action `zAo IQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j3F[C:-zY  
]* -9zo0  
struts.configuration v"Bv\5f,Ys  
      The org.apache.struts2.config.Configuration implementation class v`B7[B4K3  
        org.apache.struts2.config.Configuration接口名 6/9 A'!4C  
aX6.XHWbDf  
struts.configuration.files NL))!Pi  
      A list of configuration files automatically loaded by Struts MId\ dFu  
      struts自动加载的一个配置文件列表 u2'xM0nQ  
o Wg5-pMWZ  
struts.configuration.xml.reload zEJ|;oL  
      Whether to reload the XML configuration or not , %X~/V  
      是否加载xml配置(true,false) X\\WQxj  
)Rla VAtM  
struts.continuations.package C\UD0r'p?  
      The package containing actions that use Rife continuations mfLS< /A  
      含有actions的完整连续的package名称 .EGZv (rz&  
tsq]QTA*  
struts.custom.i18n.resources ^<xpp.eY  
      Location of additional localization properties files to load \}t(g}7T  
      加载附加的国际化属性文件(不包含.properties后缀) GOHRBV  
JI5?, )-St  
struts.custom.properties .Vq-<c%  
      Location of additional configuration properties files to load _ I+#K M  
      加载附加的配置文件的位置 $Y][-8{t  
2#5SI  
ptGM'  
struts.devMode |/zE(ePc{  
      Whether Struts is in development mode or not Q~]#x![u0  
      是否为struts开发模式 mY2 Ubn*  
t)XNS!6#]?  
struts.dispatcher.parametersWorkaround gPY2Bnw;l  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D52ELr7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) swuW6p  
ro7\}O:I  
struts.enable.DynamicMethodInvocation oUR'gc :  
      Allows one to disable dynamic method invocation from the URL UO8#8  
        允许动态方法调用 Z2`(UbG}  
o <8L, u(U  
struts.freemarker.manager.classname $zq`hI!1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class LX4S}QXw  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _OP75kv  
h9LA&!  
struts.i18n.encoding erYpeq.  
      The encoding to use for localization messages *nU7v3D  
      国际化信息内码 -uenCWF\#  
5[[4A]#T  
struts.i18n.reload k 61Ot3  
      Whether the localization messages should automatically be reloaded $d?<(n  
      是否国际化信息自动加载 ?AX./LI  
L m"a3Nb  
struts.locale P-[6xu+]  
      The default locale for the Struts application Q&^ti)vB  
      默认的国际化地区信息 ]H) x  
K[PIw}V$?:  
struts.mapper.class 5YMjvhr?W  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class He. gl  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "CBe$b4  
Z.<OtsQN  
struts.multipart.maxSize t.c XrX`k  
      The maximize size of a multipart request (file upload) zS18Kl  
      multipart请求信息的最大尺寸(文件上传用) j*<H18^G  
U aj8}7v  
struts.multipart.parser *^ncb,1+i  
      The org.apache.struts2.dispatcher.multipart. &(-+?*A`E  
      MultiPartRequest parser implementation for a multipart request (file upload) !6\{q M  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  #-1 ;  
N|?"=4Z?  
|/[?]`  
struts.multipart.saveDir BftW<1,U^  
      The directory to use for storing uploaded files 0Jz'9  
      设置存储上传文件的目录夹 ` *x;&.&v  
I/rq@27o  
struts.objectFactory * Ibl+  
      The com.opensymphony.xwork2.ObjectFactory implementation class $0V<wsVM  
      com.opensymphony.xwork2.ObjectFactory接口(spring) O8TAc]B  
^k]OQc7q'  
struts.objectFactory.spring.autoWire wqJ^tA!  
      Whether Spring should autoWire or not 3|-)]^1O  
      是否自动绑定Spring NMM0'tY~  
rq Dre`m  
struts.objectFactory.spring.useClassCache ?@6N EfQf  
      Whether Spring should use its class cache or not y[oc^Zuo  
      是否spring应该使用自身的cache q>X#Aaib  
]6Kx0mW  
struts.objectTypeDeterminer +rfw)c'  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class a,x-akZWf  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 F]@vmzr  
_5EM<Ux  
struts.serve.static.browserCache W'eF | hu  
If static content served by the Struts filter should set browser caching header properties or not %fnL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6%~ Z^>`N  
q3TAWNzI0  
struts.serve.static 3qE2mYK  
      Whether the Struts filter should serve static content or not eaCv8zdX  
      是否struts过滤器应该提供静态内容 nAG2!2_8  
Zsc710_  
struts.tag.altSyntax c#|!^gjf  
      Whether to use the alterative syntax for the tags or not X zgJ@  
      是否可以用替代的语法替代tags <Qu]m.z[  
q+5g+9  
struts.ui.templateDir ^.aFns{wv  
      The directory containing UI templates K[PH#dF5,x  
      UI templates的目录夹 UUc{1"z{  
R$k4}p  
struts.ui.theme _Je<_pl!D  
      The default UI template theme BSYJ2   
      默认的UI template主题 Vb az#I  
1[OCojo<  
struts.url.http.port w2_$>z  
      The HTTP port used by Struts URLs ~cQ./G4  
      设置http端口 FM$XMD0=  
Y^Y|\0  
struts.url.https.port 2'Cwx-_G`  
      The HTTPS port used by Struts URLs .;)7)%  
      设置https端口 W0J d2*]  
XdjM/hB{fD  
struts.url.includeParams Md mS  
      The default includeParams method to generate Struts URLs ER<LP@3k  
      在url中产生 默认的includeParams 5P-7"g ca  
fmrd 7*MW  
?j9J6=2  
struts.velocity.configfile '!^5GSP3&  
      The Velocity configuration file path @(M-ZO!D  
      velocity配置文件路径 {fFZ%$  
s(jixAf  
struts.velocity.contexts j\k|5 ="w-  
      List of Velocity context names W5PNp%+KE  
      velocity的context列表 AP5[}$TT  
 u:JD  
T1 >xw4uo  
struts.velocity.manager.classname ?XN=Er^  
      org.apache.struts2.views.velocity.VelocityManager implementation class k#X~+}N^  
      org.apache.struts2.views.velocity.VelocityManager接口名 f]Z%,'1^  
n4\UoKq  
struts.velocity.toolboxlocation L"{qF<@V7&  
      The location of the Velocity toolbox 4v9jGwnzt  
      velocity工具盒的位置 kk#%x#L[  
struts.xslt.nocache Cl#PYB{1Y  
      Whether or not XSLT templates should not be cached W6J%x[>Z  
      是否XSLT模版应该被缓存 :@#9P,"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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