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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 L slI!.(  
L W 8LD|@  
struts.action.extension V)=!pT  
      The URL extension to use to determine if the request is meant for a Struts action 3[amCKel  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .k|8nNj  
ssUWr=mD  
struts.configuration Cj#$WZga%  
      The org.apache.struts2.config.Configuration implementation class 4f:B2x{  
        org.apache.struts2.config.Configuration接口名 mfc\w'  
buu~#m 1z  
struts.configuration.files ]nY,%XE  
      A list of configuration files automatically loaded by Struts UOC>H%r~M?  
      struts自动加载的一个配置文件列表 5ro^<P0f**  
e3oHe1"hP  
struts.configuration.xml.reload b*&AIiT  
      Whether to reload the XML configuration or not JvX]^t/}  
      是否加载xml配置(true,false) F<39eDNpz  
V{+'(<SV  
struts.continuations.package 3|x*lmit  
      The package containing actions that use Rife continuations #eadkj #;  
      含有actions的完整连续的package名称 gqJSz}'  
0A9llE  
struts.custom.i18n.resources p8,Rr{  
      Location of additional localization properties files to load ]-]K4*{   
      加载附加的国际化属性文件(不包含.properties后缀) 4c^WQ>[  
pY]T3 2  
struts.custom.properties v"ZNS  
      Location of additional configuration properties files to load UEHJ? }  
      加载附加的配置文件的位置 rO4R6A  
AtU%S9  
 i;B &~  
struts.devMode p?rh+0wgX  
      Whether Struts is in development mode or not ?i'N 9 /(  
      是否为struts开发模式 d^h`gu~3  
m'HAt~  
struts.dispatcher.parametersWorkaround C)Ep}eHjf_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic t@r>GHO  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~P!\;S  
Hw29V //  
struts.enable.DynamicMethodInvocation ^I W5c>;|  
      Allows one to disable dynamic method invocation from the URL hNU$a?eVpR  
        允许动态方法调用 t^Z-0jH  
k0r93 xa  
struts.freemarker.manager.classname HE!"3S2S&+  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p.@ kv  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 %Yw?!GvL[  
Aq 5CF`e{  
struts.i18n.encoding Ob!NC&  
      The encoding to use for localization messages !#&`1cYX  
      国际化信息内码 qkXnpv  
aFw \ w>*^  
struts.i18n.reload s#cb wDT  
      Whether the localization messages should automatically be reloaded A_8Xhem${  
      是否国际化信息自动加载 kF]sy8u]  
~#MXhhqB  
struts.locale 5nV IC3N+1  
      The default locale for the Struts application x3AAn,m8  
      默认的国际化地区信息 k%D|17I  
Z1}@N/>>  
struts.mapper.class <>v=jH|L  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5 6JxHQu  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 v`r![QpYf  
jWL%*dJrN  
struts.multipart.maxSize ]A=yj@o$xN  
      The maximize size of a multipart request (file upload) F5y0(=$T  
      multipart请求信息的最大尺寸(文件上传用) gCV+amP  
eC{St0  
struts.multipart.parser 6nA/LW\x  
      The org.apache.struts2.dispatcher.multipart. b^:frjaE3  
      MultiPartRequest parser implementation for a multipart request (file upload) 4^Ke? ;v  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z[Ah9tM%  
)TfX}  
%63s(ekU  
struts.multipart.saveDir 9^+E$V1@  
      The directory to use for storing uploaded files 4iDqd  
      设置存储上传文件的目录夹 7v&>d,  
b+`qGJrej  
struts.objectFactory ;I9g;}  
      The com.opensymphony.xwork2.ObjectFactory implementation class T' =6_?7K4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %At.nlss  
D"msD"  
struts.objectFactory.spring.autoWire [*J?TNk  
      Whether Spring should autoWire or not fHODS9HQ  
      是否自动绑定Spring F'-,Ksn  
EQtYb"_  
struts.objectFactory.spring.useClassCache F%f)oq`B  
      Whether Spring should use its class cache or not _WR/]1R  
      是否spring应该使用自身的cache <0!<T+JQ  
!k Heslvi  
struts.objectTypeDeterminer */HW]x|?V~  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,8.$!Zia  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8<x& Xd  
/|8rVYSs  
struts.serve.static.browserCache ?bPW*A82{q  
If static content served by the Struts filter should set browser caching header properties or not ]O>AD 6P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Eunmc  
nDS\2  
struts.serve.static ~.>8ww  
      Whether the Struts filter should serve static content or not 0|<9eD\I=  
      是否struts过滤器应该提供静态内容 naM~>N  
^T#jBqe  
struts.tag.altSyntax lMl'+ yy  
      Whether to use the alterative syntax for the tags or not 8aJJ??o{  
      是否可以用替代的语法替代tags )HcLpoEi  
5Bt~tt  
struts.ui.templateDir W] WH4.y  
      The directory containing UI templates $;&l{=e2)  
      UI templates的目录夹 )FSEHQ  
YG /@=Z.  
struts.ui.theme XG!6[o;  
      The default UI template theme c39j|/!;Y  
      默认的UI template主题 qyAnq%B}  
~MP |L?my  
struts.url.http.port FJ^\K+;  
      The HTTP port used by Struts URLs P,xIDj4d  
      设置http端口 +$Y*1{hyOo  
}'?qUy3x  
struts.url.https.port -k@1# c+z  
      The HTTPS port used by Struts URLs f5p/cUzX  
      设置https端口 8#\|Y~P  
6#AEVRJKU@  
struts.url.includeParams I:HrBhI)wP  
      The default includeParams method to generate Struts URLs >28l9U  
      在url中产生 默认的includeParams rW090Py  
=@pD>h/~  
'<xE 0<  
struts.velocity.configfile 0b/@QgJ  
      The Velocity configuration file path ;aj;(Z.p)  
      velocity配置文件路径 ^^zj4 }On?  
Aix6O=K6  
struts.velocity.contexts `N&*+!O%  
      List of Velocity context names d3|/&gDBK  
      velocity的context列表 hv?T}E  
[& Z- *a  
tGgDS)  
struts.velocity.manager.classname 6VC|] |*  
      org.apache.struts2.views.velocity.VelocityManager implementation class W~2,J4=  
      org.apache.struts2.views.velocity.VelocityManager接口名 4'=Q:o*w`  
?wv^X`Q*~  
struts.velocity.toolboxlocation 2Wu`Dp;&l  
      The location of the Velocity toolbox ?AD- n6  
      velocity工具盒的位置 J <;xkT1x  
struts.xslt.nocache ;HH%OfQq  
      Whether or not XSLT templates should not be cached e[?,'Mp9  
      是否XSLT模版应该被缓存 N mXRA(m  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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