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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (Z.K3  
^mFuZ~g;?  
struts.action.extension NAV}q<@v  
      The URL extension to use to determine if the request is meant for a Struts action V'pNo&O=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 iKV;>gF,)v  
E5 H6&XU  
struts.configuration jD0^,aiG  
      The org.apache.struts2.config.Configuration implementation class U/,`xA;v>  
        org.apache.struts2.config.Configuration接口名 *rp@`W5  
s`Z(f:/6*  
struts.configuration.files Yg/e8Q2  
      A list of configuration files automatically loaded by Struts S4s\tA<  
      struts自动加载的一个配置文件列表 EiI3$y3;  
GB\.msls  
struts.configuration.xml.reload ,!kqEIp%  
      Whether to reload the XML configuration or not |U1X~\""  
      是否加载xml配置(true,false) (rt DT  
 {"y{V  
struts.continuations.package QV+('  
      The package containing actions that use Rife continuations )gvX eJ  
      含有actions的完整连续的package名称 rj$u_y3S*  
B9iH+ ]W  
struts.custom.i18n.resources 4 u X<sJ*  
      Location of additional localization properties files to load |^Try2@  
      加载附加的国际化属性文件(不包含.properties后缀) C5i]n? )S  
Slq=;TDp  
struts.custom.properties //Ioh (N  
      Location of additional configuration properties files to load + }(  
      加载附加的配置文件的位置 "KOLRJ@  
R[wy{4<y  
EU ThH.  
struts.devMode tNbCO+rZ  
      Whether Struts is in development mode or not !#3#}R.$Fl  
      是否为struts开发模式 s ZkQJ->  
Cv{rd##Y8  
struts.dispatcher.parametersWorkaround g Gg8O? Z  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ma~WJ0LM\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y_qFXd  
U?>P6p  
struts.enable.DynamicMethodInvocation g-oHu8   
      Allows one to disable dynamic method invocation from the URL #PoUCRRC  
        允许动态方法调用 `*9W{|~Gwx  
qOZe\<.V<  
struts.freemarker.manager.classname '68{dyFZL  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7R<<}dA]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |=l;UqB  
-DX|[70  
struts.i18n.encoding >T.U\,om7  
      The encoding to use for localization messages e.\d7_T+  
      国际化信息内码 H h$D:ZO  
$"J+3mO  
struts.i18n.reload fcr\XCG7U  
      Whether the localization messages should automatically be reloaded |w6:mtaS  
      是否国际化信息自动加载 +H/^RvUjF  
@]WN|K  
struts.locale M<"&$qZ$R  
      The default locale for the Struts application D?qA aq&4  
      默认的国际化地区信息 dy, ,x  
qQ/j+  
struts.mapper.class $>OWGueq64  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Wxb/|?,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 hX$k8 o0  
SR%h=`t  
struts.multipart.maxSize }UHuFff,  
      The maximize size of a multipart request (file upload) 76} N/C  
      multipart请求信息的最大尺寸(文件上传用) 0mH>fs 4  
(J\"\#/d  
struts.multipart.parser q<r{ps  
      The org.apache.struts2.dispatcher.multipart. m$*dPje  
      MultiPartRequest parser implementation for a multipart request (file upload) cQu1WgQ G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?*tpW75hR[  
n:`> QY  
v)d\ 5#7  
struts.multipart.saveDir ,S:g 5n>M  
      The directory to use for storing uploaded files Jmf&&)p  
      设置存储上传文件的目录夹 ~k+-))pf  
[#)-F_S  
struts.objectFactory `WC~cb\  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6 jRF[N8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) xO'1|b^&  
mxq'A  
struts.objectFactory.spring.autoWire 3Q~ng2Wv%  
      Whether Spring should autoWire or not puL1A?Y8UM  
      是否自动绑定Spring  -"\z|OQ  
bf'@sh%W  
struts.objectFactory.spring.useClassCache 9FX'Uws  
      Whether Spring should use its class cache or not 4ZQX YwfC|  
      是否spring应该使用自身的cache /tJJ2 =%l  
_Wk!d3bsx  
struts.objectTypeDeterminer #`<|W5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class QlSZr[^v  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 OY51~#BF  
'd|_i6:y&  
struts.serve.static.browserCache jv5p_v4%O  
If static content served by the Struts filter should set browser caching header properties or not u(\b1h n  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +<Uc42i7n  
. ?[2,4F;  
struts.serve.static ^B1Q";# B^  
      Whether the Struts filter should serve static content or not B<H5WI  
      是否struts过滤器应该提供静态内容 }a'8lwF%I  
W _yVVr  
struts.tag.altSyntax BB|w-W=Kd  
      Whether to use the alterative syntax for the tags or not + 3aAL&  
      是否可以用替代的语法替代tags H^B/ '#mO  
hoO8s#0ED  
struts.ui.templateDir $0AN5 |`g\  
      The directory containing UI templates i 0L)hkV  
      UI templates的目录夹 ;I:jd")  
v /G,  
struts.ui.theme nr! kx)j  
      The default UI template theme G3OqRH  
      默认的UI template主题 4Xe3PdE  
'X<R)E  
struts.url.http.port 0KHA5dt  
      The HTTP port used by Struts URLs [9Q2/V;Uk%  
      设置http端口 ]gQgNn?  
yg5Ik{  
struts.url.https.port T,!?+#  
      The HTTPS port used by Struts URLs JyjS#BWi  
      设置https端口 [q?{e1  
-SlLX\>p  
struts.url.includeParams 0V}%'Ec<e  
      The default includeParams method to generate Struts URLs L/F!Y%=;[  
      在url中产生 默认的includeParams ]}w ~fjq  
{Tm31f(oD  
](aXZ<,  
struts.velocity.configfile DdN{=}A  
      The Velocity configuration file path 0%cbno@1V  
      velocity配置文件路径 `CUTb*{`  
}RO Cj,|  
struts.velocity.contexts [_^K}\/+  
      List of Velocity context names 3*/y<Z'H  
      velocity的context列表 (m|p|rL  
"/(J*)%{  
eXc`"T,C.  
struts.velocity.manager.classname <omSK- T-  
      org.apache.struts2.views.velocity.VelocityManager implementation class f*0[[J0]  
      org.apache.struts2.views.velocity.VelocityManager接口名 Eii)zo8Xd  
KWLI7fTgj$  
struts.velocity.toolboxlocation 7Fh%jRHZ`  
      The location of the Velocity toolbox G9 ;X=c  
      velocity工具盒的位置 2LiJ IO8N  
struts.xslt.nocache NJI-8qTGI  
      Whether or not XSLT templates should not be cached #B88w9 b`D  
      是否XSLT模版应该被缓存 Z0`Bn5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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