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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _Sgk^i3v  
E)Qh]:<2v  
struts.action.extension `x$}~rP&)!  
      The URL extension to use to determine if the request is meant for a Struts action e*2&s5 #RT  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .\~P -{Hd  
8#]7`o  
struts.configuration s>@#9psm  
      The org.apache.struts2.config.Configuration implementation class U++~3e@l  
        org.apache.struts2.config.Configuration接口名 I0w@S7  
KtU GI.X  
struts.configuration.files '+!S|U,{  
      A list of configuration files automatically loaded by Struts {8#N7(%z  
      struts自动加载的一个配置文件列表 O<dZA=Oez  
\gp,Txueb  
struts.configuration.xml.reload VUy)4*  
      Whether to reload the XML configuration or not w <#*O:  
      是否加载xml配置(true,false) Krr?`n  
0?F@iB~1F  
struts.continuations.package L_U3*#Zdz7  
      The package containing actions that use Rife continuations a\&(Ua  
      含有actions的完整连续的package名称 %kZ~xbY  
c[h'`KXJf-  
struts.custom.i18n.resources c. TB8Ol  
      Location of additional localization properties files to load n-y^ 7'v  
      加载附加的国际化属性文件(不包含.properties后缀) VX!Y`y^a  
~w1{zxs  
struts.custom.properties "6E1W,|{  
      Location of additional configuration properties files to load HTUYvU*-  
      加载附加的配置文件的位置 zY+t,2z  
i|c`M/) h:  
DO1 JPeIi  
struts.devMode h nsa)@  
      Whether Struts is in development mode or not s-GleX<  
      是否为struts开发模式  hmBnV  
jTd4H)  
struts.dispatcher.parametersWorkaround TOco({/_/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ti{H(;;@  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5mna7 BCEb  
Jcalf{W6  
struts.enable.DynamicMethodInvocation CRc!|?  
      Allows one to disable dynamic method invocation from the URL JA?,0S  
        允许动态方法调用 y\)G7 (  
piYws<Q  
struts.freemarker.manager.classname kMl@v`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "#-Nqq  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 vZ[ $H  
l&6U|q`  
struts.i18n.encoding (:.Q\!aZ1  
      The encoding to use for localization messages @ate49W  
      国际化信息内码 2vqmsl ?  
$Yx6#m}[M  
struts.i18n.reload +}c|O+6g  
      Whether the localization messages should automatically be reloaded :]B% >*;}  
      是否国际化信息自动加载 Y7*(_P3/  
9n>$}UI\  
struts.locale T6h;Y  
      The default locale for the Struts application H _Zo@y~J  
      默认的国际化地区信息 9UeVvH  
85r)>aCMn  
struts.mapper.class +A8=R%&b)[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class L4YVH2`0)  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 wJ80};!  
1<LC8?wt  
struts.multipart.maxSize \LO_Nu9  
      The maximize size of a multipart request (file upload) Y!++C MzU  
      multipart请求信息的最大尺寸(文件上传用) !lQ#sL`  
?ID* /u|X  
struts.multipart.parser v87$NQvwQ  
      The org.apache.struts2.dispatcher.multipart. T!u'V'Ei2  
      MultiPartRequest parser implementation for a multipart request (file upload) CRZi;7`*1  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2 ) TG  
fKL'/?LD]  
tA`mD>[  
struts.multipart.saveDir ./"mn3U  
      The directory to use for storing uploaded files l `fW{lh  
      设置存储上传文件的目录夹 {l0,T0  
m >]>$=%  
struts.objectFactory -Wl)Lez@  
      The com.opensymphony.xwork2.ObjectFactory implementation class `4VO&lRm  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6#E]zmXO2  
{E!$ xY8  
struts.objectFactory.spring.autoWire xGKfej9  
      Whether Spring should autoWire or not G_V.H \w  
      是否自动绑定Spring [ 3$.*   
VDB$"T9#  
struts.objectFactory.spring.useClassCache "DVt3E  
      Whether Spring should use its class cache or not 7<h.KZPc  
      是否spring应该使用自身的cache kx|me~I  
q<-%L1kc 1  
struts.objectTypeDeterminer HzP.aw4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class yJnPD/i  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %z(9lAe  
Px'R`1^  
struts.serve.static.browserCache $Llta,ULE  
If static content served by the Struts filter should set browser caching header properties or not 6 0`+ 9(^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $GQphXb$  
q&u$0XmV  
struts.serve.static ?ouV  
      Whether the Struts filter should serve static content or not  %)pP[[h  
      是否struts过滤器应该提供静态内容 riID,aut  
'b8R#R\P  
struts.tag.altSyntax aQ&uC )w  
      Whether to use the alterative syntax for the tags or not ?K0U3V$s  
      是否可以用替代的语法替代tags joe9.{  
a*V9_Px$&  
struts.ui.templateDir BRe{1i 6  
      The directory containing UI templates Gu2_dT  
      UI templates的目录夹 7nm}fT z7  
a lrt*V|=  
struts.ui.theme #-,g&)`]  
      The default UI template theme \ 0D$Mie  
      默认的UI template主题 TW>?h=.z  
/E)9v$!  
struts.url.http.port *yrnK3  
      The HTTP port used by Struts URLs WS5A Y @(~  
      设置http端口 ,aI,2U91  
l$M$o(  
struts.url.https.port 3a'q`.L  
      The HTTPS port used by Struts URLs USprsaj  
      设置https端口 $)Wb#B  
pqJ)G;%9  
struts.url.includeParams X&s7% ]n+  
      The default includeParams method to generate Struts URLs n<E.Em1  
      在url中产生 默认的includeParams <_t5:3HL  
sD2 ^_w6j  
zyDZ$Dhka  
struts.velocity.configfile ~]4kkm7Y  
      The Velocity configuration file path `Z:3` 7c  
      velocity配置文件路径 )i @1X H"D  
)Lb72;!?  
struts.velocity.contexts (Q'U@{s  
      List of Velocity context names J2'K?|,m  
      velocity的context列表 aRX  
c -w0  
57U%`  
struts.velocity.manager.classname $R";  
      org.apache.struts2.views.velocity.VelocityManager implementation class r ^MiRa  
      org.apache.struts2.views.velocity.VelocityManager接口名 xo(k?+P>.  
?s%v 3T  
struts.velocity.toolboxlocation ' X}7]y  
      The location of the Velocity toolbox 6%%PP8.F  
      velocity工具盒的位置 2hy NVG&$  
struts.xslt.nocache 8^y=H=  
      Whether or not XSLT templates should not be cached Ae6("Oid  
      是否XSLT模版应该被缓存 WV2~(/hX&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八