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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 lehuJgz'OO  
,S\AUUt%  
struts.action.extension K8g9IZ*lT  
      The URL extension to use to determine if the request is meant for a Struts action OA{PKC  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pQ9~^  
g%T`6dvT  
struts.configuration _"'0^F$I  
      The org.apache.struts2.config.Configuration implementation class DzE_p- zs  
        org.apache.struts2.config.Configuration接口名 G.sf>.[  
- <M'h  
struts.configuration.files #wP$LKk  
      A list of configuration files automatically loaded by Struts SH#!Y  
      struts自动加载的一个配置文件列表 <Z\j#p:  
QsH?qI&2jp  
struts.configuration.xml.reload =E4~/F}9/T  
      Whether to reload the XML configuration or not 8I,/ysT:  
      是否加载xml配置(true,false) ` beU2N  
OysO55i  
struts.continuations.package cux<7#6af  
      The package containing actions that use Rife continuations `]4bH,%~  
      含有actions的完整连续的package名称 V"R,omh  
]O.Z4+6w  
struts.custom.i18n.resources R\,qL-Br  
      Location of additional localization properties files to load <J .-fZS%  
      加载附加的国际化属性文件(不包含.properties后缀) O>kM2xw  
6`U]%qx_I  
struts.custom.properties 1h#UM6  
      Location of additional configuration properties files to load |&0zAP"\  
      加载附加的配置文件的位置 GP;UuQz  
UZb!tO2  
+o^sm'$  
struts.devMode 31=v US  
      Whether Struts is in development mode or not !+Us)'L  
      是否为struts开发模式 56T{JTo  
U.p"JSH L  
struts.dispatcher.parametersWorkaround LQ3J$N  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <^Sp4J  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1@{qPmf^  
;Br #e1~  
struts.enable.DynamicMethodInvocation W:*  {7qJ  
      Allows one to disable dynamic method invocation from the URL l"app]uVZ  
        允许动态方法调用 zaMKwv}BR  
=Xh*w  
struts.freemarker.manager.classname A~%h*nZc%I  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class w~l%xiC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 -/3D0`R  
d+Au`'{>  
struts.i18n.encoding 3KN>t)A#  
      The encoding to use for localization messages &NB"[Mm:@  
      国际化信息内码 5;_&C=[  
*nc9 u"  
struts.i18n.reload x>m=n_  
      Whether the localization messages should automatically be reloaded b?deZ2"L#  
      是否国际化信息自动加载 aYd`E4S+  
Zt H{2j0  
struts.locale XYdr~/[HPy  
      The default locale for the Struts application [|{m/`8C  
      默认的国际化地区信息 _5&LV2  
Qa-~x8]  
struts.mapper.class 5BsfbLKC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M&~cU{9c  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U Rb  
x !QA* M  
struts.multipart.maxSize =?s0.(;  
      The maximize size of a multipart request (file upload) Zq\Vq:MX  
      multipart请求信息的最大尺寸(文件上传用) S1D;Xv@  
`;H3['~$  
struts.multipart.parser o]O  
      The org.apache.struts2.dispatcher.multipart. hsZ}FLStJ  
      MultiPartRequest parser implementation for a multipart request (file upload) +3%i7  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) TSHH=`cx  
m. DC  
fgEMn;  
struts.multipart.saveDir 3P[u>xE  
      The directory to use for storing uploaded files fw+ VR.#2H  
      设置存储上传文件的目录夹 7R5!(g  
R'1L%srTM+  
struts.objectFactory |?Bb{Es  
      The com.opensymphony.xwork2.ObjectFactory implementation class #uillSV  
      com.opensymphony.xwork2.ObjectFactory接口(spring) to"[r  
n,.t~  
struts.objectFactory.spring.autoWire gt{$G|bi  
      Whether Spring should autoWire or not EaXD Y<  
      是否自动绑定Spring @!:_r5R~N  
k:k!4   
struts.objectFactory.spring.useClassCache ?QfomTT  
      Whether Spring should use its class cache or not TVEFZ\p<A  
      是否spring应该使用自身的cache SF?s^  
j~VHU89  
struts.objectTypeDeterminer bhg OLh#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tpP2dg9dF  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R4P$zB_<2  
k<cv80lhK  
struts.serve.static.browserCache B@@j-  
If static content served by the Struts filter should set browser caching header properties or not v'W`\MKY)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 GYM6 `  
96.Vm*/7  
struts.serve.static g7),si*  
      Whether the Struts filter should serve static content or not >( :b\*C  
      是否struts过滤器应该提供静态内容 h<ULp &g  
)}i;OLw-  
struts.tag.altSyntax n`af2I2  
      Whether to use the alterative syntax for the tags or not [osm\w49  
      是否可以用替代的语法替代tags 1[Ffl^\ARp  
*N|s+  
struts.ui.templateDir I}{Xv#@o  
      The directory containing UI templates - yn;Jo2-  
      UI templates的目录夹 b/ dyH  
YMEI J}  
struts.ui.theme *)H&n>"e  
      The default UI template theme oy!Dm4F  
      默认的UI template主题 eg vgi?y  
G oJ\6& "  
struts.url.http.port |#D$9+  
      The HTTP port used by Struts URLs K9+C3"*I  
      设置http端口 m&X6a C'[  
l-mf~{   
struts.url.https.port rt7]~W-  
      The HTTPS port used by Struts URLs |+0XO?,sZ  
      设置https端口 dfoFs&CSKh  
"p{cz(  
struts.url.includeParams kW=GFj)L  
      The default includeParams method to generate Struts URLs %Kq`8  
      在url中产生 默认的includeParams >IzUn: 0F  
E-_Q3^  
&R "Q  
struts.velocity.configfile 5V{zdS=  
      The Velocity configuration file path 0u'qu2mV  
      velocity配置文件路径 \%!~pfM I  
@Ja8~5:  
struts.velocity.contexts Ka"Z,\T   
      List of Velocity context names !7O!)WJ  
      velocity的context列表 ]O\Oj6C  
2"~QI xY=  
4,|A\dXE  
struts.velocity.manager.classname '`*{ig  
      org.apache.struts2.views.velocity.VelocityManager implementation class %EooGHGF?  
      org.apache.struts2.views.velocity.VelocityManager接口名 :2KLziO2  
-&ic%0|f  
struts.velocity.toolboxlocation 6O>GVJbw  
      The location of the Velocity toolbox =a<};X  
      velocity工具盒的位置 %;E/{gO  
struts.xslt.nocache !)(c_ uz  
      Whether or not XSLT templates should not be cached =nYd|Ok  
      是否XSLT模版应该被缓存 Z/wK UK;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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