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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 nj (\+l5  
)&") J}@  
struts.action.extension -Gyj]v5y`c  
      The URL extension to use to determine if the request is meant for a Struts action PsMp &~^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8k0f&Cak=  
&*JU N}86  
struts.configuration og~Uv"&?T  
      The org.apache.struts2.config.Configuration implementation class WSKubn?7B  
        org.apache.struts2.config.Configuration接口名 r-s9]0"7~  
wyi%!H  
struts.configuration.files i[#XYX'\  
      A list of configuration files automatically loaded by Struts &<>NP?j}  
      struts自动加载的一个配置文件列表 >* )fmfY  
fN!lXPgM  
struts.configuration.xml.reload y[64O x  
      Whether to reload the XML configuration or not DmA~Vj!a^y  
      是否加载xml配置(true,false) ;_oJGII?br  
i>aIuQ`pe  
struts.continuations.package I)AbH<G{  
      The package containing actions that use Rife continuations S%p.|!  
      含有actions的完整连续的package名称 Ds<~JfVl  
+I>V9%%vW_  
struts.custom.i18n.resources $[xS>iuD  
      Location of additional localization properties files to load r1A<XP|1?I  
      加载附加的国际化属性文件(不包含.properties后缀) )L0NX^jW;  
q(9S4F   
struts.custom.properties +td]g9Ie  
      Location of additional configuration properties files to load  %ZR<z$  
      加载附加的配置文件的位置 gy*c$[NS$  
%jErLg  
]=Dzr<*v  
struts.devMode ?glK~G!i  
      Whether Struts is in development mode or not hR+\,P#G[  
      是否为struts开发模式 Re<@ .d  
U^&,xz$Cg  
struts.dispatcher.parametersWorkaround NE)Yd7m-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5I6u 2k3  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |\<L7|hb9  
E rrs6  
struts.enable.DynamicMethodInvocation crbph.0  
      Allows one to disable dynamic method invocation from the URL /=K(5Xd  
        允许动态方法调用 G&z^AV  
q\n,/#'i~  
struts.freemarker.manager.classname kc7,F2=F  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Kk\TW1w3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 f6])M)  
[lz#+~rOS  
struts.i18n.encoding F.cKg~E|e  
      The encoding to use for localization messages PY76;D*`  
      国际化信息内码 pdySip<  
tu:W1?  
struts.i18n.reload 'D:R]@eK]  
      Whether the localization messages should automatically be reloaded $V\Dl]a1  
      是否国际化信息自动加载 UGDB4S  
Ow50M;E  
struts.locale B(1WI_}~  
      The default locale for the Struts application { u %xc"0y  
      默认的国际化地区信息 $z[@DB[  
p~3 (nk<+  
struts.mapper.class  &Sdf0"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2Bz\Tsp  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 zhgvqg-  
dJF3]h Y  
struts.multipart.maxSize 1}Th@Vq  
      The maximize size of a multipart request (file upload) QJF_ "  
      multipart请求信息的最大尺寸(文件上传用) "DC L Z  
g-4j1yJV<  
struts.multipart.parser JI[{n~bhGD  
      The org.apache.struts2.dispatcher.multipart. PS3jCT  
      MultiPartRequest parser implementation for a multipart request (file upload) Vj[hT~{f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'm TQ=1  
_-|+k  
& d_2WQ}  
struts.multipart.saveDir sH.,O9'r  
      The directory to use for storing uploaded files JLak>MS  
      设置存储上传文件的目录夹 GMlJM  
8gxo{<,9  
struts.objectFactory |)y-EBZe\"  
      The com.opensymphony.xwork2.ObjectFactory implementation class qH4+i STnV  
      com.opensymphony.xwork2.ObjectFactory接口(spring) t"nxny9&  
7nPjeh  
struts.objectFactory.spring.autoWire va2FgW`Bd+  
      Whether Spring should autoWire or not ,*.qa0E#W  
      是否自动绑定Spring &,tj.?NCn  
DEW;0ic  
struts.objectFactory.spring.useClassCache 3Dx@rW\  
      Whether Spring should use its class cache or not - VdCj%r>  
      是否spring应该使用自身的cache AfpC >>=@  
NXMZTZpB7  
struts.objectTypeDeterminer O$7cN\Z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class > zfFvx_q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3/ '5#$  
.sSbU^U  
struts.serve.static.browserCache jbe_r<{  
If static content served by the Struts filter should set browser caching header properties or not ,B#*<_?E5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [ D"5@  
uhU'm@JZ  
struts.serve.static /5X_gjOL,  
      Whether the Struts filter should serve static content or not #wZbG|%  
      是否struts过滤器应该提供静态内容 0|6Y% a\U  
a Z8f>t1Q  
struts.tag.altSyntax E(_lm&,4+  
      Whether to use the alterative syntax for the tags or not 84 <zTmm  
      是否可以用替代的语法替代tags aA]wFZ  
:W#?U yo  
struts.ui.templateDir D `av9I  
      The directory containing UI templates L;=3n[^x  
      UI templates的目录夹 >avkiT2  
X]_9g[V  
struts.ui.theme u{cb[M  
      The default UI template theme xYY^tZIV  
      默认的UI template主题 '=(D7F;  
8Oa+,?<0x  
struts.url.http.port @<yYMo7  
      The HTTP port used by Struts URLs .I]EP-  
      设置http端口 %<|cWYM="z  
s_3a#I  
struts.url.https.port 7NkMr8[}F  
      The HTTPS port used by Struts URLs LbuhKL}VN  
      设置https端口 KB {IWu  
Wf~PP;  
struts.url.includeParams VAp 1{  
      The default includeParams method to generate Struts URLs j_.tg7X  
      在url中产生 默认的includeParams R5xV_;wD  
MeYu  
%I;uqf  
struts.velocity.configfile ?:6w6GwAA  
      The Velocity configuration file path Bkg./iP5x  
      velocity配置文件路径 +R_s(2vz  
U ]7;K>.T  
struts.velocity.contexts %' /^[j#  
      List of Velocity context names \hdil`{>  
      velocity的context列表 ;(rK^*`fO  
Lb?0<  
I%{ 1K+V/  
struts.velocity.manager.classname LfJMSscfv  
      org.apache.struts2.views.velocity.VelocityManager implementation class ==S^IBG  
      org.apache.struts2.views.velocity.VelocityManager接口名 8gG;A8  
0./Rdf=-1j  
struts.velocity.toolboxlocation iI;np+uYk  
      The location of the Velocity toolbox hW`o-'  
      velocity工具盒的位置 _p?s[r*  
struts.xslt.nocache ,BR W=  
      Whether or not XSLT templates should not be cached 4]ko  
      是否XSLT模版应该被缓存 89{`GKWX  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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