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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 V,>uM >$  
5j#XNc)"  
struts.action.extension B/b S:  
      The URL extension to use to determine if the request is meant for a Struts action C%;J9(r  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ' O d_:]  
6" |+\  
struts.configuration TbR!u:J  
      The org.apache.struts2.config.Configuration implementation class k>!A~gfP~  
        org.apache.struts2.config.Configuration接口名 A IsXu"  
-+&sPrQ  
struts.configuration.files Xv?'*2J  
      A list of configuration files automatically loaded by Struts |Whkq/Zg  
      struts自动加载的一个配置文件列表 !T1)tGrH  
uOQl;}Lk5  
struts.configuration.xml.reload A9ru]|?  
      Whether to reload the XML configuration or not %<;PEQQ|C  
      是否加载xml配置(true,false) _2nNCu (  
mY!&*nYn|  
struts.continuations.package n]snD1?KX  
      The package containing actions that use Rife continuations 8? &!@3n  
      含有actions的完整连续的package名称 h}f l:J1C  
ZqJyuTPv  
struts.custom.i18n.resources {{Z3M>Q  
      Location of additional localization properties files to load dS~#Lzm  
      加载附加的国际化属性文件(不包含.properties后缀) "oo j;  
5)<}a&;{  
struts.custom.properties {%XDr,myd  
      Location of additional configuration properties files to load Z)RV6@(  
      加载附加的配置文件的位置 dnstm@0k  
 ~ A4_  
H@BU/{  
struts.devMode +BkmI\  
      Whether Struts is in development mode or not d/&~IR  
      是否为struts开发模式 SMbhJ}\O  
y<*/\]t9L[  
struts.dispatcher.parametersWorkaround V"Y-|R  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic c_)lTI4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) w $z]Z-  
L(\o66a-rV  
struts.enable.DynamicMethodInvocation bs\7 juHt  
      Allows one to disable dynamic method invocation from the URL OjBg$f~0F  
        允许动态方法调用 E~'QC  
>e9xM Gv  
struts.freemarker.manager.classname gukKa  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4: S-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3NxwQ,~  
+G lb  
struts.i18n.encoding Nm,9xq  
      The encoding to use for localization messages 9e'9$-z  
      国际化信息内码 Yb Dz{m  
Zh 3hCxXa  
struts.i18n.reload \EOPlyf8x  
      Whether the localization messages should automatically be reloaded ,[|4{qli\  
      是否国际化信息自动加载 dEWI8Q]  
I-o |~  
struts.locale  ylBjuD+  
      The default locale for the Struts application i9quP"<9  
      默认的国际化地区信息 J#jx)K!  
&/tGT3)  
struts.mapper.class E>3(ff&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class A]q"+Z]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "`aLSw75x  
R[{s\  
struts.multipart.maxSize iK <vr  
      The maximize size of a multipart request (file upload) 7S)u7  
      multipart请求信息的最大尺寸(文件上传用) eBxOa  
1 8kzR6(W  
struts.multipart.parser R[_UbN 28  
      The org.apache.struts2.dispatcher.multipart. G$!JJ. )d  
      MultiPartRequest parser implementation for a multipart request (file upload) zd^QG  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .m_-L Y-  
|)IS[:X  
[SX>b"L  
struts.multipart.saveDir >r~!'Pd!  
      The directory to use for storing uploaded files 4l`"P~=2<  
      设置存储上传文件的目录夹 .Pi8c[  
k\`~v$R3  
struts.objectFactory YQ#o3 sjs  
      The com.opensymphony.xwork2.ObjectFactory implementation class TEt+At`]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %W:]OPURK  
8^ezqd`  
struts.objectFactory.spring.autoWire \oc*  
      Whether Spring should autoWire or not l8Ks{(wh  
      是否自动绑定Spring QeZK&^W  
v35=4>Y  
struts.objectFactory.spring.useClassCache Ht!]%  
      Whether Spring should use its class cache or not pv9Z-WCix$  
      是否spring应该使用自身的cache {t1 ;icu  
t/L:Y=7w  
struts.objectTypeDeterminer Aq:1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `UDB9Ca  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 D4e!A@LJ  
<u%&@G$F>  
struts.serve.static.browserCache 5 Yf T  
If static content served by the Struts filter should set browser caching header properties or not _"R /k`8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 o2#_CdU   
ilpP"B  
struts.serve.static ^ ;XJG9a0\  
      Whether the Struts filter should serve static content or not t?<pyw $  
      是否struts过滤器应该提供静态内容 7"0l>0 \  
k x26nDT(  
struts.tag.altSyntax Y}Gf%Xi,  
      Whether to use the alterative syntax for the tags or not +ZK12D}  
      是否可以用替代的语法替代tags lay)I11- >  
,2?Sua/LD  
struts.ui.templateDir I# U"DwM  
      The directory containing UI templates E ) iEWc  
      UI templates的目录夹 |SfmQ;  
9et%Hn.K'  
struts.ui.theme p a)2TL/@  
      The default UI template theme _6k ej#o8  
      默认的UI template主题 7C"&f *lEi  
J5 2- qR/  
struts.url.http.port ` $N()P  
      The HTTP port used by Struts URLs &q0s8'qA  
      设置http端口 a-<&(jV  
>p;cbp[ht  
struts.url.https.port #)hJ.0~3  
      The HTTPS port used by Struts URLs dZ"w2ho  
      设置https端口 ROc)LCA  
z.%K5vrO>  
struts.url.includeParams MmPLJ  
      The default includeParams method to generate Struts URLs s 8 c#_  
      在url中产生 默认的includeParams WY 'QhieH  
ueD_<KjE=  
4itadQS  
struts.velocity.configfile %;-] HI  
      The Velocity configuration file path 9pJk.Np0   
      velocity配置文件路径 M8HHyV[AmC  
E|K~WO]>o  
struts.velocity.contexts DcL;7IT  
      List of Velocity context names suP/I?4'@  
      velocity的context列表 u^Sa{Jk=  
'ZboLoS*-  
w%L::Z4  
struts.velocity.manager.classname x%d\}%]  
      org.apache.struts2.views.velocity.VelocityManager implementation class "g=g' W#  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,q|;`?R;  
CV )v6f  
struts.velocity.toolboxlocation SZ'2/#R>  
      The location of the Velocity toolbox [@LA<Z_  
      velocity工具盒的位置 N=[# "4I  
struts.xslt.nocache }2nmfm!  
      Whether or not XSLT templates should not be cached v@^P4cu;  
      是否XSLT模版应该被缓存 ? f\ ~:Gm/  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八