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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $9`#p/V  
HV~Fe!J_  
struts.action.extension T`E0_ZU;  
      The URL extension to use to determine if the request is meant for a Struts action 4k225~GQ:C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4 . 7X*1  
Wq4<9D  
struts.configuration n<C] 6H  
      The org.apache.struts2.config.Configuration implementation class  |,$&jSe  
        org.apache.struts2.config.Configuration接口名 v.|#^A?Qx  
EIRDH'[L  
struts.configuration.files yUnV%@.  
      A list of configuration files automatically loaded by Struts osXEzr(  
      struts自动加载的一个配置文件列表 %&6Q Uv^  
vclc%ws  
struts.configuration.xml.reload KA?}o^-F  
      Whether to reload the XML configuration or not m54>}  
      是否加载xml配置(true,false)  v%:deaF  
3 2z4G =l  
struts.continuations.package 94w)Yln  
      The package containing actions that use Rife continuations NF&Sv  
      含有actions的完整连续的package名称 $eFMn$o  
I D_4M_G  
struts.custom.i18n.resources WK6,K92  
      Location of additional localization properties files to load O.+J%],  
      加载附加的国际化属性文件(不包含.properties后缀) ye.6tlW  
5!?5S$>  
struts.custom.properties 7su2A>Ix  
      Location of additional configuration properties files to load K%dQ; C*?  
      加载附加的配置文件的位置 DO(};R%=  
{d.z/Buu  
A&M_ J  
struts.devMode %j\&}>P4$  
      Whether Struts is in development mode or not &\ 9%;k  
      是否为struts开发模式  4v`/~a  
!MKecRG_  
struts.dispatcher.parametersWorkaround ?SNacN@r  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ` Tap0V  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ye3o}G9z  
)7& -DI1  
struts.enable.DynamicMethodInvocation `-{l$Hn9|~  
      Allows one to disable dynamic method invocation from the URL -W9DH^EL<  
        允许动态方法调用 b1?^9c#0d  
(c[u_~ ;  
struts.freemarker.manager.classname rC!O}(4t%$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AAQ!8!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 S=,czs3N  
S a +Y/  
struts.i18n.encoding ~6;I"0b5  
      The encoding to use for localization messages m FTuqujO  
      国际化信息内码 bN/8 ~!  
B{)#A?Rh.  
struts.i18n.reload 8|zavH#P  
      Whether the localization messages should automatically be reloaded q~}oU5  
      是否国际化信息自动加载 JH\:9B+:L  
i?!9%U!z4  
struts.locale ,y]-z8J  
      The default locale for the Struts application p/ (Z2N"  
      默认的国际化地区信息 a_c(7bQ  
[e` | <  
struts.mapper.class "|X'qKS(H{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6]iU-k0b  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 BSMb(EnqX  
[ iTP:8  
struts.multipart.maxSize =Q<VU/  
      The maximize size of a multipart request (file upload) G{[w+ObX  
      multipart请求信息的最大尺寸(文件上传用) ]t)N3n6Bc  
c ?CD;Pk  
struts.multipart.parser *1EmK.-'u  
      The org.apache.struts2.dispatcher.multipart. |^-D&C(Eu  
      MultiPartRequest parser implementation for a multipart request (file upload) hM]Z T5;<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b3%x&H<j  
/ ]8e[t>!f  
^mq(j_E.  
struts.multipart.saveDir  lPZ>#  
      The directory to use for storing uploaded files 0 8)f  
      设置存储上传文件的目录夹 <<LLEdB  
_+48(Q F<  
struts.objectFactory "BT M,CB  
      The com.opensymphony.xwork2.ObjectFactory implementation class %JBLp xnq  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {LjzkXs  
#8h7C8]&  
struts.objectFactory.spring.autoWire <5G(Y#s/?  
      Whether Spring should autoWire or not [TA.|7&  
      是否自动绑定Spring ;-`NT` #2  
?'~u)O(n  
struts.objectFactory.spring.useClassCache </;e$fh`  
      Whether Spring should use its class cache or not eHvUgDt  
      是否spring应该使用自身的cache MxpAh<u!vF  
_OG9wi(Fpx  
struts.objectTypeDeterminer %!t9)pNc  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *KNfPh#wi}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /4(HVua  
J\@g3oGw  
struts.serve.static.browserCache 9_wDh0b~p  
If static content served by the Struts filter should set browser caching header properties or not a_!H_J  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,iYhD-"'  
8TpYt)]S  
struts.serve.static 2z{B  
      Whether the Struts filter should serve static content or not Jw5@#j  
      是否struts过滤器应该提供静态内容 m Z +dr[  
JYWoQ[ZO#>  
struts.tag.altSyntax HTQTDbhV^  
      Whether to use the alterative syntax for the tags or not zwC ,,U  
      是否可以用替代的语法替代tags  [{2v}  
^Lb\k|U ,\  
struts.ui.templateDir 4v>SXch  
      The directory containing UI templates 564L.^$@|  
      UI templates的目录夹 n@tt.n!{l  
! $mY.uu  
struts.ui.theme m19\H  
      The default UI template theme aPlEM_escS  
      默认的UI template主题 Y7+c/co  
Gjeb)Y6N  
struts.url.http.port aHC%:)ww:  
      The HTTP port used by Struts URLs A-1K TD  
      设置http端口 MOh&1]2j5  
4G:~|N.{p  
struts.url.https.port vcj(=\ e8v  
      The HTTPS port used by Struts URLs P !f{U;B  
      设置https端口 G9-ETj}  
i/*)1;xsk  
struts.url.includeParams G^ k8Or2  
      The default includeParams method to generate Struts URLs ##''d||u  
      在url中产生 默认的includeParams s@$0!8sxm  
]8wm1_qV  
xO:h[  
struts.velocity.configfile jMBM qQNU  
      The Velocity configuration file path } Ifa5Lq)  
      velocity配置文件路径 F|6"-*[RS  
OcMB)1uh\  
struts.velocity.contexts |WS@q'  
      List of Velocity context names j~Fd8]@  
      velocity的context列表 0kCo0{+n  
@ NDcO,]  
5Q%)|(U'  
struts.velocity.manager.classname 3pML+Y|ij  
      org.apache.struts2.views.velocity.VelocityManager implementation class %S"z9@  
      org.apache.struts2.views.velocity.VelocityManager接口名 uSYI X  
JE{ cZ<NNH  
struts.velocity.toolboxlocation Ga9iPv  
      The location of the Velocity toolbox z[ ;n2o|s  
      velocity工具盒的位置 q&[G^9  
struts.xslt.nocache HfH+U&  
      Whether or not XSLT templates should not be cached ^L.I9a#]  
      是否XSLT模版应该被缓存 L"vk ^>E6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八