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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Zk#^H*jgx  
U Ox$Xwp5&  
struts.action.extension oDyrf"dl  
      The URL extension to use to determine if the request is meant for a Struts action -Cb<T"7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 aR }|^ex  
*wNX<R.  
struts.configuration ryz [A:^G  
      The org.apache.struts2.config.Configuration implementation class #z|\AmZ\  
        org.apache.struts2.config.Configuration接口名 S.;>:Dd[K  
A#s`!SNv  
struts.configuration.files x\=2D<@az  
      A list of configuration files automatically loaded by Struts gTI!b  
      struts自动加载的一个配置文件列表 l2DhFt$!=  
eqt+EiH   
struts.configuration.xml.reload e*O-LI2O  
      Whether to reload the XML configuration or not 3Lxk7D>0c  
      是否加载xml配置(true,false) RB5fn+FiZ  
hcQvL>  
struts.continuations.package ap;tggi(H  
      The package containing actions that use Rife continuations Qm| Q0u   
      含有actions的完整连续的package名称 '4PAH2&n  
,&S ^Ryc  
struts.custom.i18n.resources #+V5$  
      Location of additional localization properties files to load [OI&_WIw  
      加载附加的国际化属性文件(不包含.properties后缀) 7wt2|$Qz  
#1MEmt  
struts.custom.properties ,2F4S5F~rC  
      Location of additional configuration properties files to load s*R \!L  
      加载附加的配置文件的位置 JPS7L}Kv  
T-Od|T@[  
{VC4rA  
struts.devMode s52c`+  
      Whether Struts is in development mode or not x 4SI TY  
      是否为struts开发模式 1a#oJU  
By=/DVm)=  
struts.dispatcher.parametersWorkaround ?^z!yD\  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o E+s8Q  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2 }QD>  
P)fv:a  
struts.enable.DynamicMethodInvocation b\zRwp  
      Allows one to disable dynamic method invocation from the URL |Rr^K5hmD  
        允许动态方法调用 &a?&G'?  
&"dT/5}6  
struts.freemarker.manager.classname Rd5ni2-nve  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %0]vW;Q5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 {~g(WxE  
6qA48:/F=  
struts.i18n.encoding +):t6oX|  
      The encoding to use for localization messages +"Pt?k  
      国际化信息内码 RU!j"T 5  
r`]&{0}23  
struts.i18n.reload K 7)1wiEj  
      Whether the localization messages should automatically be reloaded 0G/VbS  
      是否国际化信息自动加载 Jtj_R l !  
W_EM k  
struts.locale $!c)%qDq  
      The default locale for the Struts application %Z-^Bu8;y  
      默认的国际化地区信息 gY AXUM,  
.p%p_  
struts.mapper.class .. qAE.%%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V:h-K`~ /  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 R9SJ;TsE  
KWU ~QAc  
struts.multipart.maxSize &Z682b$  
      The maximize size of a multipart request (file upload) <uP>  
      multipart请求信息的最大尺寸(文件上传用) 8y}9X v  
z\Y+5<a  
struts.multipart.parser !g /&ws&  
      The org.apache.struts2.dispatcher.multipart. .O [RE_j  
      MultiPartRequest parser implementation for a multipart request (file upload) W1X\!Y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G| pZ  
}$W4aG*[  
a^qLyF& F  
struts.multipart.saveDir \Q"o\:IoIT  
      The directory to use for storing uploaded files DG8LoWZ  
      设置存储上传文件的目录夹 >;',U<Wd  
$AAv%v  
struts.objectFactory ?2VY ^7N[  
      The com.opensymphony.xwork2.ObjectFactory implementation class i^9PiP|U  
      com.opensymphony.xwork2.ObjectFactory接口(spring) v}hmI']yf  
(yFR;5Fo  
struts.objectFactory.spring.autoWire PMk3b3)Z  
      Whether Spring should autoWire or not hd~X c  
      是否自动绑定Spring v\*43RL  
CW k#Amt.  
struts.objectFactory.spring.useClassCache .3Nd[+[  
      Whether Spring should use its class cache or not -UaUFJa8K&  
      是否spring应该使用自身的cache )SZt If  
- |mWi  
struts.objectTypeDeterminer !|`G<WD  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]trVlmZXH}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ReOp,A/y  
f[3DKA  
struts.serve.static.browserCache ;aBK4<-vl  
If static content served by the Struts filter should set browser caching header properties or not -SaH_Nuj  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =whZ?,u1   
jw$3cwddH  
struts.serve.static JicAz1P1W  
      Whether the Struts filter should serve static content or not O"4Q=~Y  
      是否struts过滤器应该提供静态内容 ^yUel.N5"  
l%*KBME  
struts.tag.altSyntax ryzz!0l  
      Whether to use the alterative syntax for the tags or not c0]^V>}cl  
      是否可以用替代的语法替代tags 7N"$~UfC  
; >3q@9\D  
struts.ui.templateDir i(9=` A}  
      The directory containing UI templates e&f9/rfx  
      UI templates的目录夹 ~lMw*Qw^  
"bAkS}(hB(  
struts.ui.theme OaU-4 ~n;  
      The default UI template theme m xtLcG4G  
      默认的UI template主题 Z%~j)  
V6"<lK8"  
struts.url.http.port #|fa/kb~  
      The HTTP port used by Struts URLs vCT5do"C&  
      设置http端口 fk)ts,p?  
?Y2ZqI  
struts.url.https.port ~vnG^y>%  
      The HTTPS port used by Struts URLs e2Sm.H '  
      设置https端口  5k.NZ  
eRQ}`DjTk  
struts.url.includeParams 7 Xe|P1@)  
      The default includeParams method to generate Struts URLs z]ZhvH7-  
      在url中产生 默认的includeParams vlth\ [  
x\r7q  
2?ac\c6"  
struts.velocity.configfile mD-qJ6AM  
      The Velocity configuration file path iph>"b$D  
      velocity配置文件路径 Pk[:+. f(  
vJDK]p<}  
struts.velocity.contexts obRR))  
      List of Velocity context names *]~ug%a  
      velocity的context列表 !)RND 6.  
2yR*<yj  
+ 8 5]]}I  
struts.velocity.manager.classname X-9>;Mb~y  
      org.apache.struts2.views.velocity.VelocityManager implementation class -}0S%|#m  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?ix--?jl  
 sBY*9I  
struts.velocity.toolboxlocation tWQ_.,ld  
      The location of the Velocity toolbox MB :knj  
      velocity工具盒的位置 cVJ"^wgBt  
struts.xslt.nocache V0 x[sEW  
      Whether or not XSLT templates should not be cached VO3&!uOd  
      是否XSLT模版应该被缓存 kA?a}   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五