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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 0}:2Q#  
c\q   
struts.action.extension r,]#b[:.s|  
      The URL extension to use to determine if the request is meant for a Struts action e } *0ghKI  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6MG9a>=  
m rJQ#  
struts.configuration t9_E$w^U  
      The org.apache.struts2.config.Configuration implementation class mC z,2K|^~  
        org.apache.struts2.config.Configuration接口名 ph}j[Co  
8$c bVMjh  
struts.configuration.files kwud?2E  
      A list of configuration files automatically loaded by Struts 7P B)'Wl"6  
      struts自动加载的一个配置文件列表 e2+BWKaU  
=X!IH d0  
struts.configuration.xml.reload <|*'O5B  
      Whether to reload the XML configuration or not #"ftI7=42  
      是否加载xml配置(true,false) }%-t+Tf,  
9Q!b t  
struts.continuations.package @O}7XRJ_8  
      The package containing actions that use Rife continuations $f pq 3  
      含有actions的完整连续的package名称 ~aXqU#8  
;+I/I9~  
struts.custom.i18n.resources <N(oDaU  
      Location of additional localization properties files to load axk"^gps  
      加载附加的国际化属性文件(不包含.properties后缀) s 1ge0~p3  
%Td )0Lqp  
struts.custom.properties vNW jH!'  
      Location of additional configuration properties files to load ZL< MC~  
      加载附加的配置文件的位置 \#rO!z d  
zD)pF1,7:8  
ZCVl5R(mZ  
struts.devMode #u5~0,F  
      Whether Struts is in development mode or not a1.|X i'/z  
      是否为struts开发模式 8CC/BOe  
oW$s xS  
struts.dispatcher.parametersWorkaround }Z`(aDH  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T}D<Sc  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t0#[#I1+  
8seBT ;S  
struts.enable.DynamicMethodInvocation _ OaRY]  
      Allows one to disable dynamic method invocation from the URL }#v{`Sn%^C  
        允许动态方法调用 + zkm(  
gr-x |wK  
struts.freemarker.manager.classname  y\F=ui  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Qpt&3_   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 zTD@  
<8 #ObdY!  
struts.i18n.encoding xAwf49N~  
      The encoding to use for localization messages [`Cq\mI-W  
      国际化信息内码 up%Z$"Y  
eV6o3u:9  
struts.i18n.reload Hwm?#6\5  
      Whether the localization messages should automatically be reloaded jko"MfJ  
      是否国际化信息自动加载 p{=QGrxB*  
cE{ =(OQ  
struts.locale #)`A7 $/,  
      The default locale for the Struts application 6<5Jq\-h  
      默认的国际化地区信息 &,i~cG?  
&s)0z)mR8&  
struts.mapper.class 3,);0@I  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class fA! 6sB  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 q6wr=OWD  
,}C8;/V  
struts.multipart.maxSize o0p T6N)  
      The maximize size of a multipart request (file upload) a}d6o;li  
      multipart请求信息的最大尺寸(文件上传用) sl/)|~3!8  
\m@Y WO?L  
struts.multipart.parser )~rB}>^Z  
      The org.apache.struts2.dispatcher.multipart. i_F$&?)  
      MultiPartRequest parser implementation for a multipart request (file upload) 1Xyp/X2rI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }t>q9bZ9z  
y1BgK>R  
K` nJVc  
struts.multipart.saveDir nSY-?&l6P  
      The directory to use for storing uploaded files ~ E=\t9r  
      设置存储上传文件的目录夹 -U>7 H`5  
(tl}q3U  
struts.objectFactory fw{,bJ(U  
      The com.opensymphony.xwork2.ObjectFactory implementation class .h;Se  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {5Eyr$  
!U BVPR*  
struts.objectFactory.spring.autoWire 5]7&IDA]]9  
      Whether Spring should autoWire or not 1]\TI7/ n  
      是否自动绑定Spring b0a}ME&1  
MFg'YA2/  
struts.objectFactory.spring.useClassCache C%ytkzG_  
      Whether Spring should use its class cache or not V+w u  
      是否spring应该使用自身的cache hkW{88  
qSQ@p\O~  
struts.objectTypeDeterminer bj"z8kP  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9DEh*%q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2W3W/> 2 h  
P 4;{jG  
struts.serve.static.browserCache H2Eb\v`#  
If static content served by the Struts filter should set browser caching header properties or not >$ F:*lO  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H/+{e,SW"  
C=VIT*=  
struts.serve.static MB* u-N0v  
      Whether the Struts filter should serve static content or not w{'2q^>6*  
      是否struts过滤器应该提供静态内容 >IR$e=5$  
d.pp3D 9/  
struts.tag.altSyntax !*P&Eat  
      Whether to use the alterative syntax for the tags or not =w <VT%  
      是否可以用替代的语法替代tags Lp~^*j(  
:l~EE!  
struts.ui.templateDir p^8 JLC  
      The directory containing UI templates  E&%jeR  
      UI templates的目录夹 \Hs|$   
~JE|f 7  
struts.ui.theme 79z)C35~  
      The default UI template theme CT}' ")Bm  
      默认的UI template主题 &r:m&?!|VQ  
/p$=Cg[K  
struts.url.http.port @*_ZoO7{  
      The HTTP port used by Struts URLs & zgPN8u  
      设置http端口 q2!'==h2i  
n4>cERf a  
struts.url.https.port E!@/NE\-  
      The HTTPS port used by Struts URLs E|,30Z+  
      设置https端口 jm> U6  
E{gv,cUM  
struts.url.includeParams ou;qO 5CT  
      The default includeParams method to generate Struts URLs 6z1\a  
      在url中产生 默认的includeParams DVzssP g  
[tm[,VfA^  
"=ElCaP}  
struts.velocity.configfile a)S(p1BGg  
      The Velocity configuration file path +\U]p_Fo3  
      velocity配置文件路径 h^d\xn9GT#  
;>C9@S+  
struts.velocity.contexts S*rO0s:  
      List of Velocity context names `r]TA]D R  
      velocity的context列表 )]A9~H  
M1(9A>|nF  
0h:G4  
struts.velocity.manager.classname K6(.KEW  
      org.apache.struts2.views.velocity.VelocityManager implementation class qwP$~Bj  
      org.apache.struts2.views.velocity.VelocityManager接口名 &>V/X{>$`K  
2C{/`N  
struts.velocity.toolboxlocation (0g7-Ci  
      The location of the Velocity toolbox F8 ?uQP8  
      velocity工具盒的位置 n7+aM@G  
struts.xslt.nocache H`?* bG  
      Whether or not XSLT templates should not be cached bpnv&EG  
      是否XSLT模版应该被缓存 nF j-<!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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