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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 zx)z/1  
A<??T[  
struts.action.extension "vOwd.(?N  
      The URL extension to use to determine if the request is meant for a Struts action Fvbh\m ~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 YB2VcF.LU  
oC0qG[yp9S  
struts.configuration |>dI/_'  
      The org.apache.struts2.config.Configuration implementation class TA4!$7b$  
        org.apache.struts2.config.Configuration接口名 ,^\2P$rT  
De'_SD|=  
struts.configuration.files pe 1R(|H  
      A list of configuration files automatically loaded by Struts ]SLP}Jwy  
      struts自动加载的一个配置文件列表 l4uMG]m  
uFinv2Z '  
struts.configuration.xml.reload v@ lM3_rbO  
      Whether to reload the XML configuration or not ZzJ?L4J5v  
      是否加载xml配置(true,false) 62ws/8d6f  
hYG6 pTCb  
struts.continuations.package :% ,:"  
      The package containing actions that use Rife continuations ?iWi  
      含有actions的完整连续的package名称 0"28'  
1cpiHZa  
struts.custom.i18n.resources #."-#"0  
      Location of additional localization properties files to load m8d!< h  
      加载附加的国际化属性文件(不包含.properties后缀) hG12ZZD  
%N>%!m  
struts.custom.properties LnH?dy  
      Location of additional configuration properties files to load CVL3VT1j0  
      加载附加的配置文件的位置 .$+#1-  
w"-Lc4t+  
 KY$)#i  
struts.devMode |B.Y6L6l  
      Whether Struts is in development mode or not 1mOh{:1u  
      是否为struts开发模式 "K6&dk jY  
(MxQ+D\  
struts.dispatcher.parametersWorkaround @#T|Y&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q ayPo]O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) < $lCkSx<Q  
SB H(y)  
struts.enable.DynamicMethodInvocation :L F?  
      Allows one to disable dynamic method invocation from the URL -#u=\8  
        允许动态方法调用 cUKE   
L*xhGoC=  
struts.freemarker.manager.classname ;g+N&)n  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class gmw|H?]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =.Pw`.  
. qO@Q=  
struts.i18n.encoding Z'`<5A%;  
      The encoding to use for localization messages GfoLae  
      国际化信息内码 O_oPh] x)  
a*lh)l<KV  
struts.i18n.reload IA8f*]?  
      Whether the localization messages should automatically be reloaded il4^zj82  
      是否国际化信息自动加载 >E;uU[v)I  
5Dm.K?l;  
struts.locale jS]ru-5.  
      The default locale for the Struts application y-'$(x  
      默认的国际化地区信息 %9KldcQ}~  
`i3NG1 v0  
struts.mapper.class 5sj4;w[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <'y?KiphL  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 e'6/` Evqz  
Pr':51(  
struts.multipart.maxSize O,{6*[)@  
      The maximize size of a multipart request (file upload) !JHL\M>A5  
      multipart请求信息的最大尺寸(文件上传用) V\ZGd+?  
!![DJ  
struts.multipart.parser ] {RDVA=]  
      The org.apache.struts2.dispatcher.multipart. JFcLv=U  
      MultiPartRequest parser implementation for a multipart request (file upload) j/323Za+  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vOn`/5-  
M8kPj8}{  
+ nrbShV  
struts.multipart.saveDir jl4rbzse  
      The directory to use for storing uploaded files K -nF lPm\  
      设置存储上传文件的目录夹 ~ (|5/ p7t  
d[@X%  
struts.objectFactory 9vuyv*-}e  
      The com.opensymphony.xwork2.ObjectFactory implementation class g/ T   
      com.opensymphony.xwork2.ObjectFactory接口(spring) | k&Ck  
[L3=x;U  
struts.objectFactory.spring.autoWire hci6P>h<ia  
      Whether Spring should autoWire or not s 1 A.+  
      是否自动绑定Spring N({MPO9  
fx41,0;gZq  
struts.objectFactory.spring.useClassCache q(  
      Whether Spring should use its class cache or not 1-8mFIK  
      是否spring应该使用自身的cache bkOv2tZ  
Q3kdlxXR  
struts.objectTypeDeterminer y`<*U;xL  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .5^cb%B*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a@_4PWzF:  
~8'sBT  
struts.serve.static.browserCache "0"nw 2g?  
If static content served by the Struts filter should set browser caching header properties or not Zi*2nv '  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6dq(T_eG  
!j9t*2m[  
struts.serve.static epA:v|S  
      Whether the Struts filter should serve static content or not ;5]Lf$tZ  
      是否struts过滤器应该提供静态内容 5Yg'BkEr  
9'fQHwsJ  
struts.tag.altSyntax ~8q)^vm>f?  
      Whether to use the alterative syntax for the tags or not q}i]'7  
      是否可以用替代的语法替代tags F|S Xn\  
U$O\f18  
struts.ui.templateDir m ifxiV  
      The directory containing UI templates wT6"U$cV  
      UI templates的目录夹 pj\u9 L_  
#3i3G(mQ  
struts.ui.theme CuaVb1r  
      The default UI template theme pR*VdC _mY  
      默认的UI template主题 iOd&B B6  
E-T)*`e  
struts.url.http.port EuZ<quwWg  
      The HTTP port used by Struts URLs ?h$NAL?  
      设置http端口 u0JB\)(-/h  
"M<8UE\n  
struts.url.https.port Eq%}  
      The HTTPS port used by Struts URLs |UkR'Ma  
      设置https端口 +^` I?1\UF  
1h^:[[!c  
struts.url.includeParams /j #n  
      The default includeParams method to generate Struts URLs C'>|J9~Gz  
      在url中产生 默认的includeParams UE8kpa)cQ  
bg!/%[ {M  
Q 1U\D  
struts.velocity.configfile X2#2C/6#u  
      The Velocity configuration file path f/U`  
      velocity配置文件路径 k9<;woOBO  
g{7.r-uu  
struts.velocity.contexts BGvre'67  
      List of Velocity context names :">!r.Q  
      velocity的context列表 9e<.lb^tP  
B al`y  
F|IAiE  
struts.velocity.manager.classname [u =+3b  
      org.apache.struts2.views.velocity.VelocityManager implementation class DHy q^pJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 Df}A^G >X  
4R#chQ  
struts.velocity.toolboxlocation oK9( /v  
      The location of the Velocity toolbox } +TORR?  
      velocity工具盒的位置 XPavReGf  
struts.xslt.nocache 9"N~yKa`"K  
      Whether or not XSLT templates should not be cached ]{sU&GqBLe  
      是否XSLT模版应该被缓存 "SNn^p59k  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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