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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4zJ9bF4  
^h^j:!76j  
struts.action.extension K# _plpr  
      The URL extension to use to determine if the request is meant for a Struts action RD{jYr;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pA+Qb.z5z  
,A[HYc|uy  
struts.configuration Oo rH  
      The org.apache.struts2.config.Configuration implementation class YwB 5Zqr  
        org.apache.struts2.config.Configuration接口名 E%H,Hk^  
w<\N-J|m  
struts.configuration.files 1D=My1B  
      A list of configuration files automatically loaded by Struts Y$oBsg\v  
      struts自动加载的一个配置文件列表 eUF PzioW  
oY+RG|j@  
struts.configuration.xml.reload 2S!=2u+7  
      Whether to reload the XML configuration or not \f /<#'  
      是否加载xml配置(true,false) K{q(/>:  
Br-y`s~cP  
struts.continuations.package ^9cqT2:t  
      The package containing actions that use Rife continuations !X[lNt O  
      含有actions的完整连续的package名称 v oC< /}E  
'y'>0'et  
struts.custom.i18n.resources wx<5*8zP  
      Location of additional localization properties files to load Ge(r6"%7  
      加载附加的国际化属性文件(不包含.properties后缀) z^Oiwzo  
b!7"drge:  
struts.custom.properties J )@x:,o  
      Location of additional configuration properties files to load ]*):2%f  
      加载附加的配置文件的位置 4I{|M,+  
'e{e>>03  
RsTpjY*Xb  
struts.devMode 9;h 1;9sC|  
      Whether Struts is in development mode or not 8MW|CM4Q  
      是否为struts开发模式 S&.DpsK  
g*Cs /w  
struts.dispatcher.parametersWorkaround n6|}^O7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]!0*k#i_.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xA&G91|s  
{/#?n["  
struts.enable.DynamicMethodInvocation .>CqZN,^  
      Allows one to disable dynamic method invocation from the URL ;'=!Fv  
        允许动态方法调用 $XT&8%|*7  
/\#qz.c2K  
struts.freemarker.manager.classname W-Hw%bwN/q  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .HGEddcC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 o^DiIo or  
Zu~ #d)l3N  
struts.i18n.encoding U R@'J@V#:  
      The encoding to use for localization messages (qB$I\  
      国际化信息内码 $lV0TCgba8  
N15{7 ,   
struts.i18n.reload \Sm.]=b r  
      Whether the localization messages should automatically be reloaded w="I*7c@  
      是否国际化信息自动加载 tYmWze. j  
O-  r"G  
struts.locale of{wZU\J+9  
      The default locale for the Struts application 6PJ0iten  
      默认的国际化地区信息 `' 6]Z*  
??1V__w  
struts.mapper.class <M+ZlF-`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O a-Z eCq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $:mCyP<y  
^dqyX(  
struts.multipart.maxSize WOgbz&S?J  
      The maximize size of a multipart request (file upload) A "S})  
      multipart请求信息的最大尺寸(文件上传用) 6aMqU?-  
eJJvEvZ,  
struts.multipart.parser S=M$g#X`5  
      The org.apache.struts2.dispatcher.multipart. Ce`{M&NSWX  
      MultiPartRequest parser implementation for a multipart request (file upload) B8B^@   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9>%f99n  
!;iySRZr  
ULQ*cW&;?  
struts.multipart.saveDir `wk#5[Y_  
      The directory to use for storing uploaded files 5 QMu=/  
      设置存储上传文件的目录夹 q] ,&$d^@  
Y.Gr(]tk  
struts.objectFactory WERK JA  
      The com.opensymphony.xwork2.ObjectFactory implementation class vco:6Ab$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Ng+k{vAj  
?~u"w OH'  
struts.objectFactory.spring.autoWire =@{H7z(p&  
      Whether Spring should autoWire or not Ibpk\a?A{  
      是否自动绑定Spring JH<q7Y6!y  
E!3W_:Bs  
struts.objectFactory.spring.useClassCache c%i/ '<Afr  
      Whether Spring should use its class cache or not a.c2ScXG  
      是否spring应该使用自身的cache N}\$i&Vi  
yuKfhg7  
struts.objectTypeDeterminer o.Q |%&1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ::adT=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &\c$s  
d!w32Y,.  
struts.serve.static.browserCache )t @OHSl  
If static content served by the Struts filter should set browser caching header properties or not Cw Z{&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !;fkc0&!  
u4+)lvt  
struts.serve.static OL=IUg"  
      Whether the Struts filter should serve static content or not 6RzTSb  
      是否struts过滤器应该提供静态内容 m,*t}j0 7  
8+gSn  
struts.tag.altSyntax o+6Y/6Xp@  
      Whether to use the alterative syntax for the tags or not #4d 0/28b  
      是否可以用替代的语法替代tags G 7zfyw}W  
F"a,[i,[W  
struts.ui.templateDir tTQ>pg1{qh  
      The directory containing UI templates zif()i   
      UI templates的目录夹 QE-t v00  
q(a6@6f"kD  
struts.ui.theme 8kO|t!?:U  
      The default UI template theme 5/neV&VcB  
      默认的UI template主题 2R|2yAh  
-FE5sW  
struts.url.http.port HHg=:>L z  
      The HTTP port used by Struts URLs e2/[`k=7-  
      设置http端口 S }fIZ1  
,uDB ]  
struts.url.https.port E%/E%9-7\  
      The HTTPS port used by Struts URLs sowkxw.^Q  
      设置https端口 3MkF  
))306*X\  
struts.url.includeParams @GjWeOj]  
      The default includeParams method to generate Struts URLs  ) VJ|  
      在url中产生 默认的includeParams Yckl,g_  
p?6w/n  
P#76ehR]K  
struts.velocity.configfile Lo9+#ITyx  
      The Velocity configuration file path W;Fcp  
      velocity配置文件路径 \kC/)d  
CUY2eQJ{U  
struts.velocity.contexts ~e'FPVDn  
      List of Velocity context names tPFV6n i  
      velocity的context列表 0 ,Bd,<3  
TLO-$>h  
6VCw>x  
struts.velocity.manager.classname okr'=iDg  
      org.apache.struts2.views.velocity.VelocityManager implementation class E-Cj^#OY|N  
      org.apache.struts2.views.velocity.VelocityManager接口名 >&Bg F*mm  
%Z.>)R4  
struts.velocity.toolboxlocation H:p(C?tk{  
      The location of the Velocity toolbox 2nOQ48ha T  
      velocity工具盒的位置 u9k##a4.E  
struts.xslt.nocache |V:k8Ab  
      Whether or not XSLT templates should not be cached X~n Kuo  
      是否XSLT模版应该被缓存 [,G]#<G?q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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