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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 bIP{DxKS  
8? 4j-  
struts.action.extension I)AV  
      The URL extension to use to determine if the request is meant for a Struts action 0(;d<u)fS  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Efb>ZQ  
bE2^sx`(  
struts.configuration k~u$&a  
      The org.apache.struts2.config.Configuration implementation class xT I&X9P  
        org.apache.struts2.config.Configuration接口名 )eNR4nF  
maLKUSgo  
struts.configuration.files e%&2tf4  
      A list of configuration files automatically loaded by Struts }u&.n pc  
      struts自动加载的一个配置文件列表 ewqfs/  
iK6L\'k  
struts.configuration.xml.reload d_*'5Eia6  
      Whether to reload the XML configuration or not N.C<Mo  
      是否加载xml配置(true,false) zR/d:P?  
>C~-*M9  
struts.continuations.package iIq='xwa9  
      The package containing actions that use Rife continuations mHo}, |  
      含有actions的完整连续的package名称 ^ad p<?q4  
+$_W4lf|E2  
struts.custom.i18n.resources -$L53i&R  
      Location of additional localization properties files to load <k'=_mC_  
      加载附加的国际化属性文件(不包含.properties后缀) W6D|Rr.q  
ow*) 1eo  
struts.custom.properties ci>+Zi6  
      Location of additional configuration properties files to load eOjoxnD-$  
      加载附加的配置文件的位置  R:98'`X=  
w1/p wzn  
U7.3`qd"  
struts.devMode |k:MXI  
      Whether Struts is in development mode or not Qj? +R F6(  
      是否为struts开发模式 [y| "iSD  
{%xwoMVc+  
struts.dispatcher.parametersWorkaround _e$15qW+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic A^_BK(EY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KFdTw{GlJ7  
^!-*xH.dK  
struts.enable.DynamicMethodInvocation [!4p5;  
      Allows one to disable dynamic method invocation from the URL rIg1]q  
        允许动态方法调用 gmy$_4+6o  
F0%FX`b{{  
struts.freemarker.manager.classname 1`N q K  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class s<[%7 6Y!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (,`ypD+3q  
4mJ4)  
struts.i18n.encoding 9hEIf,\  
      The encoding to use for localization messages -Zd!0HNW1  
      国际化信息内码 tT87TmNsA  
Mo|[Muj8b  
struts.i18n.reload <\GP\G  
      Whether the localization messages should automatically be reloaded .v%H%z~Rl#  
      是否国际化信息自动加载 sPn[FuT>+s  
EA9`-xs|  
struts.locale ,F(nkbt  
      The default locale for the Struts application mL`,v WL/`  
      默认的国际化地区信息 9S@PY_ms  
[op!:K0  
struts.mapper.class eKNZ?!c=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :}0y[qc3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _Iy0-=G  
NARW3\  
struts.multipart.maxSize tvynl;Y/  
      The maximize size of a multipart request (file upload) b[Sd$ACd  
      multipart请求信息的最大尺寸(文件上传用) -l<b|`s=w.  
a:Js i=  
struts.multipart.parser oCdWf63D  
      The org.apache.struts2.dispatcher.multipart. qz"di~7  
      MultiPartRequest parser implementation for a multipart request (file upload) e )l<D)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^AtAfVJN0  
+0\BI<aG  
]7n+|@3x  
struts.multipart.saveDir okJ+Yl.[?7  
      The directory to use for storing uploaded files 5*u0VabC<  
      设置存储上传文件的目录夹 An!1>`8r  
2Jl6Xc8  
struts.objectFactory J`a$"G B.  
      The com.opensymphony.xwork2.ObjectFactory implementation class Aa-L<wZVPt  
      com.opensymphony.xwork2.ObjectFactory接口(spring) [ !/u,  
4%1sOnl  
struts.objectFactory.spring.autoWire jIwz G+)$P  
      Whether Spring should autoWire or not 0P^RciC f  
      是否自动绑定Spring (:Rj:8{  
7J,j  
struts.objectFactory.spring.useClassCache I}Uj"m`>  
      Whether Spring should use its class cache or not FjqoO.  
      是否spring应该使用自身的cache SYRr|Lg  
Ql^I$5&  
struts.objectTypeDeterminer ra=U,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |uI d:^ {  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wUj[c7Y%  
fqA\Rp6Z  
struts.serve.static.browserCache j'FSd*5m  
If static content served by the Struts filter should set browser caching header properties or not Ahk6{uz  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Nw[TP G5  
4Ei*\:  
struts.serve.static ^WQ.' G5Q  
      Whether the Struts filter should serve static content or not #qY`xH'>  
      是否struts过滤器应该提供静态内容 &^Q-:Kxs8  
>%5Ld`c:SD  
struts.tag.altSyntax @ofivCc<%  
      Whether to use the alterative syntax for the tags or not .6aC2A]es  
      是否可以用替代的语法替代tags n@  lf+  
3 ha^NjE  
struts.ui.templateDir kx0(v1y3gT  
      The directory containing UI templates reJw&t}Q  
      UI templates的目录夹 Z8*E-y0  
lJ;7sgQ#  
struts.ui.theme ste0:.*qb  
      The default UI template theme esU9  
      默认的UI template主题 ;+] mcgN!  
(CFm6p'RZ  
struts.url.http.port O_}R~p  
      The HTTP port used by Struts URLs NovF?kh2  
      设置http端口 "/[xak!g  
N|-M|1w96  
struts.url.https.port n4,b?-E>(  
      The HTTPS port used by Struts URLs LdnHz#  
      设置https端口 !qk+>6~A,  
K8M[xaI@  
struts.url.includeParams F,+nj?i!  
      The default includeParams method to generate Struts URLs vFm8T58 7  
      在url中产生 默认的includeParams yXP+$oox9  
]R[j ]E.  
? cU9~=  
struts.velocity.configfile KGb:NQ=O6i  
      The Velocity configuration file path .Qk T-12  
      velocity配置文件路径 lWr=79  
ln.'}P  
struts.velocity.contexts xa#;<8 iV  
      List of Velocity context names EYWRTh  
      velocity的context列表 y,'M3GGl  
vYb.Ub+  
D*.U?  
struts.velocity.manager.classname k?]`PUrV  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?e( y/  
      org.apache.struts2.views.velocity.VelocityManager接口名 K",YAfJa  
shlMJa?  
struts.velocity.toolboxlocation vpnQs#8O  
      The location of the Velocity toolbox e>z   
      velocity工具盒的位置 B!{vSBq  
struts.xslt.nocache :"QR;O@  
      Whether or not XSLT templates should not be cached [Z~h!}  
      是否XSLT模版应该被缓存 Q(v*I&k  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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