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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 q7-.-k<dQ  
lWe1Q#  
struts.action.extension lMW4SRk1C  
      The URL extension to use to determine if the request is meant for a Struts action GJB= 5nE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e/nc[  
:f|X$> b  
struts.configuration dLnu\bSF  
      The org.apache.struts2.config.Configuration implementation class ,f2tG+P  
        org.apache.struts2.config.Configuration接口名 [7|j:!  
tMnwY'  
struts.configuration.files Rd|xw%R\mb  
      A list of configuration files automatically loaded by Struts fD:>cje  
      struts自动加载的一个配置文件列表 /'uFX,  
SPEDN}/^  
struts.configuration.xml.reload /N?vVp  
      Whether to reload the XML configuration or not v<SCh)[-p  
      是否加载xml配置(true,false)  d(>  
oyt#CHX  
struts.continuations.package yD n8{uI  
      The package containing actions that use Rife continuations /`"&n1  
      含有actions的完整连续的package名称 U 2@Mxw  
ocbNf'W;  
struts.custom.i18n.resources N-9qNLSP  
      Location of additional localization properties files to load r|!r!V8j  
      加载附加的国际化属性文件(不包含.properties后缀) zJCm0HLJ  
f:6%DT~a&C  
struts.custom.properties Wgr`)D  
      Location of additional configuration properties files to load 3.vQ~Fvl  
      加载附加的配置文件的位置 #'?gMVSk  
A;g{H|  
ujMics(  
struts.devMode UC{Tmf  
      Whether Struts is in development mode or not M!nwcxB!  
      是否为struts开发模式 leMcY6  
Ag#o&Y  
struts.dispatcher.parametersWorkaround MV.$Ay  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }?vVJm'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;{e=Iz}/  
<>9zXbI  
struts.enable.DynamicMethodInvocation LG6k KG  
      Allows one to disable dynamic method invocation from the URL TA~YCj$  
        允许动态方法调用 &GetRDr  
KE k]<b=  
struts.freemarker.manager.classname E 02l=M  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class HGJfj*JH  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R:}u(N  
f}_d`?K  
struts.i18n.encoding =O?#>3A}  
      The encoding to use for localization messages sHwn,4|iY  
      国际化信息内码 .xIu  
vs|_l!n3  
struts.i18n.reload N)rf /E0  
      Whether the localization messages should automatically be reloaded IC:wof "  
      是否国际化信息自动加载 $*Z Zh  
acdWU"<  
struts.locale [q5N 4&q\  
      The default locale for the Struts application *wOuw@09  
      默认的国际化地区信息 qp6*v&  
kk*:S*,  
struts.mapper.class >tFv&1iR  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NcVsQV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y3J;Kk#AH  
"Nx3_mQ  
struts.multipart.maxSize 14,Pf`5Sz  
      The maximize size of a multipart request (file upload) 'z}Hg *  
      multipart请求信息的最大尺寸(文件上传用) }CyS_Tc  
6-w'?G37  
struts.multipart.parser N1Pm4joH%  
      The org.apache.struts2.dispatcher.multipart. 0-9.u`)#yu  
      MultiPartRequest parser implementation for a multipart request (file upload) Z;XiA<|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) AvNU\$B4aG  
|y*-)t  
*i>?YT  
struts.multipart.saveDir $^1L|KgXp  
      The directory to use for storing uploaded files  KOQ9K  
      设置存储上传文件的目录夹 DIU9Le  
S ;; Z  
struts.objectFactory 8% ;K#,>  
      The com.opensymphony.xwork2.ObjectFactory implementation class O^AF+c\n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) cIIt ;q[  
U.[?1:v  
struts.objectFactory.spring.autoWire er[%Nt+99  
      Whether Spring should autoWire or not /K WR08ftp  
      是否自动绑定Spring C<?Huw4R0  
O!c b-  
struts.objectFactory.spring.useClassCache Qf}^x9'  
      Whether Spring should use its class cache or not (^Q:zU  
      是否spring应该使用自身的cache w|uO)/v  
rq.S0bzH  
struts.objectTypeDeterminer O73 /2=1V  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3w B03\P  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N%,!&\L  
j$K[QSn  
struts.serve.static.browserCache -q-/0d<l  
If static content served by the Struts filter should set browser caching header properties or not 27NhYDo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N{$'-[  
5*d  
struts.serve.static v GT#BS%  
      Whether the Struts filter should serve static content or not Du3nK" -g  
      是否struts过滤器应该提供静态内容 N2~q\BqA  
WLTraB[?  
struts.tag.altSyntax -p:X]Ov  
      Whether to use the alterative syntax for the tags or not p FkqDU  
      是否可以用替代的语法替代tags !QB(M@1  
0H6^2T<  
struts.ui.templateDir j9=QOq  
      The directory containing UI templates %qM3IVPK)q  
      UI templates的目录夹 8jnz;;|  
NNt,J;  
struts.ui.theme c<8RRYs  
      The default UI template theme JBsHr%!i  
      默认的UI template主题 "1U:qr2-H  
gD\  =  
struts.url.http.port  MR/8  
      The HTTP port used by Struts URLs {[&_)AW6m%  
      设置http端口 -[I}"Glz:  
\9S&j(I  
struts.url.https.port 06&:X^  
      The HTTPS port used by Struts URLs U1>VKP;5Nn  
      设置https端口 {cNH|  
Z L3aO,G2  
struts.url.includeParams :!wdqn  
      The default includeParams method to generate Struts URLs vIoV(rc+  
      在url中产生 默认的includeParams #\[((y:q  
[,F5GW{x  
6L~tUe.G  
struts.velocity.configfile J)w58/`?t  
      The Velocity configuration file path l9J]<gG  
      velocity配置文件路径 U*Hw t\  
f&\v+'[p  
struts.velocity.contexts l 1RpG"  
      List of Velocity context names r`Qzn" H  
      velocity的context列表 `z=I}6){  
nr#DE?  
kW#{[,7r  
struts.velocity.manager.classname l"\W]'T:r  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0ang^v;q  
      org.apache.struts2.views.velocity.VelocityManager接口名 %EZG2JjO)  
@+v;B:  
struts.velocity.toolboxlocation  [>'P  
      The location of the Velocity toolbox T4\F=iw4  
      velocity工具盒的位置 S)@95pb  
struts.xslt.nocache cNW [i"  
      Whether or not XSLT templates should not be cached P8JN m"C  
      是否XSLT模版应该被缓存 4No!`O-!&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八