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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 hi*\5(uH  
"[BuQ0(g  
struts.action.extension Kv{i_%j   
      The URL extension to use to determine if the request is meant for a Struts action w \i#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 9@Cqg5Kx'  
-1:yqF.x  
struts.configuration FoInJ(PDH  
      The org.apache.struts2.config.Configuration implementation class 1}QU\N(t  
        org.apache.struts2.config.Configuration接口名 1 ;4TA}'H  
bMxzJRrNg  
struts.configuration.files B+*F?k[  
      A list of configuration files automatically loaded by Struts 8D;>]>  
      struts自动加载的一个配置文件列表 c+_F nA  
g Uy >I(  
struts.configuration.xml.reload +[V?3Gdb  
      Whether to reload the XML configuration or not xQm!  
      是否加载xml配置(true,false) Tr(w~et  
3E+u)f lmB  
struts.continuations.package :p=IZY  
      The package containing actions that use Rife continuations |B;:Ald  
      含有actions的完整连续的package名称 <S6|$7{1  
(YGJw?]  
struts.custom.i18n.resources `V$i*{c:#  
      Location of additional localization properties files to load FlrLXTx0  
      加载附加的国际化属性文件(不包含.properties后缀) Yr ,e7da  
g&\A1H  
struts.custom.properties Z[FSy-;"  
      Location of additional configuration properties files to load 3O:Z;YP:<  
      加载附加的配置文件的位置 v5;c} n  
)<UNiC   
c9=;:E  
struts.devMode 7-'!XD!  
      Whether Struts is in development mode or not b9%hzD,MR  
      是否为struts开发模式 =eDVgOZ)  
/V2Ih  
struts.dispatcher.parametersWorkaround 2Af1-z^^K  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -$QzbRF5R  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?r'rvu'/  
H`9E_[  
struts.enable.DynamicMethodInvocation Wepa;  
      Allows one to disable dynamic method invocation from the URL E/Q[J.$o  
        允许动态方法调用 mKvk6OC  
-Z-|49I/mN  
struts.freemarker.manager.classname vc^qpOk  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =BMON{K  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]pzf{8%  
f*0[[J0]  
struts.i18n.encoding :;#^h]Q  
      The encoding to use for localization messages KWLI7fTgj$  
      国际化信息内码 Pn[-{nz  
T5=3 jPQ  
struts.i18n.reload @v2_gjRe  
      Whether the localization messages should automatically be reloaded X<OwB-N  
      是否国际化信息自动加载 lOCMKaCD  
`&LPqb  
struts.locale l <Tkg9  
      The default locale for the Struts application Z0`Bn5  
      默认的国际化地区信息 ^GD"aerNr  
sPyq.oG  
struts.mapper.class _Qt  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class VWj]X7v  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 &j<B22t!  
,j:`yB]4,  
struts.multipart.maxSize ==RYf*d  
      The maximize size of a multipart request (file upload) ~dkS-6q~Q  
      multipart请求信息的最大尺寸(文件上传用) Z]@my,+Z;  
ey_3ah3x  
struts.multipart.parser ,ZHIXylZ  
      The org.apache.struts2.dispatcher.multipart. 7YV}F9h4  
      MultiPartRequest parser implementation for a multipart request (file upload) 2TXrVaM  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Nz'fMdaX,  
pi*cO  
pV9$Vg?-H  
struts.multipart.saveDir `+CRUdr  
      The directory to use for storing uploaded files B36_ OH  
      设置存储上传文件的目录夹 bg'Qq|<U  
bE74Ui  
struts.objectFactory 8doKB<#_+=  
      The com.opensymphony.xwork2.ObjectFactory implementation class 08n2TL;EsX  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~Y7>P$G)  
^":UkPFCx:  
struts.objectFactory.spring.autoWire c$Z3P%aP'V  
      Whether Spring should autoWire or not Sb+^~M  
      是否自动绑定Spring &xo_93  
W4%I%&j  
struts.objectFactory.spring.useClassCache 5/F1|N4  
      Whether Spring should use its class cache or not @SjISZw_  
      是否spring应该使用自身的cache zR_ "  
s!:'3[7+  
struts.objectTypeDeterminer ><V<}&:y$(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $M5iU@A  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M+j V`J!  
j^;f {0f  
struts.serve.static.browserCache oCg|* c|+  
If static content served by the Struts filter should set browser caching header properties or not Y``50{7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 xAbx.\  
uD0T()J.P5  
struts.serve.static e{EKM4  
      Whether the Struts filter should serve static content or not w j !YYBH  
      是否struts过滤器应该提供静态内容 >x9@ if  
lD)ZMaaS3  
struts.tag.altSyntax `d2 r5*<  
      Whether to use the alterative syntax for the tags or not %CV@FdB  
      是否可以用替代的语法替代tags "4NcszEN  
@{P<!x <Q  
struts.ui.templateDir T1%_sq  
      The directory containing UI templates "yJFb=Xdq  
      UI templates的目录夹 L1ro\H  
|L[/]@|  
struts.ui.theme {k*rD!tT  
      The default UI template theme akATwSrU  
      默认的UI template主题 i=T!4'Zu  
:%7y6V*  
struts.url.http.port T&+*dyNxMK  
      The HTTP port used by Struts URLs +txFdc  
      设置http端口 2n+tc  
UR?biq  
struts.url.https.port ;l`us  
      The HTTPS port used by Struts URLs 6C k 3tCr  
      设置https端口 %;/?DQU  
 PgI H(  
struts.url.includeParams Iz^h| n  
      The default includeParams method to generate Struts URLs ~8:q-m_h  
      在url中产生 默认的includeParams dD YD6  
!xcLJ5^W  
Oxsx\f_  
struts.velocity.configfile _}+Aw{7!r  
      The Velocity configuration file path D=1:-aLP7  
      velocity配置文件路径 ~/^q>z!\4  
VJbsM1y M  
struts.velocity.contexts Yw=7(}  
      List of Velocity context names c||EXFS}O  
      velocity的context列表 g?B4b7II  
qJ(XW N H  
c(Ws3  
struts.velocity.manager.classname ?, B4  
      org.apache.struts2.views.velocity.VelocityManager implementation class FxU a5 n  
      org.apache.struts2.views.velocity.VelocityManager接口名 Fi)(~ji:  
+a3H1 tt~  
struts.velocity.toolboxlocation jKr\mb  
      The location of the Velocity toolbox rf?%- X(V  
      velocity工具盒的位置 T,@s.v  
struts.xslt.nocache *I]/ [d  
      Whether or not XSLT templates should not be cached Xna58KF/  
      是否XSLT模版应该被缓存 g$f+X~Q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五