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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tM,%^){p$  
B-*E:O0y  
struts.action.extension K7e4_ZGI  
      The URL extension to use to determine if the request is meant for a Struts action .}k(L4T|=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >tG+?Y'{  
Y4F6qyP)"  
struts.configuration sBK <zR  
      The org.apache.struts2.config.Configuration implementation class aup6?'G;  
        org.apache.struts2.config.Configuration接口名 O lfn  
A])P1c. 7"  
struts.configuration.files ?\/qeGW6G  
      A list of configuration files automatically loaded by Struts wQ+dJ3b$  
      struts自动加载的一个配置文件列表 3Wcy)y>2Ap  
sVoW =4V8  
struts.configuration.xml.reload h{}mBQl  
      Whether to reload the XML configuration or not TwvAj#j  
      是否加载xml配置(true,false) B/J&l  
w?mEuXc  
struts.continuations.package 0rokR&Y-d  
      The package containing actions that use Rife continuations "BVdPSDBk  
      含有actions的完整连续的package名称 V8-h%|$p3W  
TFR( 4W  
struts.custom.i18n.resources mxFn7.|r~  
      Location of additional localization properties files to load ~u&|G$1!0  
      加载附加的国际化属性文件(不包含.properties后缀) bm}6{28R  
?0<w  
struts.custom.properties %8)W0WMe  
      Location of additional configuration properties files to load h?UVDzI!O  
      加载附加的配置文件的位置 XM|%^ry  
wU`!B<,j  
6<Hu8$G|  
struts.devMode *zVvQ=  
      Whether Struts is in development mode or not HFo-4"  
      是否为struts开发模式 ]Z4zF"@  
0 nW F  
struts.dispatcher.parametersWorkaround w7-WUvxl  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9l+{OA  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) GZ }/leR  
!q4x~G0d  
struts.enable.DynamicMethodInvocation 59rY[&|  
      Allows one to disable dynamic method invocation from the URL F9XT lA  
        允许动态方法调用 V/"}ku  
0O2n/`'  
struts.freemarker.manager.classname Zv qn%K],  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .tF|YP==  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 H5nS%D  
, fb( WY  
struts.i18n.encoding %*)2s,8  
      The encoding to use for localization messages 7w58L:)B.  
      国际化信息内码 MonS hIz  
3gfimD$_E  
struts.i18n.reload Sl~x$9`  
      Whether the localization messages should automatically be reloaded  oYX{R  
      是否国际化信息自动加载 mog9jw  
lr('k`KOQ  
struts.locale 'pP-rdx  
      The default locale for the Struts application }X$l\pm  
      默认的国际化地区信息 $V8vrT#:  
cfoYnM  
struts.mapper.class #i@h{ R01  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class R Td^ImV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 EIX\O6*  
^Gz{6@TY5  
struts.multipart.maxSize 3n(*E_n  
      The maximize size of a multipart request (file upload) c<qe[iyt/  
      multipart请求信息的最大尺寸(文件上传用) }. %s xw  
<jd/t19DB  
struts.multipart.parser _J"mR]I+  
      The org.apache.struts2.dispatcher.multipart. {y);vHf$  
      MultiPartRequest parser implementation for a multipart request (file upload) mf*Nr0L;J  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Fu0.~w  
Y"> 4Qx4W  
I}:L]H{E  
struts.multipart.saveDir mC(u2  
      The directory to use for storing uploaded files \ sf!  
      设置存储上传文件的目录夹 1 Nk1MGV  
H2\1gNL  
struts.objectFactory &d 3HB=x  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1=TSJ2{ 9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \8_V(lU   
nGZ \<-  
struts.objectFactory.spring.autoWire oMTY)`me  
      Whether Spring should autoWire or not T8q[7Zn  
      是否自动绑定Spring <kc]L x  
oYq,u@oM  
struts.objectFactory.spring.useClassCache @f=RL)$|  
      Whether Spring should use its class cache or not lV7IHX1P  
      是否spring应该使用自身的cache cHn;}l!I  
[a D:A  
struts.objectTypeDeterminer M'|)dM|  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class XIN5a~[z*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ZKsQ2"8{M  
,^+#M{Z  
struts.serve.static.browserCache oQBiPN+v.3  
If static content served by the Struts filter should set browser caching header properties or not }wkaQQh  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 vcOsq#UW  
[0{wA9g  
struts.serve.static H:E5xz3VQ  
      Whether the Struts filter should serve static content or not z6}Pj>1  
      是否struts过滤器应该提供静态内容 Cji#?!Ra?  
KQW!\y?$"  
struts.tag.altSyntax yr{5Rp05=  
      Whether to use the alterative syntax for the tags or not 5)x6Q|-u  
      是否可以用替代的语法替代tags _3KZME  
zK /f$}  
struts.ui.templateDir \SzGzCJ  
      The directory containing UI templates `&G}  
      UI templates的目录夹 9M0d+:YJ  
$OT}`Te~  
struts.ui.theme /\TlO.B=  
      The default UI template theme ~e+0c'n\  
      默认的UI template主题 I<9n(rA  
ylT6h_z1[Y  
struts.url.http.port j`+0.Zlq  
      The HTTP port used by Struts URLs "h`54 }0  
      设置http端口 CElPU`J,\[  
lxCX-a`@p  
struts.url.https.port sOjF?bCdO  
      The HTTPS port used by Struts URLs Yo@m50s$  
      设置https端口 rt,0j/o.1  
 }Olr  
struts.url.includeParams D@}St:m}  
      The default includeParams method to generate Struts URLs hq]xmM?&  
      在url中产生 默认的includeParams EK:Y2WZ  
vx PDC~3;  
jaL$LJV  
struts.velocity.configfile s&Z35IM8|  
      The Velocity configuration file path x$*E\/zi<!  
      velocity配置文件路径 nq),VPJi  
zuU Q."#i  
struts.velocity.contexts D8q3TyCj%  
      List of Velocity context names [}jj<!9A_;  
      velocity的context列表 0I(uddG3  
J& n ^y  
^! $} BY  
struts.velocity.manager.classname -qs(2^  
      org.apache.struts2.views.velocity.VelocityManager implementation class C,9)V5!tP2  
      org.apache.struts2.views.velocity.VelocityManager接口名 |R[v@c`pn  
g?w2J6Z.`J  
struts.velocity.toolboxlocation e~tr^$/(  
      The location of the Velocity toolbox v&k>0lV, ^  
      velocity工具盒的位置 t5I^1u6  
struts.xslt.nocache XKpL4]{&q4  
      Whether or not XSLT templates should not be cached k, $I59  
      是否XSLT模版应该被缓存 y|FBYcn#F  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八