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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 R; c9)>8L  
PU/<7P*  
struts.action.extension i#`q<+/q  
      The URL extension to use to determine if the request is meant for a Struts action \H@1VgmR;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 c_D(%Vf5  
_b~{/[s  
struts.configuration aLGq<6Ja  
      The org.apache.struts2.config.Configuration implementation class Lr$M k#'B  
        org.apache.struts2.config.Configuration接口名 {4G/HW28  
K%? g6j  
struts.configuration.files `Zm6e!dH-  
      A list of configuration files automatically loaded by Struts r@{TN6U  
      struts自动加载的一个配置文件列表 !ka* rd  
Sz go@x$^  
struts.configuration.xml.reload wwB3m&  
      Whether to reload the XML configuration or not Q,&Li+u|  
      是否加载xml配置(true,false) MxIa,M <  
Q S&B"7;g  
struts.continuations.package rTIu'  
      The package containing actions that use Rife continuations bItcF$#!!!  
      含有actions的完整连续的package名称 VWvSt C  
LZRg%3.E  
struts.custom.i18n.resources {7OHEArv  
      Location of additional localization properties files to load c0gVW~I1  
      加载附加的国际化属性文件(不包含.properties后缀) ;mG*Rad  
`.W2t5 Y  
struts.custom.properties 67II9\/  
      Location of additional configuration properties files to load  mLxgvp  
      加载附加的配置文件的位置 20|`jxp  
\xkKgI/  
-Lh7!d  
struts.devMode eyCZ[SC  
      Whether Struts is in development mode or not `x9Eo4(/  
      是否为struts开发模式 J, 9NVw$  
9Ux(  
struts.dispatcher.parametersWorkaround MYWkEv7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =1l6( pJ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6QX m] <  
`OBzOM  
struts.enable.DynamicMethodInvocation kt/,& oKI  
      Allows one to disable dynamic method invocation from the URL Q!e560@  
        允许动态方法调用  6st  
`r`8N6NQ&]  
struts.freemarker.manager.classname :}lqu24K  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KhHFJo[8sf  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  8s0+6{vW  
MEiP&=gX!  
struts.i18n.encoding Xo34~V@(  
      The encoding to use for localization messages Rm} ym9  
      国际化信息内码 z~ cW,  
N T`S)P*?  
struts.i18n.reload 1`&`y%c?B  
      Whether the localization messages should automatically be reloaded hxO}'`:  
      是否国际化信息自动加载 bO=|utpk  
 x]+PWk  
struts.locale "jFf}"  
      The default locale for the Struts application s<9g3Gh  
      默认的国际化地区信息 6l]X{A.  
A9$x8x*Lt  
struts.mapper.class o$rjGa l  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class k {*QU(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ysW})#7X  
>NRppPqL  
struts.multipart.maxSize %;,fI'M  
      The maximize size of a multipart request (file upload) ci~#G[_$S  
      multipart请求信息的最大尺寸(文件上传用) z%82Vt!a5  
7z b^Z]  
struts.multipart.parser i})s4%a  
      The org.apache.struts2.dispatcher.multipart. }e?H(nZS7h  
      MultiPartRequest parser implementation for a multipart request (file upload) /<J(\;Jr6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .-KI,IU  
!(GyOAb  
Z[oF4 z   
struts.multipart.saveDir -K64J5|b7  
      The directory to use for storing uploaded files m9 h '!X<  
      设置存储上传文件的目录夹 > N~8#C  
35<A :jKS  
struts.objectFactory r )F;8(  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8QrpNSj4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) j[G`p^ul  
}aZuCe_  
struts.objectFactory.spring.autoWire k?+ 7%A]  
      Whether Spring should autoWire or not l|P"^;*zq  
      是否自动绑定Spring Yj/afn(Jt  
p)y5[HX  
struts.objectFactory.spring.useClassCache j/O~8o&  
      Whether Spring should use its class cache or not i5VZ,E^E  
      是否spring应该使用自身的cache c|&3e84U  
7n8nJTU{4j  
struts.objectTypeDeterminer ^3;B4tj[  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class QNj]wm=mp  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {M]_]L{&7  
D}_.D=)  
struts.serve.static.browserCache 5R7x%3@L  
If static content served by the Struts filter should set browser caching header properties or not s2; ~FK#/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 A~?M`L>B  
ig,.>'+l  
struts.serve.static cb}"giXQTB  
      Whether the Struts filter should serve static content or not T ozx0??)  
      是否struts过滤器应该提供静态内容 z*\_+u~u  
7o E0;'  
struts.tag.altSyntax !}(B=-  
      Whether to use the alterative syntax for the tags or not 9`tK 9  
      是否可以用替代的语法替代tags  G 3Z"U  
!J$r|IX5  
struts.ui.templateDir FlqGexY5  
      The directory containing UI templates @!sK@&ow@%  
      UI templates的目录夹 o?`FjZ6;x  
J]F&4 O  
struts.ui.theme mMAN* }`O  
      The default UI template theme ?Nos;_/  
      默认的UI template主题 8Zr;n`~  
ul~ux$a  
struts.url.http.port x/*lNG/  
      The HTTP port used by Struts URLs to={q CqU  
      设置http端口 82r8K|L.<y  
-$Oh.B`i  
struts.url.https.port c4Ebre-Oa  
      The HTTPS port used by Struts URLs <DF3!r  
      设置https端口 NXW*{b  
u,^CFws_  
struts.url.includeParams cU1o$NRx  
      The default includeParams method to generate Struts URLs LP2~UVq  
      在url中产生 默认的includeParams [h/T IGE\  
 ;Shu  
@-U\!Tf  
struts.velocity.configfile _D '(R  
      The Velocity configuration file path l/.{F;3F  
      velocity配置文件路径 5 \mRH  
uYh!04u  
struts.velocity.contexts 02;jeZ#z  
      List of Velocity context names akj<*,  
      velocity的context列表 a=z] tTs4  
M(%H  
>B BV/C'9  
struts.velocity.manager.classname kK6O ZhLH  
      org.apache.struts2.views.velocity.VelocityManager implementation class %w`d  
      org.apache.struts2.views.velocity.VelocityManager接口名 m'o dVZ7  
^_2c\mw_I  
struts.velocity.toolboxlocation CMt<oT6.?  
      The location of the Velocity toolbox $O"ss>8Se  
      velocity工具盒的位置 /9`4f"  
struts.xslt.nocache "Xq_N4  
      Whether or not XSLT templates should not be cached }w0pi  
      是否XSLT模版应该被缓存 r&gvP|W%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八