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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 On9A U:\  
`ts$(u.w  
struts.action.extension PR#exm&  
      The URL extension to use to determine if the request is meant for a Struts action nv|NQ Tk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7rc0yB  
&[?\k>  
struts.configuration 'CM|@Zz%  
      The org.apache.struts2.config.Configuration implementation class Tztu}t]N  
        org.apache.struts2.config.Configuration接口名 [ )Iv^ U9  
Hw}Xbp[y  
struts.configuration.files ?jv/TBZX4  
      A list of configuration files automatically loaded by Struts @zW]2 c  
      struts自动加载的一个配置文件列表 K7_UP&`=J  
BU/"rv"(Fg  
struts.configuration.xml.reload P^ ~yzI  
      Whether to reload the XML configuration or not %} SrL*  
      是否加载xml配置(true,false) > PRFWO  
;#W2|'HD  
struts.continuations.package -">;-3,K  
      The package containing actions that use Rife continuations u5`u>.!  
      含有actions的完整连续的package名称 e:DCej^z  
oM>l#><nq  
struts.custom.i18n.resources ~ D j8 z+^  
      Location of additional localization properties files to load 'urafE4M  
      加载附加的国际化属性文件(不包含.properties后缀) l`lk-nb  
{T$9?`h~M  
struts.custom.properties Cgk<pky1  
      Location of additional configuration properties files to load y@S$^jk.  
      加载附加的配置文件的位置 3)<yod=  
A4x]Qh3OO  
*SJ_z(CZm  
struts.devMode {#vgtgBB  
      Whether Struts is in development mode or not >C>.\  
      是否为struts开发模式 ? =Z?6fw  
C`hU]  
struts.dispatcher.parametersWorkaround @1roe G  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic pK>N-/?a  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) XJ;57n-?  
?=sDM& '  
struts.enable.DynamicMethodInvocation J/y83@  
      Allows one to disable dynamic method invocation from the URL @Md/Q~>  
        允许动态方法调用 yLvDMPj  
iHM%iUV  
struts.freemarker.manager.classname hn G Z=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e'NJnPO  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 me$Z~/Akm  
gD @){Ip  
struts.i18n.encoding  JYI,N  
      The encoding to use for localization messages {UI+$/v#  
      国际化信息内码 y%cP1y)  
xef% d G.  
struts.i18n.reload g wRZ%.Cn  
      Whether the localization messages should automatically be reloaded reu*53r]  
      是否国际化信息自动加载 Q~ w|#  
0 1rK8jX  
struts.locale Q->sV$^=T  
      The default locale for the Struts application i>`%TW:g  
      默认的国际化地区信息 7;(`MIFXs  
^}=,g  
struts.mapper.class ~Fcm[eoC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !c Hum  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 k(nW#*N_  
dFB]~QEK  
struts.multipart.maxSize GR_-9}jQP  
      The maximize size of a multipart request (file upload) (mpNcOY<D  
      multipart请求信息的最大尺寸(文件上传用) z43M] P<  
m=:9+z  
struts.multipart.parser 'o2Fa_|<#  
      The org.apache.struts2.dispatcher.multipart. Dw.J2>uj  
      MultiPartRequest parser implementation for a multipart request (file upload) m+[Ux{$  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) c7k~S-nU  
H/ HMm{4  
C ;W"wBz9  
struts.multipart.saveDir IHac:=*Q  
      The directory to use for storing uploaded files rglXs  
      设置存储上传文件的目录夹 gPI ?C76  
K($Npuu]  
struts.objectFactory (y~TL*B  
      The com.opensymphony.xwork2.ObjectFactory implementation class r#p9x[f<Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *L^,|   
{%H'z$|{  
struts.objectFactory.spring.autoWire BX7kO0j  
      Whether Spring should autoWire or not Cl7xt}I  
      是否自动绑定Spring A?P_DA  
6%_nZvRv  
struts.objectFactory.spring.useClassCache UB@+c k  
      Whether Spring should use its class cache or not .t!x<B  
      是否spring应该使用自身的cache +I|vzz`ZVr  
KkbDW3-  
struts.objectTypeDeterminer 7Ovi{xd@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class hL{KRRf>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \r+ a GB  
[RhO$c$[\  
struts.serve.static.browserCache ea 'D td  
If static content served by the Struts filter should set browser caching header properties or not ?+@?Up0wGO  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !l8PDjAE  
L#sMSVC+  
struts.serve.static Wd:uV  
      Whether the Struts filter should serve static content or not 0S!K{xyR  
      是否struts过滤器应该提供静态内容 k?^z;Tlvw  
$%#!bV  
struts.tag.altSyntax q>+k@>bk @  
      Whether to use the alterative syntax for the tags or not @q7I4  
      是否可以用替代的语法替代tags S4z;7z(8+  
?N9uu4  
struts.ui.templateDir YU'E@t5  
      The directory containing UI templates 3F2w-+L  
      UI templates的目录夹 @# l= l  
?CPahU  
struts.ui.theme d\8l`Krs[_  
      The default UI template theme !pX>!&sb  
      默认的UI template主题  x'<X!gw  
3XV/Fb}!(i  
struts.url.http.port )3EY;  
      The HTTP port used by Struts URLs 0aB;p7~&  
      设置http端口 mCVFS=8V  
/y}xX  
struts.url.https.port 2E'UZ m  
      The HTTPS port used by Struts URLs !%c\N8<>GD  
      设置https端口 )jP1or  
fuySN!s  
struts.url.includeParams 2c*GuF9(0  
      The default includeParams method to generate Struts URLs BRiE&GzrF  
      在url中产生 默认的includeParams `X&gE,Ii  
/a4{?? #e  
4|DWOQ':  
struts.velocity.configfile (O3nL.  
      The Velocity configuration file path 2P0*NQ   
      velocity配置文件路径 F={a;Dvrn  
UP,c|  
struts.velocity.contexts /PIcqg  
      List of Velocity context names }o`76rDN  
      velocity的context列表 (f"4,b^]  
yY q,*<G  
[{,1=AB  
struts.velocity.manager.classname SO!8Di  
      org.apache.struts2.views.velocity.VelocityManager implementation class T_4/C2  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,k3FRes3  
ISvpQ 3{)s  
struts.velocity.toolboxlocation S<Xf>-8w  
      The location of the Velocity toolbox 4^:=xL  
      velocity工具盒的位置 "4{r6[dn  
struts.xslt.nocache g}c~:p  
      Whether or not XSLT templates should not be cached k{-Cwo  
      是否XSLT模版应该被缓存 vEJbA  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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