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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 HP`dfo~j  
btb$C  
struts.action.extension 8HL$y-F  
      The URL extension to use to determine if the request is meant for a Struts action 53vnON#{*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6;|6@j  
"DWw]\xO](  
struts.configuration ^o;f~6#17  
      The org.apache.struts2.config.Configuration implementation class W+F{!dW  
        org.apache.struts2.config.Configuration接口名 ,_ zivUU  
g>g]qQ  
struts.configuration.files ~96fyk|  
      A list of configuration files automatically loaded by Struts 4.>rd6BAN-  
      struts自动加载的一个配置文件列表 I.V?O}   
k5s8s@  
struts.configuration.xml.reload a!OS2Tz:  
      Whether to reload the XML configuration or not TgFj- "L\  
      是否加载xml配置(true,false) j%7N\Vb  
tXlo27J  
struts.continuations.package 1Z. D3@  
      The package containing actions that use Rife continuations 4$HU=]b6Tf  
      含有actions的完整连续的package名称 ~3 ,>TV  
.TI =3*`G  
struts.custom.i18n.resources 8oAr<:.=  
      Location of additional localization properties files to load $>Y2N5  
      加载附加的国际化属性文件(不包含.properties后缀) l'Oz-p.@  
2.xA' \M  
struts.custom.properties nu'r `  
      Location of additional configuration properties files to load 1=R6||8ws  
      加载附加的配置文件的位置 CJn{tP  
M|HW$8V3_2  
(4;m*' X  
struts.devMode C2$_Ad=s  
      Whether Struts is in development mode or not y,D@[*~Xb  
      是否为struts开发模式 +0{$J\s  
Rv-`6eyAA  
struts.dispatcher.parametersWorkaround %Y0,ww2  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic H NFG:t9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6bv~E.  
% s|` 1`c  
struts.enable.DynamicMethodInvocation .?<M$38fv  
      Allows one to disable dynamic method invocation from the URL ?vnO@Bb/a  
        允许动态方法调用 H> zX8qP+  
c/K:`XP~  
struts.freemarker.manager.classname p,(gv])ie  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Nft~UggK  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 G=1&:nW'  
>M2~BDZ  
struts.i18n.encoding 7yUtG^'b  
      The encoding to use for localization messages U,;a+z4\  
      国际化信息内码 wW. V>$q  
1=*QMEv1G  
struts.i18n.reload ]2Vu+AP  
      Whether the localization messages should automatically be reloaded Z$a5vu*pg  
      是否国际化信息自动加载 E.ugr])  
bSG}I|  
struts.locale %3Ba9Nmid  
      The default locale for the Struts application [9hslk  
      默认的国际化地区信息 g?TPRr~$9  
MXVQ90  
struts.mapper.class pZVT:qFF  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ][gr(-68  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,b b/ $   
N9 SC\  
struts.multipart.maxSize 1" k_l.\,0  
      The maximize size of a multipart request (file upload) V8C62X  
      multipart请求信息的最大尺寸(文件上传用) nBN+.RB:(  
Za"m;+H<E  
struts.multipart.parser !Dc|g~km\  
      The org.apache.struts2.dispatcher.multipart. V:YN!  
      MultiPartRequest parser implementation for a multipart request (file upload) bi@z<Xm%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :!'!V>#g  
?j'Nx_RoX  
Ht{Q=w/ 9  
struts.multipart.saveDir <6!;mb ;cX  
      The directory to use for storing uploaded files ?QJS6i'k  
      设置存储上传文件的目录夹 hggP9I :s,  
zp4aiMn1F  
struts.objectFactory Ml"i^LR+  
      The com.opensymphony.xwork2.ObjectFactory implementation class `rWT^E@p5m  
      com.opensymphony.xwork2.ObjectFactory接口(spring) =yR$^VSY  
ekR/X  
struts.objectFactory.spring.autoWire r bfIH":  
      Whether Spring should autoWire or not cs-wqxTX[$  
      是否自动绑定Spring ?W27 h  
/s/\5-U7q  
struts.objectFactory.spring.useClassCache |H .  
      Whether Spring should use its class cache or not kWSei3  
      是否spring应该使用自身的cache o0Z~9iF&  
4\#b@1]}  
struts.objectTypeDeterminer EC:u;2f!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \dx$G?R  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 jmE\+yz  
[iO*t, 3@h  
struts.serve.static.browserCache I:l/U-b7h  
If static content served by the Struts filter should set browser caching header properties or not VZhHO d  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d~ |/LR5  
8:9/RL\"x  
struts.serve.static 1Zr J7a7=  
      Whether the Struts filter should serve static content or not #M)S Ae2  
      是否struts过滤器应该提供静态内容 9%^IMUWA  
ji&%'h  
struts.tag.altSyntax ~;QzV?%  
      Whether to use the alterative syntax for the tags or not (m~gG|n4  
      是否可以用替代的语法替代tags }hm "49,O  
fPpFAO  
struts.ui.templateDir +";<Kd-  
      The directory containing UI templates f"Z2,!Z;  
      UI templates的目录夹 !GAU?J;<#2  
(O(X k+L  
struts.ui.theme KAFx^JLo  
      The default UI template theme :TZ</3Sw  
      默认的UI template主题 dlf nhf  
_rN1(=J  
struts.url.http.port <N~&Leh  
      The HTTP port used by Struts URLs -W\1n#J  
      设置http端口 &{R]v/{p]  
(K74Qg  
struts.url.https.port s(?A=JJ  
      The HTTPS port used by Struts URLs 4nz$J a)  
      设置https端口  {F'~1qf  
5ns.||%k  
struts.url.includeParams y@'~fI!E4  
      The default includeParams method to generate Struts URLs g'pB<?'E'  
      在url中产生 默认的includeParams 8q"C=t7  
e.>>al  
Py! F  
struts.velocity.configfile gm1 7VrC  
      The Velocity configuration file path N t-8[J  
      velocity配置文件路径 Y+ Qm.  
4k]DktY}.  
struts.velocity.contexts HX`>" ?{  
      List of Velocity context names z0F'zN 3J  
      velocity的context列表 l`b%imX  
/ygC_,mx  
S [=l/3c  
struts.velocity.manager.classname T1_qAz+  
      org.apache.struts2.views.velocity.VelocityManager implementation class *?`<Ea  
      org.apache.struts2.views.velocity.VelocityManager接口名 uO{'eT~  
c`M ,KXott  
struts.velocity.toolboxlocation 3;F+.{Icc  
      The location of the Velocity toolbox F8* zG 4/&  
      velocity工具盒的位置 xC5`|JW  
struts.xslt.nocache (oG-h"^/  
      Whether or not XSLT templates should not be cached  TNj WZ  
      是否XSLT模版应该被缓存 x9qoS)@CM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五