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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 l$)pCo  
 _U#ue  
struts.action.extension ?6tuo:gP  
      The URL extension to use to determine if the request is meant for a Struts action T"dWrtO  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )]X_')K  
}w"laZ*  
struts.configuration lZ/Yp~2S  
      The org.apache.struts2.config.Configuration implementation class Kax85)9u  
        org.apache.struts2.config.Configuration接口名 %8hhk]m\b>  
wU?2aXY  
struts.configuration.files c1jgBty  
      A list of configuration files automatically loaded by Struts vseuk@>  
      struts自动加载的一个配置文件列表 #sAEIk/  
0^:O:X  
struts.configuration.xml.reload &ATjDbW*(  
      Whether to reload the XML configuration or not mw?,oiT,)  
      是否加载xml配置(true,false) _g$6vx&  
3 T& m  
struts.continuations.package 0o(/%31]  
      The package containing actions that use Rife continuations 'rq [P",  
      含有actions的完整连续的package名称 oy/#,R_n%  
a"#5JcR3  
struts.custom.i18n.resources j.AAY?L  
      Location of additional localization properties files to load %J2u+K  
      加载附加的国际化属性文件(不包含.properties后缀) YX@[z 5*  
o`hF1*yp  
struts.custom.properties R &T(S  
      Location of additional configuration properties files to load /38^N|/Zr  
      加载附加的配置文件的位置 wArNWBM  
`4(k ?Pk2  
pbloL3d.;+  
struts.devMode 0'VwObq  
      Whether Struts is in development mode or not {@B<$g   
      是否为struts开发模式 3mr9}P9;  
>(~; V;  
struts.dispatcher.parametersWorkaround `')3}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5I t+ S+a  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) O8 k$Uc  
)[G5qTO  
struts.enable.DynamicMethodInvocation )P\ec  
      Allows one to disable dynamic method invocation from the URL GP`_R  
        允许动态方法调用 '0/t|V<  
8[2^`g  
struts.freemarker.manager.classname 5 E DGl  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :|N5fkhN  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A4 o'EQ?~  
LUw0MW(Moi  
struts.i18n.encoding ~{RXc+  
      The encoding to use for localization messages L[Tr"BW  
      国际化信息内码 ?w /tq!  
R9fM9  
struts.i18n.reload /R 2:Js  
      Whether the localization messages should automatically be reloaded u@[D*c1!H  
      是否国际化信息自动加载 wGLZzqgq  
PL%_V ?z  
struts.locale hPD2/M  
      The default locale for the Struts application dhsQfWg#}  
      默认的国际化地区信息 }3=]1jH6  
NC@OmSR\0  
struts.mapper.class z.P) :Er  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u= !?<Q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &*[T  
 h ej  
struts.multipart.maxSize iHWl%]7sN  
      The maximize size of a multipart request (file upload) A$[@AY$MI  
      multipart请求信息的最大尺寸(文件上传用) trtI^^/%  
Z5_U D  
struts.multipart.parser tE=P9 \4  
      The org.apache.struts2.dispatcher.multipart. 6\/C]![%  
      MultiPartRequest parser implementation for a multipart request (file upload) 1i#M(u_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) m7g; psg  
E3;[*ve  
h6 8sQd  
struts.multipart.saveDir U]d{hY."  
      The directory to use for storing uploaded files G W|~sE +  
      设置存储上传文件的目录夹 NFU 5+X-c  
MXSPD# gN  
struts.objectFactory gKn"e|A  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9.D'!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) L%U-MOS=  
qL UbRp  
struts.objectFactory.spring.autoWire Ej8EQ% P  
      Whether Spring should autoWire or not >&Y8VLcK  
      是否自动绑定Spring iK= {pd  
3dQV5E.  
struts.objectFactory.spring.useClassCache I[@}+p0  
      Whether Spring should use its class cache or not N[ z7<$$  
      是否spring应该使用自身的cache / ~w\Npf0  
Nt'(JAZ;  
struts.objectTypeDeterminer G8Ns?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y]+i. 8[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u])N^AY"sj  
50uNgLs  
struts.serve.static.browserCache Ql3hq.E  
If static content served by the Struts filter should set browser caching header properties or not ~t.*B& A  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8;-a_VjA)  
&0*j nb  
struts.serve.static j#Bea ,  
      Whether the Struts filter should serve static content or not +8v^J8q0  
      是否struts过滤器应该提供静态内容 ^e8~eL+  
mJ)o-BV  
struts.tag.altSyntax j%#n}H  
      Whether to use the alterative syntax for the tags or not jf~/x>Q  
      是否可以用替代的语法替代tags -[".km  
T&fqn!i  
struts.ui.templateDir *'1qA0Xc  
      The directory containing UI templates g75)&U`>}  
      UI templates的目录夹 ^<.mUaP  
?8)_,  
struts.ui.theme o} YFDYi  
      The default UI template theme |!aMj8i2  
      默认的UI template主题 Jp=ur)Dj  
Ky|dRbK,  
struts.url.http.port @s b\0}  
      The HTTP port used by Struts URLs Vf`1'GY  
      设置http端口 "U4Sn'&h@  
/RIvUC1  
struts.url.https.port cAC]%~orx  
      The HTTPS port used by Struts URLs #t>w)`bA-  
      设置https端口 &C`t(e  
AQDT6E:  
struts.url.includeParams R%"wf   
      The default includeParams method to generate Struts URLs *"d"  
      在url中产生 默认的includeParams 4S`2")V  
Fi14_{  
TG=) KS  
struts.velocity.configfile `lRZQ:27X  
      The Velocity configuration file path F%UyFUz  
      velocity配置文件路径 *[) b}?  
{AoH  
struts.velocity.contexts \/xWsbG\  
      List of Velocity context names f-E]!\Pg  
      velocity的context列表 Rs$k3   
Q"h/o"-h  
2,{m>fF  
struts.velocity.manager.classname GKTrf\"c  
      org.apache.struts2.views.velocity.VelocityManager implementation class WV]Si2pOZ  
      org.apache.struts2.views.velocity.VelocityManager接口名 <7~HG(ks  
se:]F/  
struts.velocity.toolboxlocation /bjyV]N  
      The location of the Velocity toolbox NldeD2~H  
      velocity工具盒的位置 e23}'qb  
struts.xslt.nocache $-Lk,}s.*  
      Whether or not XSLT templates should not be cached NuRxkeEO  
      是否XSLT模版应该被缓存 6FFQoE|n  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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