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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 whV&qe;sw  
Bj;\mUsk  
struts.action.extension 2~vo+ng  
      The URL extension to use to determine if the request is meant for a Struts action Lf5%M|o.)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nVz5V%a!\q  
uQeqnGp  
struts.configuration RxlszyE  
      The org.apache.struts2.config.Configuration implementation class Zw2jezP@t  
        org.apache.struts2.config.Configuration接口名 gE\A9L~b  
" <<A  
struts.configuration.files 7sj<|g<h(_  
      A list of configuration files automatically loaded by Struts U5|B9%:&  
      struts自动加载的一个配置文件列表 /m97CC#+  
`-~`<#E[  
struts.configuration.xml.reload o^6jyb!j  
      Whether to reload the XML configuration or not 4uFIpS|rq  
      是否加载xml配置(true,false) 1v;'d1Hg;  
$8jaapNm@  
struts.continuations.package V]r hr  
      The package containing actions that use Rife continuations r %+Bc Y  
      含有actions的完整连续的package名称 +#0~:&!9  
^Y$QR]  
struts.custom.i18n.resources >NJjS8f5  
      Location of additional localization properties files to load $kD7y5  
      加载附加的国际化属性文件(不包含.properties后缀) EY So=  
ZH\0=l)  
struts.custom.properties _o\>V:IZ  
      Location of additional configuration properties files to load \^Ep>Pq`]  
      加载附加的配置文件的位置 ):/,w!1  
 ~q*i;*  
OWqrD@  
struts.devMode _~juv&  
      Whether Struts is in development mode or not Sbp  
      是否为struts开发模式 yb69Q#V2  
_B}9 f  
struts.dispatcher.parametersWorkaround :qBGe1Sv(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic xM% pvx.'L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pfR"s:#  
+eU`H[iu  
struts.enable.DynamicMethodInvocation 5f8"j$Az  
      Allows one to disable dynamic method invocation from the URL pQqbZ3]  
        允许动态方法调用 xtOx|FkYcl  
I=U+GY:  
struts.freemarker.manager.classname ]y.R g{iv  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class VF\{ra;  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 oBb?"2~9  
4 ^4d9?c  
struts.i18n.encoding pG(Fz0b{  
      The encoding to use for localization messages Z*h43  
      国际化信息内码 zkd3Z$Ce  
;{Xy`{Cg!  
struts.i18n.reload F{;; :  
      Whether the localization messages should automatically be reloaded Ky *DfQA  
      是否国际化信息自动加载 ;8BA~,4l  
{wcO[bN  
struts.locale juH wHt  
      The default locale for the Struts application yE}BfU {.  
      默认的国际化地区信息 f?Z|>3.2  
%Mh Q  
struts.mapper.class <3lUV7!  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .x EJaID\N  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  '6O|H  
MvBD@`&7  
struts.multipart.maxSize o/WC@!wg K  
      The maximize size of a multipart request (file upload) >'N!dM.+9  
      multipart请求信息的最大尺寸(文件上传用) _$8{;1$T?  
8qN"3 Et  
struts.multipart.parser m#*h{U$  
      The org.apache.struts2.dispatcher.multipart. \<X2ns@Tf  
      MultiPartRequest parser implementation for a multipart request (file upload) l nfm0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #XcU{5Qm5  
-/zp&*0gcx  
-]/7hN*v  
struts.multipart.saveDir YwGH G{?e  
      The directory to use for storing uploaded files ^xt9pa$f  
      设置存储上传文件的目录夹 TMqY4;UeL  
ALfiR(!  
struts.objectFactory wra byRjK  
      The com.opensymphony.xwork2.ObjectFactory implementation class ka#K [qI  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *o!l/>4g  
BY$[g13  
struts.objectFactory.spring.autoWire <FQFv IKg  
      Whether Spring should autoWire or not yQ'eu;+]  
      是否自动绑定Spring ;@9e\!%  
N};t<Xev  
struts.objectFactory.spring.useClassCache a&C.=  
      Whether Spring should use its class cache or not 7lwTZ*rnY  
      是否spring应该使用自身的cache R5~gH6K|  
7D   
struts.objectTypeDeterminer U-eI\Lu  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3?@?-q2g  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0Qp[\ia  
Fom>'g*  
struts.serve.static.browserCache Z["BgEJ  
If static content served by the Struts filter should set browser caching header properties or not I(n }<)eF  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p-,Iio+  
0aogBg_@K  
struts.serve.static 3"Yif  
      Whether the Struts filter should serve static content or not 9KyZEH;pY  
      是否struts过滤器应该提供静态内容 BRa{\R^I  
d/]|657u  
struts.tag.altSyntax N 'i,>  
      Whether to use the alterative syntax for the tags or not -6`;},Yr  
      是否可以用替代的语法替代tags %l]Rh/VPn?  
\DS^i`o)rY  
struts.ui.templateDir @;;G88=  
      The directory containing UI templates 3b@VY'P  
      UI templates的目录夹 :Jk33 N4y0  
7TpRCq#  
struts.ui.theme 3{e'YD~hP  
      The default UI template theme iX%n0i  
      默认的UI template主题 +xZQJeKb  
IC/Q  
struts.url.http.port \_ 9rr6^ "  
      The HTTP port used by Struts URLs csDQva\  
      设置http端口 `eC+% O  
+ubnx{VC  
struts.url.https.port ?}8IQxU  
      The HTTPS port used by Struts URLs B?3juyB`--  
      设置https端口 hVM2/j  
Xu#:Fe}:  
struts.url.includeParams 4mJFvDZV`  
      The default includeParams method to generate Struts URLs 88l,&2q  
      在url中产生 默认的includeParams 0% +'  
8_a3'o%5  
!y. $J<  
struts.velocity.configfile \ I:.<2i  
      The Velocity configuration file path /H)Br~ l  
      velocity配置文件路径 a+Ab]m8`  
63M=,0-Qt  
struts.velocity.contexts 9B=1 Yr[  
      List of Velocity context names ertBuU  
      velocity的context列表 Kam]Mn'  
Q'K$L9q  
Ly>OLI0x_  
struts.velocity.manager.classname p411 `]Zf  
      org.apache.struts2.views.velocity.VelocityManager implementation class jct./arK  
      org.apache.struts2.views.velocity.VelocityManager接口名 :Q7mV%%  
7@l<? (  
struts.velocity.toolboxlocation ="'- &  
      The location of the Velocity toolbox PsbG|~  
      velocity工具盒的位置 6 D/tK|  
struts.xslt.nocache x8\<qh*:  
      Whether or not XSLT templates should not be cached ,E}$[mHyjz  
      是否XSLT模版应该被缓存 0 iR R{a<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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