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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &v^LxLt+s  
g2<xr;<t^  
struts.action.extension qeyBZ8BG  
      The URL extension to use to determine if the request is meant for a Struts action HEjrat;5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Wh)QCp0|n  
 ? h$>7|  
struts.configuration 7QlA/iKqK  
      The org.apache.struts2.config.Configuration implementation class 5!PU+9Kh  
        org.apache.struts2.config.Configuration接口名 m{bw(+r  
`"E|  
struts.configuration.files F_$K+6  
      A list of configuration files automatically loaded by Struts J8x>vC  
      struts自动加载的一个配置文件列表 >_y>["u6J#  
V}>0r+NL<  
struts.configuration.xml.reload "yI)F~A  
      Whether to reload the XML configuration or not '%>$\Lv  
      是否加载xml配置(true,false) Q b5AQf30  
`q 4%  
struts.continuations.package <o_H]c->  
      The package containing actions that use Rife continuations IdlW[h3`[  
      含有actions的完整连续的package名称 m3k}Q3&6Z  
\7}X^]UVx  
struts.custom.i18n.resources #isBE}sT{  
      Location of additional localization properties files to load * SG0-_S  
      加载附加的国际化属性文件(不包含.properties后缀) 10JxfDceD  
+x!V;H(  
struts.custom.properties u=I>DEe@ c  
      Location of additional configuration properties files to load or u.a   
      加载附加的配置文件的位置 ESZ6<!S  
b "4W` A  
g|PVOY+|^  
struts.devMode I hvL2 zB  
      Whether Struts is in development mode or not =^P<D&%q  
      是否为struts开发模式 j`\}xDg  
R0M(e@H~  
struts.dispatcher.parametersWorkaround mB$r>G/'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic eD*"#O)W  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ".qh]RVjV  
Nvs8t%  
struts.enable.DynamicMethodInvocation X.,1SYG[  
      Allows one to disable dynamic method invocation from the URL L!-@dz  
        允许动态方法调用 tLpDIA_8  
4 ~17s`+  
struts.freemarker.manager.classname e jwFQ'wTx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 67Ai.3dR  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 m?_S&/+*  
h]<Ld9  
struts.i18n.encoding ;b$(T5  
      The encoding to use for localization messages #nc{MR#R  
      国际化信息内码 & h9ji[  
n-dO |3,  
struts.i18n.reload //W<\  
      Whether the localization messages should automatically be reloaded (i7]N[  
      是否国际化信息自动加载 0 )#5_-%  
;h3uMUCml  
struts.locale nVoPTr  
      The default locale for the Struts application Jjz:-Uqq2  
      默认的国际化地区信息 +E QRNbA  
)L`0VTw'M  
struts.mapper.class c{j0A;XMS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class H~@E&qd  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 2-u>=r0L  
OFCOMM  
struts.multipart.maxSize `,&h!h((  
      The maximize size of a multipart request (file upload) gydPy*  
      multipart请求信息的最大尺寸(文件上传用) L&lNpMT  
i7}) VDsZ  
struts.multipart.parser !E> *Mn  
      The org.apache.struts2.dispatcher.multipart. ;y?,myO  
      MultiPartRequest parser implementation for a multipart request (file upload) jj#K[@u  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) i 4eb\j  
1P4jdp=~  
oa+Rr&t'  
struts.multipart.saveDir A%u-6"  
      The directory to use for storing uploaded files S 1|[}nYP  
      设置存储上传文件的目录夹 <?,o {  
*;O$=PE  
struts.objectFactory KLs%{'[7:  
      The com.opensymphony.xwork2.ObjectFactory implementation class VZJs@qx:Z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }}Eko7'^  
J(S.iTD  
struts.objectFactory.spring.autoWire CJ&0<Z}{m  
      Whether Spring should autoWire or not [,-MC7>]  
      是否自动绑定Spring gmWRw{nS+  
)2z (l-$.  
struts.objectFactory.spring.useClassCache VVvV]rU~  
      Whether Spring should use its class cache or not L!DP*XDp  
      是否spring应该使用自身的cache ?DkMzR)u  
eQno]$-\  
struts.objectTypeDeterminer H__9%p#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~d 7!)c`z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [X=-x=S,  
w:& m_z#M  
struts.serve.static.browserCache |qJQWmJO&U  
If static content served by the Struts filter should set browser caching header properties or not cxrUk$f  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3t(nV4uDF  
./)A6O*#  
struts.serve.static %? _pSH}$!  
      Whether the Struts filter should serve static content or not JMw1qPJQ  
      是否struts过滤器应该提供静态内容 S[{#AX=0  
Tul_/`An  
struts.tag.altSyntax |~CN]N  
      Whether to use the alterative syntax for the tags or not ;58l_ue  
      是否可以用替代的语法替代tags  s6 w</  
RT8xU;   
struts.ui.templateDir yEy} PCJ&  
      The directory containing UI templates Sq}hx  
      UI templates的目录夹 rFSLTbTf  
&2MW.,e7s  
struts.ui.theme @P4fR7  
      The default UI template theme s"#JBw\7  
      默认的UI template主题  ~Jrtm7  
qvy~b  
struts.url.http.port Jiyt,D*wX  
      The HTTP port used by Struts URLs tI0d!8K  
      设置http端口 XZYpU\K  
<UOx>=h  
struts.url.https.port +!6aB|-  
      The HTTPS port used by Struts URLs v*SSc5gFG  
      设置https端口 wN\%b}pp  
9"Oz-!Y4  
struts.url.includeParams @r]wZ~@  
      The default includeParams method to generate Struts URLs 1Y:lFGoe  
      在url中产生 默认的includeParams Kv^ez%I  
W+-a@)sh3Q  
=T;>$&qs  
struts.velocity.configfile q(4W /y  
      The Velocity configuration file path `mXbF  
      velocity配置文件路径 u[q1]]   
="<5+G  
struts.velocity.contexts wYQTG*&h  
      List of Velocity context names i_Dv+^&zV  
      velocity的context列表 +e?mKLw14  
+ntrp='7O7  
~N2){0 j4  
struts.velocity.manager.classname ^-?5=\`5  
      org.apache.struts2.views.velocity.VelocityManager implementation class GO{o #}  
      org.apache.struts2.views.velocity.VelocityManager接口名 WJbdsPs  
.V G$`g"  
struts.velocity.toolboxlocation qR^KvAEQSo  
      The location of the Velocity toolbox Y?W"@awE"\  
      velocity工具盒的位置 gKy@$at&  
struts.xslt.nocache @FVan  
      Whether or not XSLT templates should not be cached Bf33%I~  
      是否XSLT模版应该被缓存 gDE',)3Q,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五