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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 JMpjiB,A}  
x9~d_>'A  
struts.action.extension  s6 w</  
      The URL extension to use to determine if the request is meant for a Struts action Z6X?M&-Lz  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;p/RS#  
G1vWHa7n;f  
struts.configuration 91r#lDR  
      The org.apache.struts2.config.Configuration implementation class R|ViLty  
        org.apache.struts2.config.Configuration接口名 Tv3Bej  
F>)u<f,C  
struts.configuration.files 93[c^sc9*a  
      A list of configuration files automatically loaded by Struts v$w!hYsQ  
      struts自动加载的一个配置文件列表 s<xD$K~rM  
Wj/.rG&tE  
struts.configuration.xml.reload ;4Y@xS2M  
      Whether to reload the XML configuration or not }f<.07  
      是否加载xml配置(true,false) "N"9PTX  
]0zXpMNI  
struts.continuations.package ?z171X0  
      The package containing actions that use Rife continuations GNqw]@'Yf  
      含有actions的完整连续的package名称 ~9p*zC3M  
Ytc  
struts.custom.i18n.resources D&/(Avx.  
      Location of additional localization properties files to load ^~0\d;l_  
      加载附加的国际化属性文件(不包含.properties后缀) v1QE|@  
fnG&29x  
struts.custom.properties I7nt<l!  
      Location of additional configuration properties files to load b"t!nfgo  
      加载附加的配置文件的位置 ~a4htj  
sYiegX`1c  
}?^5\otu  
struts.devMode R>To L  
      Whether Struts is in development mode or not jtV{Lf3<  
      是否为struts开发模式 j>+x|!k  
+T+f``RcK  
struts.dispatcher.parametersWorkaround =E8lpN'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g9H~\w  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) vdYd~>w  
{%'(IJ|5z  
struts.enable.DynamicMethodInvocation ]YQlCx`  
      Allows one to disable dynamic method invocation from the URL r Ka7[/  
        允许动态方法调用 i))S%!/r~  
cV_nYcLkz  
struts.freemarker.manager.classname C#`eN{%.YT  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class uR|Jn)/m(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y{B|*[xM  
@ O5-w  
struts.i18n.encoding G7DEavtr  
      The encoding to use for localization messages .ZFs+8qU>  
      国际化信息内码 n@mWB UM  
}>=k!l{  
struts.i18n.reload 3205gI,  
      Whether the localization messages should automatically be reloaded K~5QL/=1  
      是否国际化信息自动加载 p}hOkx4R\  
3aQWzEnh  
struts.locale :t8(w>oW  
      The default locale for the Struts application =M>1;Qr<Z/  
      默认的国际化地区信息 D%N^iJC,9  
=2BGS\$#  
struts.mapper.class j#"?Oe{_1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class t(-noy)  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 GN /]^{D  
YBN@{P$  
struts.multipart.maxSize   _p\  
      The maximize size of a multipart request (file upload) qg vg MWj  
      multipart请求信息的最大尺寸(文件上传用) L@2T  
}a,j1r_Hl&  
struts.multipart.parser ce\]o^4  
      The org.apache.struts2.dispatcher.multipart. p3`'i  
      MultiPartRequest parser implementation for a multipart request (file upload) P}KN*Hn.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5vj;lJKcd`  
 57Q^ "sl  
TggM/ @k  
struts.multipart.saveDir IExo#\0'6  
      The directory to use for storing uploaded files SEq_37  
      设置存储上传文件的目录夹 -~~"}u  
-tAdA2?G  
struts.objectFactory mVg-z~44T  
      The com.opensymphony.xwork2.ObjectFactory implementation class <LIL{g0eX  
      com.opensymphony.xwork2.ObjectFactory接口(spring) UJ 1iXV[h"  
hW$B;  
struts.objectFactory.spring.autoWire V~tq _  
      Whether Spring should autoWire or not 1hw1AJ}(F  
      是否自动绑定Spring aB;syl{  
Q>] iRx>MZ  
struts.objectFactory.spring.useClassCache {1;j1|CI  
      Whether Spring should use its class cache or not .i>; ?(GH  
      是否spring应该使用自身的cache dkt'~  
Mf Dna>,Y  
struts.objectTypeDeterminer w,cfSF;=tC  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .8S6;xnkC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 NOLw119K  
im_WTZz2P  
struts.serve.static.browserCache Jiyt,D*wX  
If static content served by the Struts filter should set browser caching header properties or not m{  .'55  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  iUJqAi1o  
 jhjb)r.  
struts.serve.static <[ />M  
      Whether the Struts filter should serve static content or not NK2Kw{c"iI  
      是否struts过滤器应该提供静态内容  AC@WhL  
97lM*7h;  
struts.tag.altSyntax 9"Oz-!Y4  
      Whether to use the alterative syntax for the tags or not Xp@8 vu  
      是否可以用替代的语法替代tags f^z~{|%l!  
fhw.A5Ck  
struts.ui.templateDir T&c0j(  
      The directory containing UI templates YQ9@Dk0R  
      UI templates的目录夹 N=^{FZ  
Kq e,p{=  
struts.ui.theme w?)v#]<-  
      The default UI template theme ~s{yh-B  
      默认的UI template主题 wYQTG*&h  
i_Dv+^&zV  
struts.url.http.port +e?mKLw14  
      The HTTP port used by Struts URLs +ntrp='7O7  
      设置http端口 SQhk)S  
jX}}^XwX  
struts.url.https.port 7 ^7Rk  
      The HTTPS port used by Struts URLs -Zx hh  
      设置https端口 sVtx h]  
?muI8b  
struts.url.includeParams Y?W"@awE"\  
      The default includeParams method to generate Struts URLs >Y=HP&A<  
      在url中产生 默认的includeParams fmyyQ|]O"  
NSH20$A<  
WBD e`  
struts.velocity.configfile F4'g}y OLd  
      The Velocity configuration file path :9un6A9JS  
      velocity配置文件路径 =<mpZ'9gW  
^HYmi\`  
struts.velocity.contexts -6a4H?L  
      List of Velocity context names k~f3~-"  
      velocity的context列表 u=NpL^6s<  
v$c*3H.seM  
:U)>um34e  
struts.velocity.manager.classname EV{kd.=f  
      org.apache.struts2.views.velocity.VelocityManager implementation class PkA_uDhw  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,0 +%ji^V  
pwo5Ij,~q  
struts.velocity.toolboxlocation Q WVH4rg  
      The location of the Velocity toolbox V#8]io  
      velocity工具盒的位置 EOJk7  
struts.xslt.nocache E +\?|q !T  
      Whether or not XSLT templates should not be cached w{uq y]  
      是否XSLT模版应该被缓存 *lHI\5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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