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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 j?[fpN$  
<;phc~0+  
struts.action.extension <y(>z*T;  
      The URL extension to use to determine if the request is meant for a Struts action (#X/sZQh  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X -w#E3  
\SA5@.W  
struts.configuration :7@"EW  
      The org.apache.struts2.config.Configuration implementation class OZQhT)nS]  
        org.apache.struts2.config.Configuration接口名 Yf7n0Etd,  
T"dX)~E;  
struts.configuration.files +:mj]`=  
      A list of configuration files automatically loaded by Struts Pm#B'N#*N|  
      struts自动加载的一个配置文件列表 W>bhSKV%  
!+JSguy  
struts.configuration.xml.reload !gW$A-XD  
      Whether to reload the XML configuration or not pj?+cy v~  
      是否加载xml配置(true,false) 3yZtyXRPn  
:*)~nPVV  
struts.continuations.package 1sGkbfh{t  
      The package containing actions that use Rife continuations s80:.B  
      含有actions的完整连续的package名称 z,I7 PY& G  
"Yq-s$yBi  
struts.custom.i18n.resources 2W$c%~j$2  
      Location of additional localization properties files to load -gv@ .#N  
      加载附加的国际化属性文件(不包含.properties后缀) AL&}WbUC  
>p}d:t/  
struts.custom.properties s|"V$/X(W  
      Location of additional configuration properties files to load "|.>pD#0&  
      加载附加的配置文件的位置 f|w+}z  
.A&Ey5  
[ C] =p  
struts.devMode y%v<Cp@R  
      Whether Struts is in development mode or not NnGQ=$e  
      是否为struts开发模式 yL_-w/a  
$6Nm`[V  
struts.dispatcher.parametersWorkaround $/Zsy6q:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic zf5s\w.4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _+wv3? c"  
8Rc4+g  
struts.enable.DynamicMethodInvocation FWq 6e,  
      Allows one to disable dynamic method invocation from the URL 0r_8/|N#  
        允许动态方法调用 f&7SivS#  
MS_&;2  
struts.freemarker.manager.classname )wCA8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4 (bV#   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @HMt}zD  
:_p3nb[r  
struts.i18n.encoding rcF;Lp :  
      The encoding to use for localization messages 3k5Mty  
      国际化信息内码 bxqXFy/I  
HI,1~ Jw+  
struts.i18n.reload <E&1HeP  
      Whether the localization messages should automatically be reloaded +}I[l,,xy  
      是否国际化信息自动加载 h" P4  
.hSacd  
struts.locale &z 1A-O v  
      The default locale for the Struts application o-lb/=K+  
      默认的国际化地区信息 9c=Y+=<  
8}{';k  
struts.mapper.class os/~6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class P@PZm  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %+Z 0 $Q  
#CW]70H`  
struts.multipart.maxSize eW1$;.^  
      The maximize size of a multipart request (file upload) {5#P1jlT  
      multipart请求信息的最大尺寸(文件上传用) .%U~ r2Y(  
- EF(J  
struts.multipart.parser GWM2l?zOP  
      The org.apache.struts2.dispatcher.multipart. 'R*xg2!i  
      MultiPartRequest parser implementation for a multipart request (file upload) "of(,p   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) k#c BBrY  
{YcVeCq+N  
b+OLmd  
struts.multipart.saveDir ]^3_eHa^d  
      The directory to use for storing uploaded files OcQ_PE5\  
      设置存储上传文件的目录夹 zb?wl fT  
I{_St8  
struts.objectFactory o%Vf#W  
      The com.opensymphony.xwork2.ObjectFactory implementation class -=Q_E^'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) y$r9Y!?s  
U^+9l?ol  
struts.objectFactory.spring.autoWire l#\z3"b  
      Whether Spring should autoWire or not !6@xX08z  
      是否自动绑定Spring {l0;G) -  
rPaD#GA[7  
struts.objectFactory.spring.useClassCache 69dFd!G\  
      Whether Spring should use its class cache or not [{}9"zB$x0  
      是否spring应该使用自身的cache E,c~.jYc  
f8#WT$Ewy  
struts.objectTypeDeterminer 6!n"E@Bwu  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J.$<Lnt>u  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 7. G   
o!q9pt  
struts.serve.static.browserCache /JEH%)  
If static content served by the Struts filter should set browser caching header properties or not (|' w$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e&OMW ,7  
_-%ay  
struts.serve.static lE?e1mz{  
      Whether the Struts filter should serve static content or not V*=cNj  
      是否struts过滤器应该提供静态内容 yD#w @yG  
8MX/GF;F  
struts.tag.altSyntax [9BlP  
      Whether to use the alterative syntax for the tags or not "2HRuqf  
      是否可以用替代的语法替代tags p$?c>lim  
IywovN Tr  
struts.ui.templateDir cQ6[o"j.  
      The directory containing UI templates @Sq=#f/=  
      UI templates的目录夹 7@fd[  
6N~ jt  
struts.ui.theme ~_8Ve\Y^/  
      The default UI template theme B 0 K2Uw  
      默认的UI template主题 at,Xad\j  
TbIM{X  
struts.url.http.port nd3]&occ  
      The HTTP port used by Struts URLs 7KRc^ *pZs  
      设置http端口 ~e 6yaX8S  
t<ftEJU"'w  
struts.url.https.port S/~6%uJ  
      The HTTPS port used by Struts URLs r;|Bc$P  
      设置https端口 @T;O^rE~N  
6|T{BOW!d  
struts.url.includeParams [cXu<vjFM  
      The default includeParams method to generate Struts URLs O<6/0ub&+h  
      在url中产生 默认的includeParams l>~:lBO  
X2 M<DeF:  
q E$ .a[  
struts.velocity.configfile zesEbR)j  
      The Velocity configuration file path By3dRiM=,2  
      velocity配置文件路径 F|xXMpC.f  
@h>#cwhU  
struts.velocity.contexts )6bxP&k  
      List of Velocity context names sn5N9=\+T  
      velocity的context列表 _N/]&|.. !  
Xuh_bW&zF  
"{z9 L+  
struts.velocity.manager.classname Qbl6~>T  
      org.apache.struts2.views.velocity.VelocityManager implementation class m9#u. Q*  
      org.apache.struts2.views.velocity.VelocityManager接口名 U|{WtuR  
vbDw2  
struts.velocity.toolboxlocation :&?#~NFH  
      The location of the Velocity toolbox D1o 8Wo  
      velocity工具盒的位置 ?z:xQ*#X  
struts.xslt.nocache k\ I$ve"*  
      Whether or not XSLT templates should not be cached w2+RX-6Ie  
      是否XSLT模版应该被缓存 *9PS2*n  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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