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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 y-R:-K XH=  
!`qw" i  
struts.action.extension %}ASll0uq  
      The URL extension to use to determine if the request is meant for a Struts action NxzRVsNF  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 mJFFst,  
1_RN*M +#  
struts.configuration ~z&Ho  
      The org.apache.struts2.config.Configuration implementation class 88~ lP7J  
        org.apache.struts2.config.Configuration接口名 m`B .3  
M?G4k]  
struts.configuration.files -xMM}r y  
      A list of configuration files automatically loaded by Struts @mRda %qR  
      struts自动加载的一个配置文件列表 v#ERXIrf  
I?#B_R#  
struts.configuration.xml.reload DFN  
      Whether to reload the XML configuration or not EhK~S(r^  
      是否加载xml配置(true,false) .N~YVul[a*  
6SVh6o@]  
struts.continuations.package Ps=<@,dks  
      The package containing actions that use Rife continuations 0{Bhr12V  
      含有actions的完整连续的package名称 6e q`/~#  
Y V#|qb  
struts.custom.i18n.resources =Xu(Js-  
      Location of additional localization properties files to load eczS(KoL4  
      加载附加的国际化属性文件(不包含.properties后缀) h$#zuqm  
g'nN#O  
struts.custom.properties wfY]J0l  
      Location of additional configuration properties files to load y_A7CG"^  
      加载附加的配置文件的位置 NI)q<@ju  
a,~}G'U  
n}!D)Gx  
struts.devMode 03^?+[C  
      Whether Struts is in development mode or not e}bY 9  
      是否为struts开发模式 r>.^4Z@  
Y&y5^nG  
struts.dispatcher.parametersWorkaround 8iKupaaOX  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4M3{P  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S1G=hgF_L  
 OYwH$5  
struts.enable.DynamicMethodInvocation ns;nle|m  
      Allows one to disable dynamic method invocation from the URL IP-}J$$1  
        允许动态方法调用 jSMs<ox  
[X=J]e^D  
struts.freemarker.manager.classname @ 9q/jv`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class A_xUP9g@?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9!UFLZR  
," ~4l&  
struts.i18n.encoding !Q" 3B6 86  
      The encoding to use for localization messages MsLQ'9%Au  
      国际化信息内码 wML5T+  
XJ9l, :c,  
struts.i18n.reload I15g G.)  
      Whether the localization messages should automatically be reloaded L; f  
      是否国际化信息自动加载 }5{#f`Ca6  
XJ9bY\>)q1  
struts.locale 3GU JlFj  
      The default locale for the Struts application o^b4l'&o  
      默认的国际化地区信息 .X(*mmH  
Ii4lwZnz  
struts.mapper.class nd?R|._R  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (%^Bp\.02!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Lf} @v  
-4!i(^w[m/  
struts.multipart.maxSize q[T='!Z\  
      The maximize size of a multipart request (file upload) `Q~`Eq?@  
      multipart请求信息的最大尺寸(文件上传用) y*fU_Il|!  
`Z!NOC  
struts.multipart.parser "i3Q)$"S  
      The org.apache.struts2.dispatcher.multipart. FdVWj 5 $a  
      MultiPartRequest parser implementation for a multipart request (file upload) +5C*i@v  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )Og,VXEB  
KtY_m`DY4R  
ecl$z6'c  
struts.multipart.saveDir IsjD-t  
      The directory to use for storing uploaded files \/ 8 V|E  
      设置存储上传文件的目录夹 Gkq<?q({t  
d}e/f)(  
struts.objectFactory |e#ea~/b  
      The com.opensymphony.xwork2.ObjectFactory implementation class a}]zwV&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $Y Cy,Ew   
|=CV.Su  
struts.objectFactory.spring.autoWire Tr@}  
      Whether Spring should autoWire or not SpG^kI #  
      是否自动绑定Spring )s';m$  
9azk(OL6  
struts.objectFactory.spring.useClassCache i'}Z>g5D  
      Whether Spring should use its class cache or not  V6{P41_  
      是否spring应该使用自身的cache =W Q_5}  
kb>/R/,9  
struts.objectTypeDeterminer h0)Wy>B=,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class BHW8zY=F  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2rK<UPIq  
-{A!zTw1w  
struts.serve.static.browserCache Y)=89s&t  
If static content served by the Struts filter should set browser caching header properties or not B[R1XpB7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 R;*3";+v|:  
M6+_Mi.  
struts.serve.static L*VO2YI  
      Whether the Struts filter should serve static content or not ,.ln  
      是否struts过滤器应该提供静态内容 UEvRK?mm=  
.CL\``  
struts.tag.altSyntax `Al5(0Q  
      Whether to use the alterative syntax for the tags or not N?'V,p 0=  
      是否可以用替代的语法替代tags ,\FJVS;NeJ  
N}*|*!6hI  
struts.ui.templateDir M)U 32gI:  
      The directory containing UI templates m-Uq6_e  
      UI templates的目录夹 %-6I  
5$e|@/(0  
struts.ui.theme GCUzKf&  
      The default UI template theme s9wc ZO  
      默认的UI template主题 8W]6/st?]  
f@R j;R~Jp  
struts.url.http.port y6lle<SIu  
      The HTTP port used by Struts URLs \wxS~T<&L  
      设置http端口 }/yhwijg  
%s;#epP$  
struts.url.https.port $f-f0t'  
      The HTTPS port used by Struts URLs @}K'Ic  
      设置https端口 1A4!zqT;  
X;7gh>Q'4  
struts.url.includeParams zUM;Qwl  
      The default includeParams method to generate Struts URLs 1}C|Javkn  
      在url中产生 默认的includeParams n# %mL<  
 #cqia0.H  
2NLD7A  
struts.velocity.configfile bUf2uWy7  
      The Velocity configuration file path #ra~Yb-F  
      velocity配置文件路径 1Z?en  
8 'Z#sM^E  
struts.velocity.contexts `/:ZB6  
      List of Velocity context names h&+dIk\[3  
      velocity的context列表 zo-hH8J:  
C:/O]slH  
nk,X6o9%  
struts.velocity.manager.classname ,BCtNt(  
      org.apache.struts2.views.velocity.VelocityManager implementation class y#5xS  
      org.apache.struts2.views.velocity.VelocityManager接口名 V]cD^Fqp  
(PjC]`FK  
struts.velocity.toolboxlocation wR\Y+Z   
      The location of the Velocity toolbox 2r2qZ#I}  
      velocity工具盒的位置 P%A^TD|  
struts.xslt.nocache 31 \l0Jg  
      Whether or not XSLT templates should not be cached :b[ [}'  
      是否XSLT模版应该被缓存 8<C u S  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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