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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~]m@k'n  
wd2P/y42;;  
struts.action.extension W? 6  
      The URL extension to use to determine if the request is meant for a Struts action <Bob#Tf ~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .3g\[p   
GSUOMy[M-  
struts.configuration @ B}c4,  
      The org.apache.struts2.config.Configuration implementation class [|m>vY!  
        org.apache.struts2.config.Configuration接口名 &})4?5  
_mI:Lr#dT  
struts.configuration.files Y`[HjS,  
      A list of configuration files automatically loaded by Struts l72i e  
      struts自动加载的一个配置文件列表 { 8|Z}?I  
_Oaso >  
struts.configuration.xml.reload ZQJw2LAgO  
      Whether to reload the XML configuration or not !pF KC)  
      是否加载xml配置(true,false) [W8iM7D  
|n-a\  
struts.continuations.package Rzn0-cG  
      The package containing actions that use Rife continuations 8gu7f;H/k  
      含有actions的完整连续的package名称 #7cf 8y  
M7cI$=G  
struts.custom.i18n.resources '6Z/-V4k  
      Location of additional localization properties files to load !@]h@MC$7  
      加载附加的国际化属性文件(不包含.properties后缀) K_w0+oY a  
*6\`A!C  
struts.custom.properties ^0BF2&Zx  
      Location of additional configuration properties files to load w$<fSe7  
      加载附加的配置文件的位置 ?6.KS  
u0 'pR# m|  
.-1{,o/&Q  
struts.devMode !MG>z\:  
      Whether Struts is in development mode or not L{o >D"  
      是否为struts开发模式 >> 8KL`l  
.ON$vn7  
struts.dispatcher.parametersWorkaround ;MdK3c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic q}7Df!<|  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) e4NX\tCpw  
=:R[gdA#1  
struts.enable.DynamicMethodInvocation )eedfb1  
      Allows one to disable dynamic method invocation from the URL %]= 'Uv^x  
        允许动态方法调用 CH R?i1e  
O<H@:W #k  
struts.freemarker.manager.classname w1!\L_::Y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class q5K/+N^2?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *z  ;N  
(w7cdqe  
struts.i18n.encoding '=G<)z@k  
      The encoding to use for localization messages :8GxcqvCWq  
      国际化信息内码 nbkky .e  
f^yLwRUD  
struts.i18n.reload m} F Ce  
      Whether the localization messages should automatically be reloaded O.40^u~  
      是否国际化信息自动加载 IB]VPj5  
~?8 x0  
struts.locale 4 *2>R8SX~  
      The default locale for the Struts application TQxc?o  
      默认的国际化地区信息 /\Y%DpG$  
yKk,);  
struts.mapper.class G4`sRaT.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class p=P0$P+KM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 m#}{"d&J  
GT`<jzAiQ  
struts.multipart.maxSize 0T{Y_IG  
      The maximize size of a multipart request (file upload) =jd=Qs IL  
      multipart请求信息的最大尺寸(文件上传用) Dm`U|<o  
%w|3:  
struts.multipart.parser ]V]@Zna@g  
      The org.apache.struts2.dispatcher.multipart. KX`nHu;  
      MultiPartRequest parser implementation for a multipart request (file upload) 7!QXh;u  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~>-;(YU"t  
#p9z#kin  
gu%'M:Xe  
struts.multipart.saveDir AZ Lt'9UD  
      The directory to use for storing uploaded files 0o'ML""j  
      设置存储上传文件的目录夹 Jtk.v49Ad>  
f`";Q/rG  
struts.objectFactory 0Ukl#6  
      The com.opensymphony.xwork2.ObjectFactory implementation class Q8/0Cb/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) a_fW {;}[  
O=?X%m #  
struts.objectFactory.spring.autoWire ?Dp^dR  
      Whether Spring should autoWire or not |h~/Zz=  
      是否自动绑定Spring /v ;Kb|e  
a0W\?  
struts.objectFactory.spring.useClassCache arH\QPaka'  
      Whether Spring should use its class cache or not kp>Z/kt  
      是否spring应该使用自身的cache 36Y[7 m=  
I z=w2\r  
struts.objectTypeDeterminer B+H9c~3$  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rls#g w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \rnG 1o  
FoXQ]X7"  
struts.serve.static.browserCache -v+^x`HR  
If static content served by the Struts filter should set browser caching header properties or not BNm va  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ol5xyj  
}c#/1J7  
struts.serve.static )PATz #  
      Whether the Struts filter should serve static content or not Kxaz^$5Y$  
      是否struts过滤器应该提供静态内容 -/{}^ QWB  
U\GZ  
struts.tag.altSyntax V4i%|vV  
      Whether to use the alterative syntax for the tags or not N S}`(N  
      是否可以用替代的语法替代tags G(3la3\(  
E&tmWOMj>  
struts.ui.templateDir Gbm_xEPC  
      The directory containing UI templates M[N.H9  
      UI templates的目录夹 z7pXpy \  
imq(3?  
struts.ui.theme =]mx"0i[  
      The default UI template theme =sVt8FWGY  
      默认的UI template主题 >"{zrwNq  
YqCK#zT/  
struts.url.http.port *xVAm7_v  
      The HTTP port used by Struts URLs +rO<'H:umJ  
      设置http端口 4'[ V'c\  
uiEA=*axp  
struts.url.https.port Ca"+t lO  
      The HTTPS port used by Struts URLs [)0k}  
      设置https端口 ]<z(Rmn`Q  
ffd 3QQ  
struts.url.includeParams ]c=1-Rl  
      The default includeParams method to generate Struts URLs v!9Imf  
      在url中产生 默认的includeParams "fJ|DE&@<i  
&+iW:  
D)Rf  
struts.velocity.configfile To? bp4  
      The Velocity configuration file path a-2 {x2O  
      velocity配置文件路径 zW`koRH@  
:R\v# )C  
struts.velocity.contexts eyjUNHeh#  
      List of Velocity context names :Aiu!}\  
      velocity的context列表 p+D 6Z'B  
sBI%lrO  
{ 4{{;   
struts.velocity.manager.classname RYaof W  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]7 mSM  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~,-O  
^#nWgo7{7  
struts.velocity.toolboxlocation s hvcc  
      The location of the Velocity toolbox * %BI*p  
      velocity工具盒的位置 ,w>?N\w!}  
struts.xslt.nocache n{ WJ.Y*  
      Whether or not XSLT templates should not be cached 9?,.zc^  
      是否XSLT模版应该被缓存 z5'nS&x  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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