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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @F(mi1QO  
1CLL%\V  
struts.action.extension 5nbEf9&  
      The URL extension to use to determine if the request is meant for a Struts action {Ay"bjZh  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6(P M'@i  
0'nikLaKy  
struts.configuration tHLrhH<w  
      The org.apache.struts2.config.Configuration implementation class &/,|+U[  
        org.apache.struts2.config.Configuration接口名 \9-"M;R.d  
G:g69=x y  
struts.configuration.files dz Zb  
      A list of configuration files automatically loaded by Struts `~eUee3b.~  
      struts自动加载的一个配置文件列表 QeF3qXI  
N&@}/wzZ  
struts.configuration.xml.reload I%urz!CNE*  
      Whether to reload the XML configuration or not U*.0XNKp{  
      是否加载xml配置(true,false) ||yzt!n  
J90v!p-  
struts.continuations.package 7gRgOzWfV  
      The package containing actions that use Rife continuations #Fyuf,hw4  
      含有actions的完整连续的package名称 LdJYE;k Ju  
YuB+k^  
struts.custom.i18n.resources S*yjee<@  
      Location of additional localization properties files to load HaIM#R32T  
      加载附加的国际化属性文件(不包含.properties后缀) qWw\_S  
$AHQmyg<  
struts.custom.properties b86}% FM  
      Location of additional configuration properties files to load k{t`|BnPKB  
      加载附加的配置文件的位置 I}R0q  
(h:Rh  
37}D9:#5C  
struts.devMode w3$   
      Whether Struts is in development mode or not #c2ymQm  
      是否为struts开发模式 ut r:J  
Y))NK'B5  
struts.dispatcher.parametersWorkaround J=/5}u_gw  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *2jK#9"MP  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) r&FDEBh  
6-O_\Cq8  
struts.enable.DynamicMethodInvocation bJs9X/E  
      Allows one to disable dynamic method invocation from the URL $ `7^+8vHV  
        允许动态方法调用 _YRE (YZ/  
;J7F J3n  
struts.freemarker.manager.classname o=`C<}  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jlxpt)0i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2#k5+?-c61  
H/}]FmjN  
struts.i18n.encoding NVRLrJWpp  
      The encoding to use for localization messages *?MGMhE  
      国际化信息内码 fDLG>rXPT  
.ji_nZ4.+  
struts.i18n.reload Ha)ANAD  
      Whether the localization messages should automatically be reloaded :,)lm.}]t  
      是否国际化信息自动加载 f5` g  
kwsp9 0)  
struts.locale o=1X^,  
      The default locale for the Struts application /&4U6a  
      默认的国际化地区信息 ++E3]X|  
Z@r.pRr'  
struts.mapper.class 9?k_y ZV  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class uG<}N=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 MHa#?Q9  
t45Z@hmcW  
struts.multipart.maxSize 0bo/XUpi  
      The maximize size of a multipart request (file upload) }}<z/zN&^  
      multipart请求信息的最大尺寸(文件上传用) c/ uNM  
,~._}E&9I  
struts.multipart.parser %;D.vKoh  
      The org.apache.struts2.dispatcher.multipart. 7 x<i :x3  
      MultiPartRequest parser implementation for a multipart request (file upload) jRatm.N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) LW(6$hpPp  
!kC* g  
n93=8;&  
struts.multipart.saveDir 9YBv|A  
      The directory to use for storing uploaded files TjG4`:*y#m  
      设置存储上传文件的目录夹 aFLO{tr`  
HJY2#lSha6  
struts.objectFactory :<|<|qJWo  
      The com.opensymphony.xwork2.ObjectFactory implementation class ` He,p -  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $cZUM}@  
[pM V?a[  
struts.objectFactory.spring.autoWire zen*PeIrA^  
      Whether Spring should autoWire or not [ Fz`D/  
      是否自动绑定Spring ZzX~&95G  
n?c]M  
struts.objectFactory.spring.useClassCache twx[ s$O'b  
      Whether Spring should use its class cache or not & GreN  
      是否spring应该使用自身的cache dh $bfAb  
h?pkE  
struts.objectTypeDeterminer 3g6j?yYqb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ()H:UvM=t  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^I+)o1%F  
*2GEnAZb7n  
struts.serve.static.browserCache J4\qEO  
If static content served by the Struts filter should set browser caching header properties or not {*ob_oc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 znHnVYll(  
Y5j]Z^^v  
struts.serve.static x+]\1p  
      Whether the Struts filter should serve static content or not s8h-,@p  
      是否struts过滤器应该提供静态内容 @62Mk},9 c  
l(Q?rwI8Y  
struts.tag.altSyntax !3ctB3eJ  
      Whether to use the alterative syntax for the tags or not Exk\8,EGqS  
      是否可以用替代的语法替代tags 5>TK^1 :  
\!ej<T+JR>  
struts.ui.templateDir ^53r/V}%  
      The directory containing UI templates nakYn  
      UI templates的目录夹 ERN>don2  
wT{nu[=GH*  
struts.ui.theme R,Vd.-5M  
      The default UI template theme c?@T1h4  
      默认的UI template主题 p*P)KP  
&/Q0  
struts.url.http.port u#@Q:tnN_  
      The HTTP port used by Struts URLs ?)#5X_V-q  
      设置http端口 "V}[':fen  
>&U,co$>  
struts.url.https.port H8On<C=  
      The HTTPS port used by Struts URLs JGQjw(Xs  
      设置https端口 *H|M;G  
`F>O;>i''  
struts.url.includeParams ~JH:EB:  
      The default includeParams method to generate Struts URLs _hk.2FV:3m  
      在url中产生 默认的includeParams )=etG  
6w@ Ii;  
/QJ?bD#a  
struts.velocity.configfile ~B(6+~%  
      The Velocity configuration file path &kpwo )  
      velocity配置文件路径 EE W_gFn  
jNC4_q&  
struts.velocity.contexts y? co|  
      List of Velocity context names 2TA*m{\Hr  
      velocity的context列表 L5\WpM=  
eET}r 24  
\(vY%DL1:  
struts.velocity.manager.classname ]S5JUAGkE*  
      org.apache.struts2.views.velocity.VelocityManager implementation class N~xLu8,  
      org.apache.struts2.views.velocity.VelocityManager接口名 X ' "SVO.  
)d>!"JB-  
struts.velocity.toolboxlocation PKzyV ;  
      The location of the Velocity toolbox 5hy""i  
      velocity工具盒的位置 J`^I./  
struts.xslt.nocache ,xxR\}  
      Whether or not XSLT templates should not be cached 9\DQ>V TQ  
      是否XSLT模版应该被缓存 `9b7>Nn<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五