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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 m+2`"1IE[  
$KWYe{#  
struts.action.extension }?]yxa~  
      The URL extension to use to determine if the request is meant for a Struts action [~c'|E8Q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H9VXsFTW  
|\|)j>[i  
struts.configuration b>= Wq  
      The org.apache.struts2.config.Configuration implementation class B$TChc3B  
        org.apache.struts2.config.Configuration接口名 @ Rx6 >52>  
|4S?>e  
struts.configuration.files ?Wg{oB@(  
      A list of configuration files automatically loaded by Struts *UBP]w  
      struts自动加载的一个配置文件列表 2k}-25xxL  
)HX:U0  
struts.configuration.xml.reload (e>Rot0  
      Whether to reload the XML configuration or not I+"?,Ej$K  
      是否加载xml配置(true,false) $.Q>M]xH  
R G0S  
struts.continuations.package Afy .3T @)  
      The package containing actions that use Rife continuations n5+S"  
      含有actions的完整连续的package名称 -}X?2Q  
G/z\^Q  
struts.custom.i18n.resources h!G^dW.  
      Location of additional localization properties files to load ^@`e  
      加载附加的国际化属性文件(不包含.properties后缀) .3&a{IxM]  
o4 %Vt} K  
struts.custom.properties mw(c[.*%  
      Location of additional configuration properties files to load /pN'K5@  
      加载附加的配置文件的位置 a We Bav}_  
>*= =wlOB  
q)V1{B@  
struts.devMode :Wg-@d  
      Whether Struts is in development mode or not (#bp`Kih  
      是否为struts开发模式 xd|~+4  
l{6` k<J(  
struts.dispatcher.parametersWorkaround g+}s:9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;EJPrDHTk  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) inPE/Ux  
wD6!#t k  
struts.enable.DynamicMethodInvocation |O(-CDQe  
      Allows one to disable dynamic method invocation from the URL t1w2u.]  
        允许动态方法调用 UOWIiu  
:'y{dbKp"  
struts.freemarker.manager.classname i}`_H^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class cK[R1 ReH  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FE+7X=y  
J 0Hm)*  
struts.i18n.encoding J1tzHa6  
      The encoding to use for localization messages R+{^@M&  
      国际化信息内码 Y@]);MyL  
7a:*Y"f,~  
struts.i18n.reload ,2,SG/BB  
      Whether the localization messages should automatically be reloaded =_8 UZk.  
      是否国际化信息自动加载 df4sOqU  
\5Vp6^  
struts.locale L1 9 MP  
      The default locale for the Struts application Nmp>UE,7[  
      默认的国际化地区信息 \D,M2vC~G  
)X~Pr?52?  
struts.mapper.class =a)iVXSB]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Iz}2 ^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (Ffb&GL  
ZcMj=#i  
struts.multipart.maxSize Kc%n(,+%"  
      The maximize size of a multipart request (file upload) ovd^,?ib  
      multipart请求信息的最大尺寸(文件上传用) .Vo"AuC}  
vuR5}/Ev  
struts.multipart.parser MSZ!W(7,<  
      The org.apache.struts2.dispatcher.multipart. jCTy:q]  
      MultiPartRequest parser implementation for a multipart request (file upload) Fn86E dFM  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d7"U WY^  
bQwdgc),s{  
{sC@N![  
struts.multipart.saveDir T-9k<,>?  
      The directory to use for storing uploaded files |N:MZ#};  
      设置存储上传文件的目录夹 dD/t_ {h  
PwW^y#96  
struts.objectFactory sDLS*467  
      The com.opensymphony.xwork2.ObjectFactory implementation class :1aL9 fT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) CAUijMI@  
T8$%9&j!UE  
struts.objectFactory.spring.autoWire (R_CUH  
      Whether Spring should autoWire or not ?R;nL{  
      是否自动绑定Spring 3sZ,|,ueD  
uAu( +zV2  
struts.objectFactory.spring.useClassCache $gVLk.  
      Whether Spring should use its class cache or not %z*29iKlI  
      是否spring应该使用自身的cache )A="eW_>  
9&jQ 35  
struts.objectTypeDeterminer f}[H `OF  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #P(l2(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~J0,)_b%*  
99^AT*ByY  
struts.serve.static.browserCache 2)wAFO6u  
If static content served by the Struts filter should set browser caching header properties or not lPY@{1W  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,b4):{  
S:ls[9G[3  
struts.serve.static 9i0M/vx  
      Whether the Struts filter should serve static content or not LZ~2=Y< U(  
      是否struts过滤器应该提供静态内容 TdQ ]G2  
:T_'n,  
struts.tag.altSyntax |d $1wr  
      Whether to use the alterative syntax for the tags or not =G( *gx  
      是否可以用替代的语法替代tags $ZQ"({<w<g  
F9MR5O"  
struts.ui.templateDir Yeqvv  
      The directory containing UI templates xC-BqVJ%_T  
      UI templates的目录夹 FZiZg;  
(%[Tk[  
struts.ui.theme bxAsV/j  
      The default UI template theme ZB828T3  
      默认的UI template主题 .i$,}wtw  
^8:VWJM  
struts.url.http.port ql^g~b  
      The HTTP port used by Struts URLs /xcJo g~F,  
      设置http端口 QhsMd- v  
tXt:HVN  
struts.url.https.port 7))\'\  
      The HTTPS port used by Struts URLs %X;7--S%?g  
      设置https端口 Iz#yQ`  
%yp5DD}|  
struts.url.includeParams NZ>7dJ  
      The default includeParams method to generate Struts URLs CoU3S,;*  
      在url中产生 默认的includeParams =HVfJ"vK  
R|iEvt  
&K>cW$h=a  
struts.velocity.configfile +UzXN$73  
      The Velocity configuration file path N31?9GE  
      velocity配置文件路径 bFg*l$`5  
q xfLfgu^  
struts.velocity.contexts ~n WsP}`n  
      List of Velocity context names YG4WS |  
      velocity的context列表 Y %K~w  
R'SBd}1  
,eDD:#)$}  
struts.velocity.manager.classname wX ,h< \7  
      org.apache.struts2.views.velocity.VelocityManager implementation class mj@31YW  
      org.apache.struts2.views.velocity.VelocityManager接口名 XYjcJ  
IAf$]Fh  
struts.velocity.toolboxlocation eOt%xTx  
      The location of the Velocity toolbox Jen%}\  
      velocity工具盒的位置 PWvSbn6  
struts.xslt.nocache D9.`hs0  
      Whether or not XSLT templates should not be cached )u;JwFstX  
      是否XSLT模版应该被缓存 .d~\Ysve  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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