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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?-JW2 E"uT  
8Y [4JXUK  
struts.action.extension v^aI+p6  
      The URL extension to use to determine if the request is meant for a Struts action 9XmbHS[0V  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pgBIYeY,  
YRQ?:a{H  
struts.configuration %OOy90b2  
      The org.apache.struts2.config.Configuration implementation class i,,mt_/,  
        org.apache.struts2.config.Configuration接口名 P"+R:O\!g  
F},kfCFF  
struts.configuration.files j{YIVX  
      A list of configuration files automatically loaded by Struts # J^ >7v  
      struts自动加载的一个配置文件列表 {t|Q9&  
=!u]t &yv  
struts.configuration.xml.reload #j'7\SV  
      Whether to reload the XML configuration or not l ;S_J^S  
      是否加载xml配置(true,false) )j!%`g  
YmD~&J  
struts.continuations.package e[6Me[b  
      The package containing actions that use Rife continuations s9SUj^  
      含有actions的完整连续的package名称 XZrzG P(  
V/tl-;W  
struts.custom.i18n.resources ki|OowP  
      Location of additional localization properties files to load 39A|6>-?  
      加载附加的国际化属性文件(不包含.properties后缀) lib}dk  
T?CQgVR  
struts.custom.properties +wfZFJ:1l  
      Location of additional configuration properties files to load A<IV"bo  
      加载附加的配置文件的位置 NjKC{L5S:  
wLxuSs|  
']N\y6=fn9  
struts.devMode 9M-W 1prb  
      Whether Struts is in development mode or not )}u?ftu\  
      是否为struts开发模式 hqa6aYY x  
<5zr|BTF]F  
struts.dispatcher.parametersWorkaround 5?.!A 'zb  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic P|ftEF  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &FG0v<f5Pv  
9Y?``QBN  
struts.enable.DynamicMethodInvocation k ~4o`eA  
      Allows one to disable dynamic method invocation from the URL E {UhM q7  
        允许动态方法调用 .  LeS-  
F^&@[k7WW  
struts.freemarker.manager.classname DABV}@K"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class uK0L>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 qp{~OW3  
c3WF!~1r  
struts.i18n.encoding i!eY"|o  
      The encoding to use for localization messages &%tW  
      国际化信息内码 WBR# Ux  
`5n^DP*X  
struts.i18n.reload SeuDJxqopD  
      Whether the localization messages should automatically be reloaded r{f$n  
      是否国际化信息自动加载 (:R5"|]@<x  
PmQeO*f+  
struts.locale 5sSAH  
      The default locale for the Struts application BZIU@^Q_Y[  
      默认的国际化地区信息 +0%Y.O/{  
0}M'>  
struts.mapper.class Ym6v4k!@O  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _ Td#C1g3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 pcQgWjfS  
NTSIClm}U  
struts.multipart.maxSize qcge#S>  
      The maximize size of a multipart request (file upload) >8&fFq  
      multipart请求信息的最大尺寸(文件上传用) nELY(z  
BU|)lU5)z  
struts.multipart.parser PP]7_h^ 2  
      The org.apache.struts2.dispatcher.multipart. C3~O6<,Jh  
      MultiPartRequest parser implementation for a multipart request (file upload) '<'5BeU  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b5? kgY  
V9cj  
_|{Z850AS  
struts.multipart.saveDir x4,[5N"}YK  
      The directory to use for storing uploaded files 9P*f  
      设置存储上传文件的目录夹 wUL 5"\  
Yp\Y]pym  
struts.objectFactory ?1r<`o3l\  
      The com.opensymphony.xwork2.ObjectFactory implementation class eI%k xqc  
      com.opensymphony.xwork2.ObjectFactory接口(spring) M"-.D;sa1  
f1 XM_  
struts.objectFactory.spring.autoWire OGO\u#  
      Whether Spring should autoWire or not 4UND;I&  
      是否自动绑定Spring [;UI8St w  
OzR<jCOS  
struts.objectFactory.spring.useClassCache 2`A[<S  
      Whether Spring should use its class cache or not RL H!f1cta  
      是否spring应该使用自身的cache W$W w/mcl+  
#99=wn  
struts.objectTypeDeterminer rC_saHo>#R  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class wO6>jW 7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 d%K{JkD-  
ca5;Z@t$S  
struts.serve.static.browserCache `i+2YCk  
If static content served by the Struts filter should set browser caching header properties or not )`6OSB  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 qyh]v[  
#o,FVYYj  
struts.serve.static cucT |y  
      Whether the Struts filter should serve static content or not \f=kQbM  
      是否struts过滤器应该提供静态内容 =5:S"WNj  
74&{GCL  
struts.tag.altSyntax -9Ygn_M  
      Whether to use the alterative syntax for the tags or not aj=-^iGG  
      是否可以用替代的语法替代tags BkY#wJ'  
ab#z&jg!  
struts.ui.templateDir P@% L.y B  
      The directory containing UI templates jy_4W!4a  
      UI templates的目录夹 :Ys ;)W+R  
X":2o|R  
struts.ui.theme d= ?lPEzSA  
      The default UI template theme GkI{7GD:z  
      默认的UI template主题 s3'kzwX  
Vv+ oq5hf  
struts.url.http.port =#A/d `2 b  
      The HTTP port used by Struts URLs L\!Oj5  
      设置http端口 ?b93! Q1  
O}j@+p%M  
struts.url.https.port 87m`K Str7  
      The HTTPS port used by Struts URLs Wtp=1  
      设置https端口 #%L_wJB-  
-B(p8YH  
struts.url.includeParams 1QnaZhu'  
      The default includeParams method to generate Struts URLs ):A.A,skf  
      在url中产生 默认的includeParams _;:_ !`  
<GLoTolZ  
",#Ug"|2  
struts.velocity.configfile  vNdW.V}  
      The Velocity configuration file path P>^$X  
      velocity配置文件路径 l3/Cj^o4  
}*O8]lG  
struts.velocity.contexts @\M^Zuo  
      List of Velocity context names =k;X}/  
      velocity的context列表 4vND ~9d  
;0NJX)GL  
c#>:U,j  
struts.velocity.manager.classname C5jt(!pi  
      org.apache.struts2.views.velocity.VelocityManager implementation class A PrrUo  
      org.apache.struts2.views.velocity.VelocityManager接口名 [Z&<# -  
J)|I/8!#  
struts.velocity.toolboxlocation t:v>W8N53  
      The location of the Velocity toolbox 2izBB,# "  
      velocity工具盒的位置 'pO-h,{TS  
struts.xslt.nocache d`% 7Pk  
      Whether or not XSLT templates should not be cached b! teSf  
      是否XSLT模版应该被缓存 .[1@wW&L  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八