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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @=?#nB&  
:Vrj[i-{  
struts.action.extension ynn>d  
      The URL extension to use to determine if the request is meant for a Struts action POQ4&ChA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~PX#' Jr  
K7ZRj\(CJv  
struts.configuration v807)JwS  
      The org.apache.struts2.config.Configuration implementation class dF^`6-K1  
        org.apache.struts2.config.Configuration接口名 g{Hb3id9  
acI%fYw5p`  
struts.configuration.files CtHsi8m  
      A list of configuration files automatically loaded by Struts 2 U3WH.o  
      struts自动加载的一个配置文件列表 D.YT u$T  
-yMD9b  
struts.configuration.xml.reload t?FPmbj v  
      Whether to reload the XML configuration or not 0BN=>]V~j7  
      是否加载xml配置(true,false) Bam 4%G5  
k^%F4d3z@C  
struts.continuations.package eK/rs r  
      The package containing actions that use Rife continuations 'kekJ.wJ;  
      含有actions的完整连续的package名称 8*sP  
Sr-!-eC  
struts.custom.i18n.resources h@{CMe  
      Location of additional localization properties files to load [a k[ZXC,  
      加载附加的国际化属性文件(不包含.properties后缀) m,SWG[~  
(wp?tMN5#  
struts.custom.properties bKQ-PM&I/t  
      Location of additional configuration properties files to load mW#p&{  
      加载附加的配置文件的位置 `<?((l%;R  
FD.L{  
Lmc"q FzK  
struts.devMode lmx'w  
      Whether Struts is in development mode or not O*1la/~m  
      是否为struts开发模式 u:>*~$f   
t7/a5x  
struts.dispatcher.parametersWorkaround ~t^'4"K*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic y<)q;fI7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 4K!@9+Mz  
cC$E"m  
struts.enable.DynamicMethodInvocation `3vt.b  
      Allows one to disable dynamic method invocation from the URL R-5e9vyS  
        允许动态方法调用 /&RS+By(i  
XtIY8wsP  
struts.freemarker.manager.classname ^oZD44$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (oB9$Zz!t  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $B@K  
#.<(/D+  
struts.i18n.encoding AeEF/*  
      The encoding to use for localization messages Es+BV+x[.c  
      国际化信息内码 M!iYj+nrP  
(C hL$!x  
struts.i18n.reload r%II` i  
      Whether the localization messages should automatically be reloaded CQ#%v%  
      是否国际化信息自动加载 Q46sPMH+_  
M9wj };vy  
struts.locale MU~nvs;:  
      The default locale for the Struts application FhMl+Ou  
      默认的国际化地区信息 I@YX-@&7  
PxgLt2dXa  
struts.mapper.class 0^3@>> ^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~'/_q4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5OX5\#Ux  
lHSu T2)x;  
struts.multipart.maxSize fg8U* 7  
      The maximize size of a multipart request (file upload) si|b>R&Z  
      multipart请求信息的最大尺寸(文件上传用) g/x\#W  
S)*!jI  
struts.multipart.parser |I=\+P}s  
      The org.apache.struts2.dispatcher.multipart. &;oWmmvz{  
      MultiPartRequest parser implementation for a multipart request (file upload) 4vf,RjB-5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <{Ir',;  
}aa ~@K<A  
n*i1QC  
struts.multipart.saveDir ' Y.s}Duj  
      The directory to use for storing uploaded files QP4`r#,  
      设置存储上传文件的目录夹 IF.6sJg:  
F anA~  
struts.objectFactory <@:LONe<  
      The com.opensymphony.xwork2.ObjectFactory implementation class BW%"]J  
      com.opensymphony.xwork2.ObjectFactory接口(spring) m_r_4BP  
#:M)a?E/%  
struts.objectFactory.spring.autoWire 1|%C66f^  
      Whether Spring should autoWire or not &B>YiA  
      是否自动绑定Spring UP |#WegO  
HtGGcO'bqg  
struts.objectFactory.spring.useClassCache yX;v   
      Whether Spring should use its class cache or not s~Od(,K  
      是否spring应该使用自身的cache 7I<];j  
F#$[jh$  
struts.objectTypeDeterminer r2 o-/$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class N;d@)h(N!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s1NRUV2E  
:1\QM'O  
struts.serve.static.browserCache =H2.1 :'  
If static content served by the Struts filter should set browser caching header properties or not EcW$'>^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cakb.Q  
C~a- R#  
struts.serve.static \%N | X  
      Whether the Struts filter should serve static content or not rWMG_eP:  
      是否struts过滤器应该提供静态内容 PEX(*GS  
c`h/x>fa  
struts.tag.altSyntax o%\pI%  
      Whether to use the alterative syntax for the tags or not (3+:/,{'$  
      是否可以用替代的语法替代tags @}@J$ g  
I!sB$=n  
struts.ui.templateDir -g]g  
      The directory containing UI templates &GH ,is  
      UI templates的目录夹 #v`J]I)$  
~#jD/  
struts.ui.theme =e$6o2!'}  
      The default UI template theme eb>YvC  
      默认的UI template主题 e(m#elX  
= A;B-_c  
struts.url.http.port zg83->[  
      The HTTP port used by Struts URLs pg'3j3JW$  
      设置http端口 yp:_W@  
l4s_9  
struts.url.https.port tJ,x>s?Y  
      The HTTPS port used by Struts URLs K@z zseQ}=  
      设置https端口 pC'GKk 8  
QcDWVM'v  
struts.url.includeParams T5+iX`#M  
      The default includeParams method to generate Struts URLs S<V__Sv  
      在url中产生 默认的includeParams PME ?{%&  
0cm+:  
^#VyIF3q  
struts.velocity.configfile ^?)o,djY&  
      The Velocity configuration file path }$ZcC_  
      velocity配置文件路径 r&t)%R@q  
>-{)wk;1&  
struts.velocity.contexts Z:PsQ~M  
      List of Velocity context names )m Uc !TP  
      velocity的context列表 dT9!gNvQ  
RjS&^u aP  
n(#159pZ  
struts.velocity.manager.classname 4^0L2BVcv  
      org.apache.struts2.views.velocity.VelocityManager implementation class N{<=s]I%x  
      org.apache.struts2.views.velocity.VelocityManager接口名 s]=s|  
d8? }69:h  
struts.velocity.toolboxlocation 1&@s2ee4   
      The location of the Velocity toolbox 6KD  
      velocity工具盒的位置 `2@t) :  
struts.xslt.nocache o(I[_oUy\  
      Whether or not XSLT templates should not be cached P]@m0f  
      是否XSLT模版应该被缓存 [fU2$(mT+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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