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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 IQWoK"B  
N<O<wtXIj  
struts.action.extension P VSz%"  
      The URL extension to use to determine if the request is meant for a Struts action t[ZGY,8  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 y"|gC!V}  
M0t9`Z9  
struts.configuration #fDM{f0]R  
      The org.apache.struts2.config.Configuration implementation class B%WkM\\!^  
        org.apache.struts2.config.Configuration接口名 lf\^!E:  
; Kh!OBZFo  
struts.configuration.files nwVW'M]r  
      A list of configuration files automatically loaded by Struts +q%b'!&Q  
      struts自动加载的一个配置文件列表 .;)V;!  
IN,=v+A  
struts.configuration.xml.reload 9w6 uoM  
      Whether to reload the XML configuration or not k#-%u,t  
      是否加载xml配置(true,false) 2AW*PDncxP  
{(l,Uhxl""  
struts.continuations.package GHO6$iM)[  
      The package containing actions that use Rife continuations <cFj-Ys(T  
      含有actions的完整连续的package名称 M6j~`KSE  
z<_a4 ffR  
struts.custom.i18n.resources ?1**@E0  
      Location of additional localization properties files to load 'A9Z ((  
      加载附加的国际化属性文件(不包含.properties后缀) >IipWTVo<  
lHFk~Qp[  
struts.custom.properties y@<&A~Cl^  
      Location of additional configuration properties files to load V}ls|B$Y  
      加载附加的配置文件的位置 t)mc~M9w  
\x|8  
 Cg8   
struts.devMode Fw8b^ew  
      Whether Struts is in development mode or not ;u=%Vn"2a  
      是否为struts开发模式 BDCyeC,Q3  
p*U!94Pb  
struts.dispatcher.parametersWorkaround @}s EP&$  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic dsg-;*%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /CUBs!  
Bh&dV%'  
struts.enable.DynamicMethodInvocation a+j"8tHu$  
      Allows one to disable dynamic method invocation from the URL O"#/>hmv-  
        允许动态方法调用 kJ?AAPC  
k\r^GB  
struts.freemarker.manager.classname 5z:#Bl-,L  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %a]Imsm  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 > qPP_^]  
j^/=.cD|  
struts.i18n.encoding $EL:Jx2<  
      The encoding to use for localization messages !;Ke#E_d  
      国际化信息内码 hrGX65>  
%/d1x  
struts.i18n.reload s{*bFA Z1F  
      Whether the localization messages should automatically be reloaded Z)f?X  
      是否国际化信息自动加载 {&a6<y#-  
P-DW@drxF  
struts.locale Tv9\` F[  
      The default locale for the Struts application xUTTRJ(\  
      默认的国际化地区信息 cdN=HM~I  
-e>Z!0  
struts.mapper.class D^}2ilk!  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <`?%Cz AO  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 z0%tBgqY(  
#N;&^El  
struts.multipart.maxSize FV{XPr%   
      The maximize size of a multipart request (file upload) z6P~HF+&h  
      multipart请求信息的最大尺寸(文件上传用) *m2?fP\  
3"sXN)j  
struts.multipart.parser FF;Fo}no-  
      The org.apache.struts2.dispatcher.multipart. '<>?gE0Cd  
      MultiPartRequest parser implementation for a multipart request (file upload) ;/H/Gn+  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) rs,'vV-2\  
hZw8*H^tP  
}Syd*%BR[  
struts.multipart.saveDir IZGRQmi"  
      The directory to use for storing uploaded files 3#Iq5vT  
      设置存储上传文件的目录夹 YABi`;R]'  
V9Dq<y-y  
struts.objectFactory 2qQ;U?:q  
      The com.opensymphony.xwork2.ObjectFactory implementation class !N!AO(Z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )Cat$)I#,  
y;(G%s1  
struts.objectFactory.spring.autoWire P#V}l'j(<a  
      Whether Spring should autoWire or not lPrAx0m13%  
      是否自动绑定Spring >x6)AH.  
5tk7H2K^<  
struts.objectFactory.spring.useClassCache *!j!o%MB  
      Whether Spring should use its class cache or not J/3$I  
      是否spring应该使用自身的cache skU }BUK6  
]u:_r)T  
struts.objectTypeDeterminer C=IN "  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s< Fp17  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,L C(Ax'.F  
@ 2On`~C`  
struts.serve.static.browserCache `Y^l.%AZZ  
If static content served by the Struts filter should set browser caching header properties or not SbQ:vAE*ho  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 V(g5Gn?  
`5"3Cj"M  
struts.serve.static drvrj~o:  
      Whether the Struts filter should serve static content or not m4yWhUi(o  
      是否struts过滤器应该提供静态内容 x 0K#-  
HKIr?  
struts.tag.altSyntax Q#*R({)GH  
      Whether to use the alterative syntax for the tags or not Z>l<.T"t'  
      是否可以用替代的语法替代tags FGhnK'  
A~^x*#q{4  
struts.ui.templateDir NNwGRoDco  
      The directory containing UI templates 4TYtgP1  
      UI templates的目录夹 18p4]:L  
Wc,`L$Jx  
struts.ui.theme :D eJnE  
      The default UI template theme eNO[ikm  
      默认的UI template主题 +1@'2w{  
; .b^&h  
struts.url.http.port &aa3BgxyE  
      The HTTP port used by Struts URLs -%Rbd0gVH\  
      设置http端口 awjAv8tPO!  
Z[0/x.pp$  
struts.url.https.port 4Xww(5?3  
      The HTTPS port used by Struts URLs `m #i|8  
      设置https端口 gf>GK/^HH  
]h=5d09z  
struts.url.includeParams @= =)  
      The default includeParams method to generate Struts URLs n&DBMU  
      在url中产生 默认的includeParams EXwU{Hl  
o wI:Qs_/4  
|68u4zK  
struts.velocity.configfile z@ `u$D$n  
      The Velocity configuration file path EWY'E;0@5  
      velocity配置文件路径 ZE= Yn~XM  
/5Vv5d/Z4!  
struts.velocity.contexts C\OZs%]At  
      List of Velocity context names Se37-  
      velocity的context列表 W}%"xy]N  
?YUL~P  
V DZOJM)(  
struts.velocity.manager.classname ]EUQMyR  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z[B:6\oQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 E|jU8qz>P  
l2YA/9.  
struts.velocity.toolboxlocation g_A#WQyh\'  
      The location of the Velocity toolbox 7%[ YX  
      velocity工具盒的位置 |.$7.8g  
struts.xslt.nocache .}uri1k"@k  
      Whether or not XSLT templates should not be cached Y9&na&vY?  
      是否XSLT模版应该被缓存 x34GRe!!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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