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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -WWa`,:  
c0sU1:e0  
struts.action.extension C1:efa<wV  
      The URL extension to use to determine if the request is meant for a Struts action `$ql>k-6C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ogtKj"a  
4@&8jZ)a  
struts.configuration 'j 'bhG  
      The org.apache.struts2.config.Configuration implementation class +ng8!k  
        org.apache.struts2.config.Configuration接口名 {r?O>KDQf(  
jSsbLa@  
struts.configuration.files :,h47'0A  
      A list of configuration files automatically loaded by Struts C4 H M  
      struts自动加载的一个配置文件列表 y)0r%=  
vUk <z*  
struts.configuration.xml.reload +[<|TT  
      Whether to reload the XML configuration or not 7q&Ru|T33  
      是否加载xml配置(true,false) .z^ePZ|mV  
}te\) Yk.N  
struts.continuations.package Uf}s6#   
      The package containing actions that use Rife continuations U3}r.9/  
      含有actions的完整连续的package名称 l{[{pAm  
R4.$9_ ui  
struts.custom.i18n.resources OlL FuVR  
      Location of additional localization properties files to load Rq-BsMX!A  
      加载附加的国际化属性文件(不包含.properties后缀) 9%^q?S/Rv  
T>7$<ulm  
struts.custom.properties \DI%/(?  
      Location of additional configuration properties files to load %5?qS`/c(  
      加载附加的配置文件的位置 ae`*0wbv  
:P1 J>dcG  
] ?w hx &+  
struts.devMode 8=Xy19<;t  
      Whether Struts is in development mode or not s.d }*H-o  
      是否为struts开发模式 OSY$qL2  
'H+H4(  
struts.dispatcher.parametersWorkaround _WO*N9Iz  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F'^6 ra9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hK5BOq!y  
tgCEz%  
struts.enable.DynamicMethodInvocation :s`~m;Y9?  
      Allows one to disable dynamic method invocation from the URL D[yOFJ~p)  
        允许动态方法调用 j qfxQ  
H`odQkZ!  
struts.freemarker.manager.classname %C^U?m`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9%55R >s$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FR"yGx#$  
`irz'/"p  
struts.i18n.encoding }F=scbpXj  
      The encoding to use for localization messages 8h  
      国际化信息内码 M S$^m2  
FW~%xUSE5  
struts.i18n.reload wqEO+7)S  
      Whether the localization messages should automatically be reloaded f_2tMiy 5  
      是否国际化信息自动加载 P(D0ru  
*{5p/}p  
struts.locale b9b384Q1O  
      The default locale for the Struts application lf3QMr+  
      默认的国际化地区信息 hfw$820y[  
\Jq$!foYx  
struts.mapper.class ^x8*]Sz#x  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }q7rR:g  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;;#28nV  
//T1e7)  
struts.multipart.maxSize fn(< <FA)  
      The maximize size of a multipart request (file upload) GvQKFgO6h  
      multipart请求信息的最大尺寸(文件上传用) /Z`("X?_Kf  
E_k<EQ%r  
struts.multipart.parser gx,BF#8}  
      The org.apache.struts2.dispatcher.multipart. mhU ?N  
      MultiPartRequest parser implementation for a multipart request (file upload) U\dq Mp#Wy  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {8`V5:  
6vy(@z  
U-!+Cxjs  
struts.multipart.saveDir Zt;3HY=y  
      The directory to use for storing uploaded files B'<k*9=Nv8  
      设置存储上传文件的目录夹 fP<Tvf  
iG*@(  
struts.objectFactory G>"=Af(t?Y  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?XOl>IO  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  &ig6\&1  
6?GR+;/  
struts.objectFactory.spring.autoWire UolsF-U}'  
      Whether Spring should autoWire or not u By[x 0  
      是否自动绑定Spring 7:iTx;,v  
t6m&+N  
struts.objectFactory.spring.useClassCache {6}H}_( ]  
      Whether Spring should use its class cache or not |Rk9W  
      是否spring应该使用自身的cache Z{&dzc  
Ne>yFl"u  
struts.objectTypeDeterminer !Q(xA,p  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class j8gw]V/B:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +$_.${uwV  
Y.FqWJP=p  
struts.serve.static.browserCache n~`1KC4  
If static content served by the Struts filter should set browser caching header properties or not x$p_mWC  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 m3Ma2jLWC  
CG!7BP\  
struts.serve.static V!^5#A<  
      Whether the Struts filter should serve static content or not :&59N^So|  
      是否struts过滤器应该提供静态内容 VAGQR&T?  
Lmp_8q-Ej  
struts.tag.altSyntax C|or2  
      Whether to use the alterative syntax for the tags or not #>[BSgW  
      是否可以用替代的语法替代tags _6O\*|'6  
5SOl:{A +  
struts.ui.templateDir LHJ}I5zv  
      The directory containing UI templates QY)hMo=|o8  
      UI templates的目录夹 8Qm%T7]UFb  
mEh([ZnY  
struts.ui.theme St`3Z/|h  
      The default UI template theme :9c[J$R4  
      默认的UI template主题 ',>Pz+XKc  
E![Ye@w  
struts.url.http.port O%hmGW4  
      The HTTP port used by Struts URLs a%FM)/oI|T  
      设置http端口 8l<4OgoK  
s2 8t'  
struts.url.https.port y'{*B(  
      The HTTPS port used by Struts URLs qG&}lg?g{  
      设置https端口 EklcnM|6  
d[( }  
struts.url.includeParams ]i)g!J8f-  
      The default includeParams method to generate Struts URLs GE S_|[Q  
      在url中产生 默认的includeParams &N+i3l6`  
z\F#td{r  
$F#eD 0|  
struts.velocity.configfile Lo{g0~?x*  
      The Velocity configuration file path ORdS|y;:  
      velocity配置文件路径 26K sP .-  
Vs"1:gi&  
struts.velocity.contexts &[Zg;r    
      List of Velocity context names *hV$\CLT.  
      velocity的context列表 g##yR/L  
;Yr?"|  
q4xP<b^  
struts.velocity.manager.classname 4S 7#B  
      org.apache.struts2.views.velocity.VelocityManager implementation class azCod1aL{  
      org.apache.struts2.views.velocity.VelocityManager接口名 C{<dzooz  
y$Rh$e K  
struts.velocity.toolboxlocation rm5@dM@  
      The location of the Velocity toolbox # 9@K  
      velocity工具盒的位置 lK2=[%,~  
struts.xslt.nocache ZR[6-  
      Whether or not XSLT templates should not be cached j7>a ^W  
      是否XSLT模版应该被缓存 X{BS]   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五