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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Z! /!4(Fh  
*]7$/%.D  
struts.action.extension bpr  
      The URL extension to use to determine if the request is meant for a Struts action vvTQ!Aa  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OV"uIY[%8V  
$fzO:br5WJ  
struts.configuration Daw;6f:  
      The org.apache.struts2.config.Configuration implementation class @QN(ouqQ  
        org.apache.struts2.config.Configuration接口名 A_y]6~Mu?~  
Nv~H797B  
struts.configuration.files $_ BoG  
      A list of configuration files automatically loaded by Struts FI(iqSJ6  
      struts自动加载的一个配置文件列表 d3[O!4<T  
>=6 j:  
struts.configuration.xml.reload <Jf[N=  
      Whether to reload the XML configuration or not |3bCq(ZR\P  
      是否加载xml配置(true,false) s3/iG37K  
*=2sXH1j  
struts.continuations.package Uh w:XV@m  
      The package containing actions that use Rife continuations f`gs/R  
      含有actions的完整连续的package名称 'vX:)ZDi  
/q^\g4J  
struts.custom.i18n.resources ~pC\"LU`  
      Location of additional localization properties files to load JK/gq}c  
      加载附加的国际化属性文件(不包含.properties后缀) ; u@& [  
t@;r~S b  
struts.custom.properties 5r)]o'? s  
      Location of additional configuration properties files to load TwI'}J|w  
      加载附加的配置文件的位置 n^t!+  
D}MCVNd^  
Hrg~<-.La  
struts.devMode S;8gX1Uf  
      Whether Struts is in development mode or not W]CsKN,K  
      是否为struts开发模式 ~Z>!SMXp<  
(-[73v-w  
struts.dispatcher.parametersWorkaround 4Zn"K}q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic tkX?iqKQ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) obz|*1M?  
ubQbEv{(,  
struts.enable.DynamicMethodInvocation _C%:AFPP>  
      Allows one to disable dynamic method invocation from the URL c+:XaDS-  
        允许动态方法调用 )ppIO"\  
ls@j8bVv^  
struts.freemarker.manager.classname PB(q9gf"1}  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class BY5ODc$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \Q!I;  
&cSZ?0R  
struts.i18n.encoding YApm)O={  
      The encoding to use for localization messages 69? wZfj'  
      国际化信息内码 y2o~~te  
A-&XgOL  
struts.i18n.reload v,d bto0  
      Whether the localization messages should automatically be reloaded @OGHS}-\  
      是否国际化信息自动加载 y,xJ5BI$  
!de`K |  
struts.locale Rn_FYP  
      The default locale for the Struts application BW x=Q  
      默认的国际化地区信息 Js'j}w  
tJvs ?eZ)  
struts.mapper.class #/0d  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O>3f*Cc  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 M-V{(  
KK';ho,W  
struts.multipart.maxSize O63:t$Yx#  
      The maximize size of a multipart request (file upload) };;k5z I%  
      multipart请求信息的最大尺寸(文件上传用) ms{iQ:'9  
P^57a?[`  
struts.multipart.parser ' 4.T1i,  
      The org.apache.struts2.dispatcher.multipart. f 0r?cZ  
      MultiPartRequest parser implementation for a multipart request (file upload) w(oi6kg  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) })y B2Q0  
U}R (  
V0G"Z6  
struts.multipart.saveDir +GvPJI  
      The directory to use for storing uploaded files x(+H1D\W   
      设置存储上传文件的目录夹 XI\P#"  
>e^^YR^  
struts.objectFactory 'w8p[h (,  
      The com.opensymphony.xwork2.ObjectFactory implementation class OsV'&@+G>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Y[rRz6.*(  
FaLc*CU  
struts.objectFactory.spring.autoWire s4[PwD  
      Whether Spring should autoWire or not A&S n^mw  
      是否自动绑定Spring vLs*}+f  
c->.eL%   
struts.objectFactory.spring.useClassCache /^sk y!  
      Whether Spring should use its class cache or not rHp2I6.0a  
      是否spring应该使用自身的cache A4daIhP (  
Dnp><%  
struts.objectTypeDeterminer )dfwYS*[n  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K"jS,a?s 6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 P$zhMnAAN  
hf\/2Vl  
struts.serve.static.browserCache uE,g|51H/  
If static content served by the Struts filter should set browser caching header properties or not tF:AqR: (~  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 w_P2\B^  
`hf`lq^  
struts.serve.static (>SucUU  
      Whether the Struts filter should serve static content or not O?t49=uB}  
      是否struts过滤器应该提供静态内容 -<l2 $&KS  
Wi@YJ  
struts.tag.altSyntax oV'G67W  
      Whether to use the alterative syntax for the tags or not I+/fX0-Lib  
      是否可以用替代的语法替代tags JqV}>"WMV  
fb8)jd'~}O  
struts.ui.templateDir !;Vqs/E  
      The directory containing UI templates Ez / W$U  
      UI templates的目录夹 MNf^ml[  
1G8,Eah  
struts.ui.theme %J8uVD.2  
      The default UI template theme Ip |=NQL>  
      默认的UI template主题 :n,x?bM  
?|Ey WAL  
struts.url.http.port v Q51-.g  
      The HTTP port used by Struts URLs BB imP  
      设置http端口 /s@j{*Om  
E?FUr?-[  
struts.url.https.port 8GeJ%^0o}  
      The HTTPS port used by Struts URLs @rS(3wu_&  
      设置https端口 9v/=o`J#  
)|6OPR@(#/  
struts.url.includeParams H.< F6  
      The default includeParams method to generate Struts URLs @RHG@{x{K  
      在url中产生 默认的includeParams b(\Mi_J  
`R*SHy! _  
^p~QHS/  
struts.velocity.configfile i`5Skr:M  
      The Velocity configuration file path &Qmb?{S0  
      velocity配置文件路径 tYp 185  
u\(>a  
struts.velocity.contexts Gkm {b[  
      List of Velocity context names W~FU!C?]  
      velocity的context列表 *|ef#-|D  
T037|k a{  
ioUO 0  
struts.velocity.manager.classname 8@/MrEOW#  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0),fY(D2T  
      org.apache.struts2.views.velocity.VelocityManager接口名 DWS#q|j`"  
&88c@Ksn  
struts.velocity.toolboxlocation 2U3e!V  
      The location of the Velocity toolbox C]&/k_k  
      velocity工具盒的位置 ?)H:.]7-x  
struts.xslt.nocache Sd/7#  
      Whether or not XSLT templates should not be cached 85USMPF  
      是否XSLT模版应该被缓存 *D67&/g.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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