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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;)bF#@Q  
g)zn.]  
struts.action.extension ys"mP* wD  
      The URL extension to use to determine if the request is meant for a Struts action $'I$n  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 41f m}  
(VF4FC  
struts.configuration V~gUMu4ot  
      The org.apache.struts2.config.Configuration implementation class ZF11v(n  
        org.apache.struts2.config.Configuration接口名 H(*=9  
\qK}(xq[  
struts.configuration.files ovBd%wJ 0  
      A list of configuration files automatically loaded by Struts KWuj_.;  
      struts自动加载的一个配置文件列表 l2KxZteXY0  
g`f6gxc  
struts.configuration.xml.reload =ty@xHr  
      Whether to reload the XML configuration or not O ]4 x;`)  
      是否加载xml配置(true,false) :R_#'i  
{ P\8g8  
struts.continuations.package >i#_)th"U!  
      The package containing actions that use Rife continuations '%|20 j  
      含有actions的完整连续的package名称 KohQ6q  
5yN8%_)T  
struts.custom.i18n.resources eABdy e  
      Location of additional localization properties files to load Xy(SzJ %  
      加载附加的国际化属性文件(不包含.properties后缀) D*2p  
 pmpn^ZR  
struts.custom.properties s R0e&Y  
      Location of additional configuration properties files to load \ ]e w@C  
      加载附加的配置文件的位置 /j5- "<;.  
u Z39Vx  
owS@dbO  
struts.devMode C,e$g  
      Whether Struts is in development mode or not }rAN2D]"}  
      是否为struts开发模式 ,+5VeRyrV  
#+DmH  
struts.dispatcher.parametersWorkaround R.WsC bU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FOnA;5Aa  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) N\?Az668?  
Nz;*;BQK:  
struts.enable.DynamicMethodInvocation r7BH{>-  
      Allows one to disable dynamic method invocation from the URL ?}>Z_ ("  
        允许动态方法调用 lO[jf6gB  
,knI26Jh  
struts.freemarker.manager.classname a.*j8T  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CR8r|+(8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \oZUG  
oB}G^t  
struts.i18n.encoding Rb>RjHo S  
      The encoding to use for localization messages %JH_Nw.P  
      国际化信息内码 sN` o_q{Q  
X]^E:'E!  
struts.i18n.reload >b"z`{tE  
      Whether the localization messages should automatically be reloaded {O,M}0Eg  
      是否国际化信息自动加载  F3r  
lp%.n= '\  
struts.locale :g:h 0'G  
      The default locale for the Struts application Pge}xKT  
      默认的国际化地区信息 2P> za\  
 rOf  
struts.mapper.class YH+\rb_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gm\o>YclS  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X\)KVn`  
Y>!W&Gtu  
struts.multipart.maxSize 6!D  
      The maximize size of a multipart request (file upload) oHFDg?Z`  
      multipart请求信息的最大尺寸(文件上传用) 58ZiCvqv  
i}{Q\#=#  
struts.multipart.parser W[Ew6)1T  
      The org.apache.struts2.dispatcher.multipart. AT'$VCYC(  
      MultiPartRequest parser implementation for a multipart request (file upload) +jZg%$Q!#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6rCP]YnF  
7Mg7B  
(<~ R[sT|  
struts.multipart.saveDir >oaEG5%d  
      The directory to use for storing uploaded files L<>NL$CrN  
      设置存储上传文件的目录夹 NHVx!Kc  
] Sx= y<  
struts.objectFactory |DS@90}  
      The com.opensymphony.xwork2.ObjectFactory implementation class yNf=Kl  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  p:>?  
+=04X F:  
struts.objectFactory.spring.autoWire ITY!=>S-  
      Whether Spring should autoWire or not Hh=::Bi  
      是否自动绑定Spring 4O"kOEkKT>  
>{) #|pWU  
struts.objectFactory.spring.useClassCache Z/UVKJm>:  
      Whether Spring should use its class cache or not |a:VpM  
      是否spring应该使用自身的cache ){|Lh(  
UNLNY,P/!)  
struts.objectTypeDeterminer N}<U[nh'  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .wOLi Ms  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 JkDZl?x5  
Wk#-LkI  
struts.serve.static.browserCache tSLl'XeN  
If static content served by the Struts filter should set browser caching header properties or not ~vZzKRVS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 u,9U0ua@;  
v7u}nx  
struts.serve.static hg/&[/eodm  
      Whether the Struts filter should serve static content or not mqc Z3lsv  
      是否struts过滤器应该提供静态内容 3Ty{8oUs^  
]p.f*]  
struts.tag.altSyntax NGZ>:  
      Whether to use the alterative syntax for the tags or not "/h"Xg>q  
      是否可以用替代的语法替代tags 1gK3= Ys  
!fjU?_[S  
struts.ui.templateDir A;HKR4p;8  
      The directory containing UI templates h#;K9#x6  
      UI templates的目录夹 Jl9TMu!1]  
_rh.z_a7w  
struts.ui.theme aT1 W] i  
      The default UI template theme BFu9KS+@)  
      默认的UI template主题 a8P 6-)W  
CP#MNNvgrw  
struts.url.http.port R*#Q=_  
      The HTTP port used by Struts URLs T>o# *{q n  
      设置http端口 W/X;|m`  
U>jk`?zW  
struts.url.https.port 3;gtuqwD$  
      The HTTPS port used by Struts URLs ~}ZX^l&k{P  
      设置https端口 1h0ohW  
Ybg`Z  
struts.url.includeParams 6_><W"r:]  
      The default includeParams method to generate Struts URLs (pNng"/  
      在url中产生 默认的includeParams CrQ& -!Eh  
`g1~ya(MC  
{oeQK   
struts.velocity.configfile Nn\\}R  
      The Velocity configuration file path u`nn{C4D"  
      velocity配置文件路径 Zul32]1r  
7B :aJfxM  
struts.velocity.contexts L%Hm# eFx  
      List of Velocity context names ?q&mI*j!  
      velocity的context列表 ,"R_ve  
~[,TLg 6  
J0plQDe  
struts.velocity.manager.classname \{mJO>x  
      org.apache.struts2.views.velocity.VelocityManager implementation class R7b*(33  
      org.apache.struts2.views.velocity.VelocityManager接口名 f|E'eFrFk  
+JVfnTd  
struts.velocity.toolboxlocation {<BK@U  
      The location of the Velocity toolbox ,gD i)]  
      velocity工具盒的位置 oABPGyv  
struts.xslt.nocache o`Brr:  
      Whether or not XSLT templates should not be cached !+l, m8Hly  
      是否XSLT模版应该被缓存 TC}u[kM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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