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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8vOKm)[%  
? suNA  
struts.action.extension hOx'uO`x(  
      The URL extension to use to determine if the request is meant for a Struts action %O#)=M~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *BF5B\[r?  
PbvRh~n  
struts.configuration @`^+XPK\  
      The org.apache.struts2.config.Configuration implementation class ;Kob]b  
        org.apache.struts2.config.Configuration接口名 y-w=4_W  
)7l+\t  
struts.configuration.files 4C\>JGZvq  
      A list of configuration files automatically loaded by Struts K[!OfP  
      struts自动加载的一个配置文件列表  \09eH[  
_~ZNX+4  
struts.configuration.xml.reload rXPq'k'h#-  
      Whether to reload the XML configuration or not w7 @fiH{  
      是否加载xml配置(true,false) 3(0k!o0 "  
ze@NqCF  
struts.continuations.package (A|Gb2X  
      The package containing actions that use Rife continuations @KfFt R-;  
      含有actions的完整连续的package名称 D~E1hr&Vd>  
a|Io)Qhr  
struts.custom.i18n.resources eK PxSN Z  
      Location of additional localization properties files to load h,o/(GNnW  
      加载附加的国际化属性文件(不包含.properties后缀) j6]+ fo&3  
EnnT)qos  
struts.custom.properties YBqu7&  
      Location of additional configuration properties files to load bi;?)7p&ZY  
      加载附加的配置文件的位置 T[]2]K[&B  
{/#^v?,  
9JYrP6I!_  
struts.devMode [@fw9@_'  
      Whether Struts is in development mode or not 4wk-f7I(  
      是否为struts开发模式 GVhO}m  
3z';Zwz &X  
struts.dispatcher.parametersWorkaround +LuGjDn0  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic EhL 8rR  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ofH=h  
^m8T$^z>  
struts.enable.DynamicMethodInvocation :iqFC >D  
      Allows one to disable dynamic method invocation from the URL &7"a.&*9xX  
        允许动态方法调用 (N{Rda*8  
3omFd#EP  
struts.freemarker.manager.classname " uf*?m3  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class D!< [\ G  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [!H2i p-  
o!!";q%DX  
struts.i18n.encoding *5?a% p  
      The encoding to use for localization messages RZ 4xR  
      国际化信息内码 {G$I|<MD2T  
zO8`xrN!  
struts.i18n.reload mO<sw  
      Whether the localization messages should automatically be reloaded wTb7 xBI  
      是否国际化信息自动加载 Whp;wAz  
B7BXS*_b  
struts.locale zea=vx>`  
      The default locale for the Struts application A[)od   
      默认的国际化地区信息 K;moV| j  
[- C -+jC  
struts.mapper.class \i_y(;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class db#QA#^S  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]k~Vh[[  
NsDJ q{  
struts.multipart.maxSize ,S[,F0"%  
      The maximize size of a multipart request (file upload) j}$dYbf$  
      multipart请求信息的最大尺寸(文件上传用) x dDR/KS  
>fHg1d2-  
struts.multipart.parser &U q++f6  
      The org.apache.struts2.dispatcher.multipart. o_; pEe  
      MultiPartRequest parser implementation for a multipart request (file upload) J%}9"Q5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <q|IP_  
Q M7z .  
-wv5c  
struts.multipart.saveDir 7.g)_W{7}  
      The directory to use for storing uploaded files X{KWBk.1  
      设置存储上传文件的目录夹 ? g9mDe;k  
E)z[@Np  
struts.objectFactory %.^8&4$+  
      The com.opensymphony.xwork2.ObjectFactory implementation class =qPk'n9i8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Q-;ltJ  
EXn$ [K;  
struts.objectFactory.spring.autoWire bL*;6TzRK  
      Whether Spring should autoWire or not oEPO0O  
      是否自动绑定Spring at7|r\`?-  
N'hj  
struts.objectFactory.spring.useClassCache {g9?Eio^F^  
      Whether Spring should use its class cache or not AdBF$nn[  
      是否spring应该使用自身的cache kw)@[1U  
wXw pKm  
struts.objectTypeDeterminer iC- ?F cA  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5c6CH k`:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 GBOz,_pw  
$[9,1.?C  
struts.serve.static.browserCache c*MSd  
If static content served by the Struts filter should set browser caching header properties or not " a;z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 St/<\Y,wr  
{6MLbL{  
struts.serve.static /?X1>A:*  
      Whether the Struts filter should serve static content or not K|*Cka{  
      是否struts过滤器应该提供静态内容 9`{[J['V  
2}`Q9?  
struts.tag.altSyntax w6tb vhcmU  
      Whether to use the alterative syntax for the tags or not jRIjFn|~{Y  
      是否可以用替代的语法替代tags . 2_t/2  
 /;LteBoY  
struts.ui.templateDir k 1;,eB  
      The directory containing UI templates [?TQ!l}8A  
      UI templates的目录夹 )US|&> o8  
2{naSiaq  
struts.ui.theme 0_JbE  
      The default UI template theme 'TclH80  
      默认的UI template主题 }G n2%  
AU1P?lk  
struts.url.http.port #6{"c r6l  
      The HTTP port used by Struts URLs il^SGH  
      设置http端口 E.W7`zl  
tV2SX7N  
struts.url.https.port bh=d'9B@&J  
      The HTTPS port used by Struts URLs .UNh\R?r  
      设置https端口 t6 :;0[j  
{m5tgVi&  
struts.url.includeParams W"9iFj X  
      The default includeParams method to generate Struts URLs N{n}]Js1D-  
      在url中产生 默认的includeParams 6_/oVvd  
'>FJk`iI  
H8 yc<  
struts.velocity.configfile KLBV(`MS  
      The Velocity configuration file path -,j J{Y~  
      velocity配置文件路径 .XM3oIaW  
Mi'Q5m  
struts.velocity.contexts lh`inAt)"  
      List of Velocity context names A(AyLxB47*  
      velocity的context列表 n0:+D R  
 iqf+rBL  
$ hB;r  
struts.velocity.manager.classname 2 =tPxO')B  
      org.apache.struts2.views.velocity.VelocityManager implementation class #|^7{TN   
      org.apache.struts2.views.velocity.VelocityManager接口名 5r/QPJ<h  
6suB!XF;  
struts.velocity.toolboxlocation Bv"Fx* {W  
      The location of the Velocity toolbox WH :+HNl1d  
      velocity工具盒的位置 L;.6j*E*  
struts.xslt.nocache X70vDoW  
      Whether or not XSLT templates should not be cached ~h-G  
      是否XSLT模版应该被缓存 5n;|K]UW  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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