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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %vO<9fE|1  
Bd3~EbFL  
struts.action.extension r,N[)@  
      The URL extension to use to determine if the request is meant for a Struts action nW+YOX|+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a45 ss7  
^# A.@  
struts.configuration ~/IexQB&  
      The org.apache.struts2.config.Configuration implementation class m~],nl  
        org.apache.struts2.config.Configuration接口名 ?G08NR  
{^Pq\h;  
struts.configuration.files x3e]d$  
      A list of configuration files automatically loaded by Struts =/+#PVO  
      struts自动加载的一个配置文件列表 gcJF`H/iNK  
-@IL"U6  
struts.configuration.xml.reload \Xt) E[  
      Whether to reload the XML configuration or not d'l$$%zJ  
      是否加载xml配置(true,false) Iia.k'N  
`!G7k  
struts.continuations.package !RlC~^ -  
      The package containing actions that use Rife continuations M8@_Uj  
      含有actions的完整连续的package名称 *OdX u&5  
cgj.e  
struts.custom.i18n.resources s(&;q4|  
      Location of additional localization properties files to load S*)o)34 U  
      加载附加的国际化属性文件(不包含.properties后缀) l #@&~f[  
p8,0lo  
struts.custom.properties n+D#k 8{  
      Location of additional configuration properties files to load 1Qh`6Ya f  
      加载附加的配置文件的位置 nSY-?&l6P  
~ E=\t9r  
kA7(CqUW  
struts.devMode (tl}q3U  
      Whether Struts is in development mode or not rwpgBl  
      是否为struts开发模式 0]x;n+G[q  
>&H~nGP.  
struts.dispatcher.parametersWorkaround t#<KxwhcN  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hN(L@0)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b0a}ME&1  
[}3cDR  
struts.enable.DynamicMethodInvocation zfjTQMaxh  
      Allows one to disable dynamic method invocation from the URL &-GuKH(Y<  
        允许动态方法调用 %^9:%ytt  
<]8^J}8T{D  
struts.freemarker.manager.classname ?An,-N-ezf  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [U_[</L7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 0k?Sq#7q  
>$ F:*lO  
struts.i18n.encoding XKq@]=\F  
      The encoding to use for localization messages Qa$NBNxKl  
      国际化信息内码 74zSP/G'  
" OGdE_E  
struts.i18n.reload JJl7JwSTW  
      Whether the localization messages should automatically be reloaded 2q %K)h  
      是否国际化信息自动加载 *=vlqpG  
3$"/>g/  
struts.locale y3yvZD  
      The default locale for the Struts application G[q9A$yw  
      默认的国际化地区信息 0RyFv+  
PZ34*q  
struts.mapper.class 7Qh_8M  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?mOg@) wx  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <pOl[5v]  
*fP(6e#G,  
struts.multipart.maxSize EDN(eh(_  
      The maximize size of a multipart request (file upload) p`GWhI?  
      multipart请求信息的最大尺寸(文件上传用) xeB4r/6  
6;JP76PD  
struts.multipart.parser  C6)R#  
      The org.apache.struts2.dispatcher.multipart. ;i9>}]6  
      MultiPartRequest parser implementation for a multipart request (file upload) >Me]m<$E;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) B~_Spp  
>Zdi5') 5  
UE)fUTS  
struts.multipart.saveDir 99KVtgPm  
      The directory to use for storing uploaded files [EGx  
      设置存储上传文件的目录夹 l<2oklo5  
aFG3tuaKrQ  
struts.objectFactory $WNG07]tU  
      The com.opensymphony.xwork2.ObjectFactory implementation class m;h<"]<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6{7 3p@  
9- G b"hr  
struts.objectFactory.spring.autoWire B+Q+0tw*i  
      Whether Spring should autoWire or not =xBT>h;  
      是否自动绑定Spring hwDXm9  
MOyT< $  
struts.objectFactory.spring.useClassCache hrT%XJl  
      Whether Spring should use its class cache or not QSmJ`Bm  
      是否spring应该使用自身的cache `Z8^+AMc  
0IFlEe[>#  
struts.objectTypeDeterminer sJ7sjrEp 1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \ 522,n`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 DoG%T(M!a9  
 ,F}r@  
struts.serve.static.browserCache  i_y:4  
If static content served by the Struts filter should set browser caching header properties or not "!a`ygqpT  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \c68n  
> i`8R  
struts.serve.static !a4cjc(  
      Whether the Struts filter should serve static content or not !u%9;>T7  
      是否struts过滤器应该提供静态内容 Oc^m_U8>^  
6oA~J]<  
struts.tag.altSyntax 1C'P)f28  
      Whether to use the alterative syntax for the tags or not Wo2 v5-  
      是否可以用替代的语法替代tags WQ.i$ID/  
9ET/I$n  
struts.ui.templateDir ixzTJ]yu  
      The directory containing UI templates u0'i!@795  
      UI templates的目录夹 /4H[4m]I  
}\4p3RQrz  
struts.ui.theme H%cp^G  
      The default UI template theme yXXvs'$R \  
      默认的UI template主题 Q^|6J#o[9  
@9<S*  
struts.url.http.port t]r7cA  
      The HTTP port used by Struts URLs x?rbgsB5&  
      设置http端口 &_YtY47  
dQ`:8S K  
struts.url.https.port Dh?vU~v(6  
      The HTTPS port used by Struts URLs W[GQ[h  
      设置https端口 9H[/Tj-;  
)"F5lOA6  
struts.url.includeParams K{N%kk%F  
      The default includeParams method to generate Struts URLs Hy;901( %  
      在url中产生 默认的includeParams -HN%B?}. x  
nIR*_<ow  
+h|K[=l\  
struts.velocity.configfile E\_W  
      The Velocity configuration file path v}&#f&q!  
      velocity配置文件路径 UE{,.s  
bk0Y  
struts.velocity.contexts IyT ?-R  
      List of Velocity context names $mD>r x  
      velocity的context列表 ret0z|  
bz$Qk;m=H  
H):-! ?:  
struts.velocity.manager.classname 1N>6rN  
      org.apache.struts2.views.velocity.VelocityManager implementation class '}T;b}&s  
      org.apache.struts2.views.velocity.VelocityManager接口名 =tNzGaWJ  
p; F2z;#  
struts.velocity.toolboxlocation w'|&5cS  
      The location of the Velocity toolbox +!Q!m 3/I  
      velocity工具盒的位置 E;xMPK$  
struts.xslt.nocache TMNfJz   
      Whether or not XSLT templates should not be cached zfirb  
      是否XSLT模版应该被缓存 n'ehB%"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五