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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \Uun2.K  
VXforI  
struts.action.extension 7xAzd# c?=  
      The URL extension to use to determine if the request is meant for a Struts action zi~_[l-  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "Jw6.q+  
;eznONNF  
struts.configuration A&#P=m j  
      The org.apache.struts2.config.Configuration implementation class %;UEyj  
        org.apache.struts2.config.Configuration接口名 2.=3:q!H<%  
rA9BY :N@  
struts.configuration.files (\ `knsE!  
      A list of configuration files automatically loaded by Struts dQ97O{O:i  
      struts自动加载的一个配置文件列表 !br0s(|  
?MevPy`H  
struts.configuration.xml.reload &DdFK.lt  
      Whether to reload the XML configuration or not ,5jE9  
      是否加载xml配置(true,false) =/@c9QaV B  
sidSY8j  
struts.continuations.package L1"y5HJ  
      The package containing actions that use Rife continuations @`<vd@  
      含有actions的完整连续的package名称 &(h~{  
8fzmCRFH  
struts.custom.i18n.resources j[ !'l,I  
      Location of additional localization properties files to load kN9pl^2  
      加载附加的国际化属性文件(不包含.properties后缀) K8y/U(@|D  
t.m65  
struts.custom.properties hETTD%  
      Location of additional configuration properties files to load MR$Bl"d  
      加载附加的配置文件的位置 45l/)=@@B  
cDMA#gp  
3R%'<MV|  
struts.devMode (,eH*/~/  
      Whether Struts is in development mode or not mjbr}9  
      是否为struts开发模式 2F(zHa  
g+gHIb7{  
struts.dispatcher.parametersWorkaround f/G YDat  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic SGn:f>N  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) J2 _DP  
T_CYSS|fX  
struts.enable.DynamicMethodInvocation s$e0;C!D  
      Allows one to disable dynamic method invocation from the URL L 0k K'n?  
        允许动态方法调用 !n4p*<Y6  
kQXtO)  
struts.freemarker.manager.classname 1P&XG@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3IHya=qN  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 aF4vNUeG  
hA)tad]  
struts.i18n.encoding w~>V2u_-  
      The encoding to use for localization messages z5Hz-.  
      国际化信息内码 Two$wL/  
g:MpN^l  
struts.i18n.reload ot P7;l  
      Whether the localization messages should automatically be reloaded E!J;bX5  
      是否国际化信息自动加载 4J*%$Vxv  
5-O[(b2O  
struts.locale GkjTE2I3  
      The default locale for the Struts application -p =b5L  
      默认的国际化地区信息 UahFs  
{q%&~  
struts.mapper.class QSf{V(fs  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I3o6ym-i  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S/pTFlptCa  
"YD<pRVB  
struts.multipart.maxSize :%qJAjR&  
      The maximize size of a multipart request (file upload) 1lu _<?O  
      multipart请求信息的最大尺寸(文件上传用) P X ?!R4S  
:|xV}  
struts.multipart.parser ;bq_Y/"  
      The org.apache.struts2.dispatcher.multipart. )6dvWK  
      MultiPartRequest parser implementation for a multipart request (file upload) 6&7#?/Lq  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n\ aG@X%oq  
f,z_|e  
; 1K[N0xE  
struts.multipart.saveDir 'bj$ZM9  
      The directory to use for storing uploaded files ZiodJ"r  
      设置存储上传文件的目录夹 X<J NwjM%  
>_h*N H  
struts.objectFactory vsg"!y@v  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4;8 Z?.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) L}CjC>R!  
cMxTv4|wui  
struts.objectFactory.spring.autoWire knZee!FA7  
      Whether Spring should autoWire or not g&;:[&% T]  
      是否自动绑定Spring s)W^P4<  
8E1swH5 z  
struts.objectFactory.spring.useClassCache 3=V79&  
      Whether Spring should use its class cache or not ,dK<2XP  
      是否spring应该使用自身的cache RajzH2j+>  
1Iu^+  
struts.objectTypeDeterminer F n4i[|W42  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qazM@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \"i2E!  
RVtb0FL  
struts.serve.static.browserCache [_ESR/&N  
If static content served by the Struts filter should set browser caching header properties or not u$d T^c  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 mjG-A8y  
* 3mF.^  
struts.serve.static S{aK\>>H  
      Whether the Struts filter should serve static content or not MDa 4U@Q  
      是否struts过滤器应该提供静态内容 dN J2pfvv  
($&i\e31N  
struts.tag.altSyntax BKe~ y  
      Whether to use the alterative syntax for the tags or not iqURlI);P  
      是否可以用替代的语法替代tags ?)k;.<6  
0m_c43+^  
struts.ui.templateDir r8rU+4\8<  
      The directory containing UI templates K1 a$ m2  
      UI templates的目录夹 2ku\R7  
-4{sr| lm  
struts.ui.theme o7E?A  
      The default UI template theme WjtmV2b<7  
      默认的UI template主题 8@ck" LUzD  
w$4fS  
struts.url.http.port }7E2,A9_"  
      The HTTP port used by Struts URLs GL'zs8AKf  
      设置http端口 !},_,J~(|  
0|n1O)>J  
struts.url.https.port Dsc{- <v  
      The HTTPS port used by Struts URLs sI/Jhw)  
      设置https端口 zl\mBSBx"  
lO>w|=<  
struts.url.includeParams /<)A!Nn+F  
      The default includeParams method to generate Struts URLs `WSm/4 m  
      在url中产生 默认的includeParams |13UJ vR  
Va>~7  
_oxhS!.*  
struts.velocity.configfile DYkNP: +  
      The Velocity configuration file path ]Sg4>tp  
      velocity配置文件路径 I|]~f[xI  
0\84~t'[  
struts.velocity.contexts FP=%e]vJ  
      List of Velocity context names sA=WU(4^  
      velocity的context列表 =b2/g [  
#Q}`kFB`  
4% )I[-sH  
struts.velocity.manager.classname -R@mnG 5  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0L1NZY^!  
      org.apache.struts2.views.velocity.VelocityManager接口名 oF[l<OY4  
O` R@6KG  
struts.velocity.toolboxlocation !=M[u+-  
      The location of the Velocity toolbox fvg jqiT  
      velocity工具盒的位置 tb#. Y  
struts.xslt.nocache 5SKj% %B2,  
      Whether or not XSLT templates should not be cached :clMO|  
      是否XSLT模版应该被缓存 hs< )<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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