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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 [/G;XHL;?  
:3f2^(b~^  
struts.action.extension `?x$J 6p  
      The URL extension to use to determine if the request is meant for a Struts action "tM/`:Qp  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 y~7lug  
#A; Z4jK  
struts.configuration p0K;m%  
      The org.apache.struts2.config.Configuration implementation class .TC `\mV  
        org.apache.struts2.config.Configuration接口名 0K ?(xB  
Q8?D}h  
struts.configuration.files fXe-U='  
      A list of configuration files automatically loaded by Struts fP58$pwu  
      struts自动加载的一个配置文件列表 5H+k_U  
&J$5+"/;X  
struts.configuration.xml.reload tHbPd.^  
      Whether to reload the XML configuration or not |@.<} /  
      是否加载xml配置(true,false) V%lGJ]ZEa  
x[UO1% _o-  
struts.continuations.package Bq@wS\W>b}  
      The package containing actions that use Rife continuations 2< Bv=B  
      含有actions的完整连续的package名称 cg0 0t+  
sG2 3[t8  
struts.custom.i18n.resources 'V#ew\  
      Location of additional localization properties files to load CDj Dhs  
      加载附加的国际化属性文件(不包含.properties后缀) aa8Qs lm  
Z4ioXl  
struts.custom.properties .A)Un/k7  
      Location of additional configuration properties files to load pm~;:#z7  
      加载附加的配置文件的位置 od*Z$Hb>'  
}Xj_Y]T  
Xe;(y "pR  
struts.devMode ]fo^43rn{  
      Whether Struts is in development mode or not R2THL  
      是否为struts开发模式 8zDH<Gb  
2 pa3}6P+  
struts.dispatcher.parametersWorkaround aGb. Lh9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1Dp @n  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Qk.Q9@3W  
) Zo_6%  
struts.enable.DynamicMethodInvocation T% 13 '  
      Allows one to disable dynamic method invocation from the URL Y{vwOs  
        允许动态方法调用 X|E+K  
kN |5 J  
struts.freemarker.manager.classname 8KwC wv  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~+ s*\~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Kt,yn A  
?7MwTi8{F  
struts.i18n.encoding q%k(M[  
      The encoding to use for localization messages a,*p_:~i  
      国际化信息内码 2 ?- 07g  
76A>^Bs\/  
struts.i18n.reload G yAgPz  
      Whether the localization messages should automatically be reloaded B$TChc3B  
      是否国际化信息自动加载 X";Z Up  
DwmU fZp  
struts.locale 'K`Rbhy  
      The default locale for the Struts application (s$u_aq 77  
      默认的国际化地区信息 ct}%Mdg  
WAB0e~e:|Q  
struts.mapper.class n5+S"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4Kn9*V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 a=*ALd_&0  
%7v@n+Q  
struts.multipart.maxSize mw(c[.*%  
      The maximize size of a multipart request (file upload)  S2&9# 6  
      multipart请求信息的最大尺寸(文件上传用) }\f(qw  
tpa^k  
struts.multipart.parser %x}&=zx0*1  
      The org.apache.struts2.dispatcher.multipart. z_Wm HB  
      MultiPartRequest parser implementation for a multipart request (file upload) &{E`=4T2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) wD6!#t k  
~|'y+h89  
4W!\4Va  
struts.multipart.saveDir %l:|2s:  
      The directory to use for storing uploaded files FE+7X=y  
      设置存储上传文件的目录夹 3WCqKXJ7  
w53z*l>ek  
struts.objectFactory J3~hzgY  
      The com.opensymphony.xwork2.ObjectFactory implementation class z|3`0eWIG  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _,_8X7  
F_nZvv[H?  
struts.objectFactory.spring.autoWire tE]5@b,R  
      Whether Spring should autoWire or not my ;  
      是否自动绑定Spring E kBae=  
YX ;n6~y  
struts.objectFactory.spring.useClassCache +urS5c* j  
      Whether Spring should use its class cache or not `6Ureui2?  
      是否spring应该使用自身的cache @PQrmn6w  
.Vo"AuC}  
struts.objectTypeDeterminer AanH{  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 731h ~x!u  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 cBifZv*l  
F0&~ ?2nG  
struts.serve.static.browserCache R}DX(T,K  
If static content served by the Struts filter should set browser caching header properties or not CKv&Re  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 J>=1dCK  
%K h2E2Pe  
struts.serve.static `'p`PyMt`  
      Whether the Struts filter should serve static content or not 3ppuQ Q  
      是否struts过滤器应该提供静态内容 rH9uGm-*  
\!^i;1h0c3  
struts.tag.altSyntax 9&jQ 35  
      Whether to use the alterative syntax for the tags or not `$S^E !=  
      是否可以用替代的语法替代tags HEBqv+bG  
[ULwzjss#L  
struts.ui.templateDir m@ i2#  
      The directory containing UI templates 0VzXDb>`  
      UI templates的目录夹 u4:\UC'  
j]pohxn$5  
struts.ui.theme sFLcOPj-%  
      The default UI template theme }0QN[$H!  
      默认的UI template主题 2;:lK":  
(%[Tk[  
struts.url.http.port G%a] j  
      The HTTP port used by Struts URLs Q[M (Wqg  
      设置http端口 I>{!U$  
QhsMd- v  
struts.url.https.port bA}Z0a  
      The HTTPS port used by Struts URLs T^~)jpkw  
      设置https端口 9b1?W?"  
RI-A"cc6A  
struts.url.includeParams zI:(33)  
      The default includeParams method to generate Struts URLs :$=|7v  
      在url中产生 默认的includeParams !"Qb}g  
lR:?uZ$  
,j y<o+!  
struts.velocity.configfile %JQ~!3  
      The Velocity configuration file path lW p~t  
      velocity配置文件路径 20aZI2sk`  
9`B0fv Q&  
struts.velocity.contexts |xh&p(  
      List of Velocity context names PWvSbn6  
      velocity的context列表 &y7 0  
Q"%QQo}}  
Okpwh kPL5  
struts.velocity.manager.classname Edw2W8  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7R,qDp S  
      org.apache.struts2.views.velocity.VelocityManager接口名 3?2<W EYr  
T"?Y5t`(  
struts.velocity.toolboxlocation j$Nf%V 6Y  
      The location of the Velocity toolbox ~wOTjz  
      velocity工具盒的位置  `?|Rc  
struts.xslt.nocache w$j{Hp6m  
      Whether or not XSLT templates should not be cached  GP+2/D  
      是否XSLT模版应该被缓存 :&qhJtGo  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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