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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 s&Qil07 Vl  
e+P|PW  
struts.action.extension )lB*] n`Z]  
      The URL extension to use to determine if the request is meant for a Struts action _JXb|FIp  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -Hu]2J)  
C**kJ  
struts.configuration ut;KphvSH  
      The org.apache.struts2.config.Configuration implementation class PVUNi: h  
        org.apache.struts2.config.Configuration接口名 X.<2]V7!  
nv"D  
struts.configuration.files ?c# v'c^=h  
      A list of configuration files automatically loaded by Struts 4p_@f^v~QH  
      struts自动加载的一个配置文件列表 b:(*C  
>rzpYc'~w  
struts.configuration.xml.reload  S]&7  
      Whether to reload the XML configuration or not &1,qC,:!  
      是否加载xml配置(true,false) AJ-~F>gn  
DSx D531[A  
struts.continuations.package 7(bE;(4  
      The package containing actions that use Rife continuations vCtag]H2@  
      含有actions的完整连续的package名称 zj9aaZ}  
0P6< 4  
struts.custom.i18n.resources @awN*mO  
      Location of additional localization properties files to load OL)M`eVQ'  
      加载附加的国际化属性文件(不包含.properties后缀) ^LJ?GJ$g  
J0"<}"  
struts.custom.properties ?$FvE4!n  
      Location of additional configuration properties files to load L[9]Ez$2+  
      加载附加的配置文件的位置 s7TV@Y)  
h` $2/%?  
LuIs4&[EW  
struts.devMode \m;"KyP+  
      Whether Struts is in development mode or not @ 6{U*vs  
      是否为struts开发模式 80qe5WC.2u  
kVb8$Sp  
struts.dispatcher.parametersWorkaround >VWH bo  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #3act )m  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) zMQ|j_ l9E  
Qr l>A*  
struts.enable.DynamicMethodInvocation nFfwVqV  
      Allows one to disable dynamic method invocation from the URL rC!~4xj-  
        允许动态方法调用 k,nRC~Irh  
K# dV.  
struts.freemarker.manager.classname u6(>?r-  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &MsBcP[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 SZQ4e  
 a7UfRG  
struts.i18n.encoding )q+9_KU q  
      The encoding to use for localization messages O<v9i4*  
      国际化信息内码 SRx `m,535  
3xnu SOdh  
struts.i18n.reload mf)o1O&B  
      Whether the localization messages should automatically be reloaded (j;6}@  
      是否国际化信息自动加载 "|l-NUe  
\aG:l.IM0  
struts.locale 4l*4w x""v  
      The default locale for the Struts application H:HJHd"W  
      默认的国际化地区信息 L'Fy\K\  
kf<5`8  
struts.mapper.class * F T )`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bqDHLoB\1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "m:4e`_dz  
o-jF?9m  
struts.multipart.maxSize ) Pdl[+a  
      The maximize size of a multipart request (file upload) ]h$,=Qf hD  
      multipart请求信息的最大尺寸(文件上传用) q"[8u ]j  
Dj9).lgc  
struts.multipart.parser Zu/}TS9bi  
      The org.apache.struts2.dispatcher.multipart. ]}&f<X  
      MultiPartRequest parser implementation for a multipart request (file upload) $lMEZt8A  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r%/*,lLO  
H]7;O M/g  
q0hg0 DC[;  
struts.multipart.saveDir )} H46  
      The directory to use for storing uploaded files p}'uCT ga  
      设置存储上传文件的目录夹 2nRL;[L*.  
f}c z_"o4  
struts.objectFactory 0-W{(xy@4  
      The com.opensymphony.xwork2.ObjectFactory implementation class $}/ !mXI5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) bLysUj5[5  
S:En9E  
struts.objectFactory.spring.autoWire BEzF'<Z  
      Whether Spring should autoWire or not n8eR?'4  
      是否自动绑定Spring uI I:Y{G  
0#rv.rJ{  
struts.objectFactory.spring.useClassCache 3:h9cO/9  
      Whether Spring should use its class cache or not -B-nTS`  
      是否spring应该使用自身的cache B|Rnh;B-  
2I#4jy/g  
struts.objectTypeDeterminer ]jz%])SzH  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [1Yx#t  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -PSI^%TR#  
w8Mi: ;6  
struts.serve.static.browserCache XKU+'Tz  
If static content served by the Struts filter should set browser caching header properties or not qi\!<clv  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Sh=Px9'i  
R;_U BQ)  
struts.serve.static ,rp-`E5ap  
      Whether the Struts filter should serve static content or not YEWHr>&Z  
      是否struts过滤器应该提供静态内容 w-%H\+J  
:_q   
struts.tag.altSyntax <z*SO a  
      Whether to use the alterative syntax for the tags or not DVNGV   
      是否可以用替代的语法替代tags oO4 Wwi  
l*|^mx^Q  
struts.ui.templateDir G w$sL&1m\  
      The directory containing UI templates 2>3gC_^go  
      UI templates的目录夹 K`nI$l7hg  
j3bTa|UdT  
struts.ui.theme %7PprN0>  
      The default UI template theme uLsGb=m%b  
      默认的UI template主题 /]Fs3uf  
*@q+A1P7@  
struts.url.http.port QM1-w^  
      The HTTP port used by Struts URLs |yi3y `f  
      设置http端口 Ok+zUA[Wu  
'|b {  
struts.url.https.port q9RCXo>Y+1  
      The HTTPS port used by Struts URLs T{={uzQeJJ  
      设置https端口 u":D{+wC |  
^IxT.g  
struts.url.includeParams B8^tIq  
      The default includeParams method to generate Struts URLs 3:i4DBp,i  
      在url中产生 默认的includeParams bUC-}  
fn zj@_{|  
Rla4XN=mf  
struts.velocity.configfile dUtxG ~9  
      The Velocity configuration file path Y WSo:)LY  
      velocity配置文件路径 kyQ%qBv ^  
uD&!]E3  
struts.velocity.contexts \fphM6([RK  
      List of Velocity context names xQ62V11R6  
      velocity的context列表 ^j?\_r'j  
L!3AiAnr  
q!k  F  
struts.velocity.manager.classname AF1";duA  
      org.apache.struts2.views.velocity.VelocityManager implementation class 6u3DxFiTm  
      org.apache.struts2.views.velocity.VelocityManager接口名 xa`&/W>  
eB78z@  
struts.velocity.toolboxlocation @.gT&Hq  
      The location of the Velocity toolbox U A T46  
      velocity工具盒的位置 _7YAF,@vT  
struts.xslt.nocache C|Bk'<MI  
      Whether or not XSLT templates should not be cached z0Vd(QL  
      是否XSLT模版应该被缓存 ,9q=2V[GP  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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