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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Dequ'  
\fvm6$ rZ^  
struts.action.extension ^rY18?XC+:  
      The URL extension to use to determine if the request is meant for a Struts action OYmutq  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]70ZerQ~L  
&VCg`r-{~  
struts.configuration EK Q>hww8  
      The org.apache.struts2.config.Configuration implementation class )@tHS-Jf  
        org.apache.struts2.config.Configuration接口名 F]<2nb7  
y>T>  
struts.configuration.files IQd~` G  
      A list of configuration files automatically loaded by Struts Tgla_sMb  
      struts自动加载的一个配置文件列表 b8%TwYp  
{od@S l  
struts.configuration.xml.reload QWt3KW8)  
      Whether to reload the XML configuration or not pnL[FMc  
      是否加载xml配置(true,false) Ll#W:~  
jWvi% I qi  
struts.continuations.package xd"+ &YT  
      The package containing actions that use Rife continuations u2fp~.'P  
      含有actions的完整连续的package名称 L0{ [L  
)3 f\H  
struts.custom.i18n.resources q^ &r<i  
      Location of additional localization properties files to load "HH<5  M  
      加载附加的国际化属性文件(不包含.properties后缀) !`W0;0'Zg  
c|k(_#\B  
struts.custom.properties { +Wknm%  
      Location of additional configuration properties files to load oxI?7dy5  
      加载附加的配置文件的位置 $|[N3  
PAC=LQn&  
])?h ~  
struts.devMode w~=xO_%  
      Whether Struts is in development mode or not 1IT(5Mleb  
      是否为struts开发模式 7j#Ix$Ur  
bkpN`+c  
struts.dispatcher.parametersWorkaround !4Sd^"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic zITxJx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /Ah'KN|EN  
 #3RElI  
struts.enable.DynamicMethodInvocation (WY9EJ<s,  
      Allows one to disable dynamic method invocation from the URL v:w^$]4  
        允许动态方法调用 \;Q!}_ K  
UV{})T*s  
struts.freemarker.manager.classname ) jM-5}"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6iHY{WcDj  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .*W7Z8!e  
Cy5iEI#  
struts.i18n.encoding J!3;\  
      The encoding to use for localization messages hl)jE 06  
      国际化信息内码 XW^Pz (  
_[l&{,  
struts.i18n.reload i],~tT|P  
      Whether the localization messages should automatically be reloaded uz20pun4B  
      是否国际化信息自动加载 O@dK^o  
bTAY5\wB  
struts.locale ,C_MB1u  
      The default locale for the Struts application [ `_sH\  
      默认的国际化地区信息 w?M"`O(  
*Utx0Me  
struts.mapper.class 2FO<Z %Y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %503 <j  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 B T {cTj0W  
_~P &8  
struts.multipart.maxSize k$DRX) e  
      The maximize size of a multipart request (file upload) <QaUq `,  
      multipart请求信息的最大尺寸(文件上传用) mjk<FXW  
RjrQDh|((  
struts.multipart.parser ip*^eS^  
      The org.apache.struts2.dispatcher.multipart. 8$IUit h  
      MultiPartRequest parser implementation for a multipart request (file upload) Y~#F\v  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;'[?H0Jw'  
`JGW8 _  
%t74*cX  
struts.multipart.saveDir #~qza ETv,  
      The directory to use for storing uploaded files fwUF5Y  
      设置存储上传文件的目录夹 $DnR[V}rR!  
`/i/AZ{  
struts.objectFactory ^AXH}g  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1L?W+zMO  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 8A-*MU`+  
9.#")%_p  
struts.objectFactory.spring.autoWire J^PFhu  
      Whether Spring should autoWire or not  R; &k/v  
      是否自动绑定Spring _oefp*iWS  
7,uD7R_  
struts.objectFactory.spring.useClassCache *UG?I|l|I  
      Whether Spring should use its class cache or not lKqFuLHwF  
      是否spring应该使用自身的cache 4 &:|h  1  
?hURNlR_Q  
struts.objectTypeDeterminer *7L1SjZw  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class G"Ey%Q2K  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J?4dafkw  
+<B"g{dLuX  
struts.serve.static.browserCache 4((p?jb C  
If static content served by the Struts filter should set browser caching header properties or not {Dy,u%W?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BmYX8j]  
{CTJX2&  
struts.serve.static ^bdXzjf  
      Whether the Struts filter should serve static content or not N{M25ucAHl  
      是否struts过滤器应该提供静态内容 dAOJ: @y  
Kf,AnKkn'  
struts.tag.altSyntax ?T|0"|\"'  
      Whether to use the alterative syntax for the tags or not EyBTja(4  
      是否可以用替代的语法替代tags /{I-gjovy  
+ kF%>F]  
struts.ui.templateDir cw0uLMqr`  
      The directory containing UI templates DC_k0VBn  
      UI templates的目录夹 :TV`uUE  
LA/Qm/T  
struts.ui.theme QXy= |  
      The default UI template theme Wu8zK=Ve(  
      默认的UI template主题 fZnq5rTk"  
Jv]$@>#  
struts.url.http.port wqzpFPk(  
      The HTTP port used by Struts URLs ;W\?lGOs{  
      设置http端口 cveQ6 -`K  
G}}Lp~  
struts.url.https.port qHd7C3  
      The HTTPS port used by Struts URLs taO(\FOm  
      设置https端口 >S{8sN  
53bVhPGv  
struts.url.includeParams giesof  
      The default includeParams method to generate Struts URLs )vuIO(8F#  
      在url中产生 默认的includeParams $) qL=kR  
UDgX A  
u6MU @?  
struts.velocity.configfile (rBYE[@,  
      The Velocity configuration file path E9 @Sc>e  
      velocity配置文件路径 \uJ+~db=  
Fp]ErDan  
struts.velocity.contexts d%E*P4Ua  
      List of Velocity context names GR 1%(,  
      velocity的context列表 Cyo:Da  A  
:C={Z}t/F  
B9c gVTLj  
struts.velocity.manager.classname ~JS@$#  
      org.apache.struts2.views.velocity.VelocityManager implementation class E7/i_Xkk  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^^a%Lz)U  
xjrL@LO#  
struts.velocity.toolboxlocation 1/?K/gL  
      The location of the Velocity toolbox L{&Yh|}  
      velocity工具盒的位置 >>8{N)c5E  
struts.xslt.nocache ?<Mx*l  
      Whether or not XSLT templates should not be cached QDb8W*&<  
      是否XSLT模版应该被缓存 ?_T[]I'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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