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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %8 cFzyE*  
$K<jmEC@<  
struts.action.extension 7Yj\*N  
      The URL extension to use to determine if the request is meant for a Struts action "_'9KBd!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 J+?xfg  
L6$,<}l  
struts.configuration  =sG(l  
      The org.apache.struts2.config.Configuration implementation class xNxIqq<k  
        org.apache.struts2.config.Configuration接口名 \"Sqr(~_  
; @Gm@d  
struts.configuration.files @u6#Tvxy[  
      A list of configuration files automatically loaded by Struts 7-e)V{A`w  
      struts自动加载的一个配置文件列表 pS%,wjb&P  
>&?wo{b  
struts.configuration.xml.reload :Np&G4IM>  
      Whether to reload the XML configuration or not H3OH  
      是否加载xml配置(true,false) `! m+g0  
FG#E?G  
struts.continuations.package 7SAu">lIl  
      The package containing actions that use Rife continuations m/Yi;>I(  
      含有actions的完整连续的package名称 8Yq6I>@!  
8Qu].nKe  
struts.custom.i18n.resources WHAEB1c#Q  
      Location of additional localization properties files to load 7\{<AM?*  
      加载附加的国际化属性文件(不包含.properties后缀) <#|3z8N2  
x6Z$lhZ  
struts.custom.properties %q>gwq A  
      Location of additional configuration properties files to load {2Gp+&  
      加载附加的配置文件的位置 +~FH'DsT  
_,F wt  
F>*w)6 4~  
struts.devMode <\zb*e&vr  
      Whether Struts is in development mode or not , is .{ y  
      是否为struts开发模式 VdK-2O(.-  
o'Tqqrr  
struts.dispatcher.parametersWorkaround ` S85i*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mg >oB/,'Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) sFS_CyN!7  
&Vgjd>  
struts.enable.DynamicMethodInvocation  2 H^9Qd  
      Allows one to disable dynamic method invocation from the URL \UB<'~z6!  
        允许动态方法调用  XyhO d$)  
B)^]V<l(w  
struts.freemarker.manager.classname \mc~w4B[)3  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &5d>jEaB}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 H`@x5RjS   
miN(a; Q2P  
struts.i18n.encoding i@B5B2  
      The encoding to use for localization messages toIljca  
      国际化信息内码 Ii|<:BW  
}P}l4k1W  
struts.i18n.reload p3x(:=   
      Whether the localization messages should automatically be reloaded ?6j@EJ<2q  
      是否国际化信息自动加载 $g|g}>Sc  
QT%&vq  
struts.locale &]z2=\^e  
      The default locale for the Struts application W=)}=^N0  
      默认的国际化地区信息 m5d;lrk@&/  
~=c^ Oo:  
struts.mapper.class 9pjk3a  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class R~Xl(O  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 wp*;F#:G  
GB[W'QGiq  
struts.multipart.maxSize U}Hmzb  
      The maximize size of a multipart request (file upload) M>I}^Zp!  
      multipart请求信息的最大尺寸(文件上传用) 5jjJQ'  
>) S a#w;  
struts.multipart.parser ]Uxx_1$,  
      The org.apache.struts2.dispatcher.multipart. 23+GX&Rp  
      MultiPartRequest parser implementation for a multipart request (file upload) b|fq63ar;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) XTeU 2I  
>Xb]n_`  
* rs_k/2(  
struts.multipart.saveDir !4z"a@$  
      The directory to use for storing uploaded files Jge;/f!i  
      设置存储上传文件的目录夹 HVu_@[SYR3  
)0d3sJ8  
struts.objectFactory QL\'pW5  
      The com.opensymphony.xwork2.ObjectFactory implementation class }){hQt7  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  ;\iQZ~   
lXz<jt@5  
struts.objectFactory.spring.autoWire cIgFSwQ 4  
      Whether Spring should autoWire or not jJ?3z ,h  
      是否自动绑定Spring LQ{4r1,u]  
{ZfTUt)-P  
struts.objectFactory.spring.useClassCache <w,aS;v6jp  
      Whether Spring should use its class cache or not + qS$t  
      是否spring应该使用自身的cache $W0lz#s:  
_wHqfj)  
struts.objectTypeDeterminer 7CQ48LH]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class jliKMd<?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Tp0Tce/  
92} , A`=  
struts.serve.static.browserCache ZGp8$Y>r  
If static content served by the Struts filter should set browser caching header properties or not Y+G4:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ul% q6=f)  
TkQ05'Qc  
struts.serve.static 3cOXtDV YT  
      Whether the Struts filter should serve static content or not *YDx6\><  
      是否struts过滤器应该提供静态内容 a{u)~:/G  
w93yhV?  
struts.tag.altSyntax ].1R~7b  
      Whether to use the alterative syntax for the tags or not ^|gN?:fA}  
      是否可以用替代的语法替代tags 4s$))x9p  
da 2BQ;  
struts.ui.templateDir 52%.^/  
      The directory containing UI templates wPG3Ap8L  
      UI templates的目录夹 I.( 9{  
"+HZ~:~f  
struts.ui.theme K): )bL(B  
      The default UI template theme 7tt&/k?Q  
      默认的UI template主题 #D}NT*w/  
rP>5OLP  
struts.url.http.port ^Nc\D7( l  
      The HTTP port used by Struts URLs xwz2N5  
      设置http端口 &t6L8[#yd  
_ :][{W#  
struts.url.https.port `#l_`j=r$  
      The HTTPS port used by Struts URLs WRo#ZVt9$  
      设置https端口 ]*v%(IGK  
l5@k8tnz  
struts.url.includeParams q=6M3OnS>  
      The default includeParams method to generate Struts URLs ~w!<J-z)  
      在url中产生 默认的includeParams X#Hs{J~@p  
kszYbz"  
gWJLWL2  
struts.velocity.configfile ixU1v~T  
      The Velocity configuration file path -aec1+o  
      velocity配置文件路径 46$5f?Z  
& d~6MSk  
struts.velocity.contexts @s@r5uR9B  
      List of Velocity context names q|Ga   
      velocity的context列表 >B3_P4pW9  
xEZvCwsb  
6t@3 a?  
struts.velocity.manager.classname XfY]qQP  
      org.apache.struts2.views.velocity.VelocityManager implementation class Q4Cw{2r  
      org.apache.struts2.views.velocity.VelocityManager接口名 `VS/ Xyp  
30B! hj$C  
struts.velocity.toolboxlocation XLOk+Fn  
      The location of the Velocity toolbox 3:76x  
      velocity工具盒的位置 %3~jg  
struts.xslt.nocache N b+zP[C  
      Whether or not XSLT templates should not be cached :@n e29,}  
      是否XSLT模版应该被缓存 /)v X|qtIY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五