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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 FE,BvNBZ  
7B{LRm6;Vu  
struts.action.extension f O,5 u;  
      The URL extension to use to determine if the request is meant for a Struts action 2rPmu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H<Ik.]m  
dpSNh1  
struts.configuration =bJ7!&  
      The org.apache.struts2.config.Configuration implementation class zy(NJ  
        org.apache.struts2.config.Configuration接口名 x7ZaI{    
y XT8:2M  
struts.configuration.files Ra/Pk G-7  
      A list of configuration files automatically loaded by Struts VDTt}J8  
      struts自动加载的一个配置文件列表 7m:ZG  
(NC]S  
struts.configuration.xml.reload E.eUd4XG  
      Whether to reload the XML configuration or not _9:r4|S  
      是否加载xml配置(true,false) 2mEvoWnJ  
mLm?yb:  
struts.continuations.package 7!U^?0?/  
      The package containing actions that use Rife continuations `i<omZ[aT  
      含有actions的完整连续的package名称 @|([b r|O  
:T )R;E@  
struts.custom.i18n.resources WT63ve  
      Location of additional localization properties files to load a(uZ}yS$  
      加载附加的国际化属性文件(不包含.properties后缀) 5yk#(i 7C  
zd|n!3;  
struts.custom.properties 5y8VA4L/o  
      Location of additional configuration properties files to load c*.-mS~Z`  
      加载附加的配置文件的位置 @L$!hTaP  
dVe,;?+A  
 G& m~W  
struts.devMode je8 5G`{DC  
      Whether Struts is in development mode or not s>*xAIx  
      是否为struts开发模式 5Ky(C6E$s  
* o{7 a$V  
struts.dispatcher.parametersWorkaround /]oQqZHv  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e2^TQv2(=e  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %'OY  
_Wqy,L;J  
struts.enable.DynamicMethodInvocation ;2P  
      Allows one to disable dynamic method invocation from the URL }`.d4mm  
        允许动态方法调用 &EmG\vfE  
{B-*w%}HU  
struts.freemarker.manager.classname #MFIsx)r  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =M=v; ,I-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 8W Etm}  
10_#Z~aU  
struts.i18n.encoding 1xI  
      The encoding to use for localization messages YS:p(jtd  
      国际化信息内码 =;Dj[<mJ45  
ly:2XvV3~  
struts.i18n.reload T~L&c  
      Whether the localization messages should automatically be reloaded e|N~tUVrrN  
      是否国际化信息自动加载 >L ')0<!&  
+pRNrg?k  
struts.locale A `{hKS  
      The default locale for the Struts application }OY/0p-Z  
      默认的国际化地区信息 X ,{ 3_  
ALj~e#{;z  
struts.mapper.class BP}@E$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class h4#'@%   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1mD)G55Ep  
dci<Rz`h  
struts.multipart.maxSize 5th?m>  
      The maximize size of a multipart request (file upload) [ ou$*  
      multipart请求信息的最大尺寸(文件上传用) y @S_CB 47  
iX[g  
struts.multipart.parser MU%7'J :_  
      The org.apache.struts2.dispatcher.multipart. v7 n@CWnN  
      MultiPartRequest parser implementation for a multipart request (file upload) F1A40h7R$Y  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) IC?(F]$%>  
$<yhEvv  
.5uqc.i"f  
struts.multipart.saveDir =*1NVi $n  
      The directory to use for storing uploaded files e3ce?gk  
      设置存储上传文件的目录夹 Lw2VdFi>E&  
rr,w/[  
struts.objectFactory \<ysJgqUG  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^e =G} N^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) gB~^dv {  
?~b(iZ  
struts.objectFactory.spring.autoWire p6Z|)1O]  
      Whether Spring should autoWire or not -We9 FO~  
      是否自动绑定Spring HItNd  
A,BYi$  
struts.objectFactory.spring.useClassCache z0OxJe  
      Whether Spring should use its class cache or not c_8<N7 C  
      是否spring应该使用自身的cache A; wT`c  
UWidT+'Sa  
struts.objectTypeDeterminer sQe GT)/|  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Pt f(p`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a>x6n3{  
 /y wP 0  
struts.serve.static.browserCache e[16 7uU  
If static content served by the Struts filter should set browser caching header properties or not q k 6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8CZ%-}-%$  
k/D{&(F ~  
struts.serve.static 5'c#pm\Q  
      Whether the Struts filter should serve static content or not 4Y$\QZO  
      是否struts过滤器应该提供静态内容 5C&*PJ~WA  
4hODpIF  
struts.tag.altSyntax (|F.3~Amq  
      Whether to use the alterative syntax for the tags or not $rI 1|;^  
      是否可以用替代的语法替代tags Fn7OmxfD  
Qn,6s%n  
struts.ui.templateDir _&/ {A|n  
      The directory containing UI templates a6-.|tt#t  
      UI templates的目录夹 r0 )ne|&Hp  
1Dl6T\20  
struts.ui.theme > (9\ cF{  
      The default UI template theme g4 eW<  
      默认的UI template主题 3 ye  
x-e6[_F  
struts.url.http.port Lm=;Y6'`N  
      The HTTP port used by Struts URLs X fqhD&g  
      设置http端口 fP V n;  
U3N9O.VC  
struts.url.https.port n{i,`oQ"  
      The HTTPS port used by Struts URLs *67K_<bp]  
      设置https端口 fjVy;qJ32S  
#K6cBfqI  
struts.url.includeParams 50j8+xJPV  
      The default includeParams method to generate Struts URLs yji[Yde;|  
      在url中产生 默认的includeParams BqY_N8l&E  
V*{rHp{=p  
.z.4E:Iq  
struts.velocity.configfile Be=rBrI>  
      The Velocity configuration file path CF2Bd:mfZ  
      velocity配置文件路径 :Ys~Lt54  
S.)Jp -&K  
struts.velocity.contexts }&t>j[  
      List of Velocity context names !7 dct#4  
      velocity的context列表 18!y7 _cFT  
Z sTtSM\Ac  
+)iMJ]>  
struts.velocity.manager.classname (rd [tc  
      org.apache.struts2.views.velocity.VelocityManager implementation class m$kQbPlatN  
      org.apache.struts2.views.velocity.VelocityManager接口名 lOk8VlH<h  
9MYk5q.X:  
struts.velocity.toolboxlocation pX ^^0  
      The location of the Velocity toolbox QCF'/G  
      velocity工具盒的位置 ^w.hI5ua)  
struts.xslt.nocache ~?AEtl#&"  
      Whether or not XSLT templates should not be cached C=/B\G/.9  
      是否XSLT模版应该被缓存 {^ b2nOMv  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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