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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;GxKPy  
iY1JU -S  
struts.action.extension k@ZmI^  
      The URL extension to use to determine if the request is meant for a Struts action }M9L,O*^   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /\M3O  
=h 2zIcj  
struts.configuration 2s@<k1EdPl  
      The org.apache.struts2.config.Configuration implementation class {__"Z<  
        org.apache.struts2.config.Configuration接口名 '|i<?]U  
+V6N/{^ 5  
struts.configuration.files _/5mgn<GK  
      A list of configuration files automatically loaded by Struts Y/_b~Ahn  
      struts自动加载的一个配置文件列表 ?-0>Wbg  
!'^gqaF+  
struts.configuration.xml.reload jDO[u!J6.%  
      Whether to reload the XML configuration or not lf\]^yM #  
      是否加载xml配置(true,false) `8%2F}x}qD  
f?1?$Sp/W  
struts.continuations.package ^SKuX?f\  
      The package containing actions that use Rife continuations PNn{Rt  
      含有actions的完整连续的package名称 lclSzC9  
-HU5E>xG  
struts.custom.i18n.resources |Tp>,\:5  
      Location of additional localization properties files to load }?=$?3W  
      加载附加的国际化属性文件(不包含.properties后缀) ?_9A`LC*  
Ul@yXtj  
struts.custom.properties q}#4bB9  
      Location of additional configuration properties files to load /=}w%-;/;  
      加载附加的配置文件的位置 |A#pG^  
0a??8?Q1G  
V!F# ek:  
struts.devMode W"_")V=QBz  
      Whether Struts is in development mode or not 4jl UyAD  
      是否为struts开发模式 ~4\J }Kn  
 cf#2Wg)  
struts.dispatcher.parametersWorkaround [Az<E3H"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;{79d8/=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Yp1;5Bbp  
[kIiKLX  
struts.enable.DynamicMethodInvocation Ap{p_~~iJ  
      Allows one to disable dynamic method invocation from the URL %(IkUD  
        允许动态方法调用 <0r2m4z  
>i%{5d  
struts.freemarker.manager.classname 0wCJNXm  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dMw0Aw,2]8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 qcSlY&6+  
VL5GX (  
struts.i18n.encoding r wtU@xsD  
      The encoding to use for localization messages /G`'9cD  
      国际化信息内码 B 3Y,|*  
pPSmSWD?  
struts.i18n.reload x78`dX  
      Whether the localization messages should automatically be reloaded (,wIbwa  
      是否国际化信息自动加载 LE!xj 0  
2 5DXJ b^:  
struts.locale $[L~X M  
      The default locale for the Struts application M<R3JzT  
      默认的国际化地区信息 ' XJ>;",[  
slC 38  
struts.mapper.class 7JvBzD42  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9?5'>WO  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {Jf["Z  
.v?x>iV  
struts.multipart.maxSize N8!V%i?  
      The maximize size of a multipart request (file upload) ,%>]  
      multipart请求信息的最大尺寸(文件上传用) WC6yQSnY&  
5eP8nn.D  
struts.multipart.parser *E*= ;BG  
      The org.apache.struts2.dispatcher.multipart. ;m<22@,E&  
      MultiPartRequest parser implementation for a multipart request (file upload) Wt|IKCx   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) EDQKbTaPt  
HjCWsQM  
)k)HQcfjD  
struts.multipart.saveDir w$Zi'+&*  
      The directory to use for storing uploaded files (_h=|VjK(I  
      设置存储上传文件的目录夹 h$p]M^Z7  
a8D7n Ea  
struts.objectFactory (}Q(Ux@X  
      The com.opensymphony.xwork2.ObjectFactory implementation class V iY-&q'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +ZFw3KEkz  
@|AHTf!  
struts.objectFactory.spring.autoWire d 8YP<"V&  
      Whether Spring should autoWire or not nHAET  
      是否自动绑定Spring hkS0ae  
;a"g<v  
struts.objectFactory.spring.useClassCache 63'Rw'g^|2  
      Whether Spring should use its class cache or not .|\}] O`  
      是否spring应该使用自身的cache b#~K>  
RT+pB{Y  
struts.objectTypeDeterminer 0R2KI,WI  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (*~'#k  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $('"0 @fg  
JRti2Mu  
struts.serve.static.browserCache onqifQ  
If static content served by the Struts filter should set browser caching header properties or not s#Os?Q?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 O0Z !*Hy  
!4.VK-a9V%  
struts.serve.static Q y4eDv5  
      Whether the Struts filter should serve static content or not :.DZ~I  
      是否struts过滤器应该提供静态内容 WK2YHJ*$  
M `O=rH }  
struts.tag.altSyntax V^* ];`^  
      Whether to use the alterative syntax for the tags or not .(J~:U  
      是否可以用替代的语法替代tags >H r&F nh+  
53X i)  
struts.ui.templateDir 1k)31GEQw  
      The directory containing UI templates d/"%fpp^0G  
      UI templates的目录夹 nYsB^Nr6  
uSsP'qd  
struts.ui.theme ;*c8,I;  
      The default UI template theme %LM2CgH V  
      默认的UI template主题 wZUZ"Y}9  
.8%&K0  
struts.url.http.port 9q/k,g  
      The HTTP port used by Struts URLs tZXq<k9  
      设置http端口 m~I@ q [  
7|@FN7]5NF  
struts.url.https.port :Bh7mF-1  
      The HTTPS port used by Struts URLs $x~U&a  
      设置https端口 #x+7-hi  
R@df~  
struts.url.includeParams m$.7) 24  
      The default includeParams method to generate Struts URLs W-RqooEv  
      在url中产生 默认的includeParams \? n<UsI  
6:Hd`  
l5 T0x=y9!  
struts.velocity.configfile aCRiW;+'  
      The Velocity configuration file path qV#,]mX  
      velocity配置文件路径 x'v-]C(@  
M7fPaJKL  
struts.velocity.contexts ]>/oo=E  
      List of Velocity context names 1rIL[(r4  
      velocity的context列表 wzj :PS  
8kf5u#,'  
7](aPm8  
struts.velocity.manager.classname v8"Zru  
      org.apache.struts2.views.velocity.VelocityManager implementation class  \4j(el  
      org.apache.struts2.views.velocity.VelocityManager接口名 A I v  
>:bXw#w]  
struts.velocity.toolboxlocation (j(hr'f  
      The location of the Velocity toolbox );/p[Fd2]  
      velocity工具盒的位置 Yc:>Yzj(z  
struts.xslt.nocache (kVxa8 0  
      Whether or not XSLT templates should not be cached ok1w4#%,  
      是否XSLT模版应该被缓存 ctoh&5%!n+  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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