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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 mP[ZlS~"  
O'[r,|Q{  
struts.action.extension Mv\]uAT`  
      The URL extension to use to determine if the request is meant for a Struts action *aaK_=w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &r0U9J  
M>g%wg7Ah  
struts.configuration i8|0zI  
      The org.apache.struts2.config.Configuration implementation class bTepTWv  
        org.apache.struts2.config.Configuration接口名 _y5J]Yu`j  
 O3~7  
struts.configuration.files @T@lHc  
      A list of configuration files automatically loaded by Struts f{+n$ Cos  
      struts自动加载的一个配置文件列表 ~U$ioQy<  
wT@{=s,  
struts.configuration.xml.reload }>$3B5}  
      Whether to reload the XML configuration or not :&`,T.N.vK  
      是否加载xml配置(true,false) u%b.#!  
PSREQK@}E  
struts.continuations.package gEISnMH  
      The package containing actions that use Rife continuations Bm4fdf#A]  
      含有actions的完整连续的package名称 ;5!M+nk  
U#>K(  
struts.custom.i18n.resources 'Hv=\p4$1  
      Location of additional localization properties files to load :TkR]bhm  
      加载附加的国际化属性文件(不包含.properties后缀) y^[?F>wB  
wzf%~ats  
struts.custom.properties L<W2a(  
      Location of additional configuration properties files to load &<oJw TC  
      加载附加的配置文件的位置 n =qu?xu  
|!hN!j*)  
+ C'<*  
struts.devMode %Rm`+  
      Whether Struts is in development mode or not !cNw 8"SIU  
      是否为struts开发模式 1)v]<Ga~%1  
]o2jS D  
struts.dispatcher.parametersWorkaround 5-2#H?:U  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic MN<uIqG  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Wi<g  
Yc p<N>)  
struts.enable.DynamicMethodInvocation P TMJ.;  
      Allows one to disable dynamic method invocation from the URL s ~>0<3{5  
        允许动态方法调用 ul^VGW>i  
#M@Ki1  
struts.freemarker.manager.classname KybrSa  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class G3${\'<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 hF`Qs  
K'U8ft*_  
struts.i18n.encoding 2}0S%R(  
      The encoding to use for localization messages MHPh!  
      国际化信息内码 hp3 <HUU  
hOj(*7__  
struts.i18n.reload d:3OC&  
      Whether the localization messages should automatically be reloaded t .-%@,s  
      是否国际化信息自动加载 .!Q*VTW  
=g{Hs1W  
struts.locale y134m  
      The default locale for the Struts application wq:"/2p1  
      默认的国际化地区信息 [ ~:wS@%  
O)%s_/UX  
struts.mapper.class =O?? W8u  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class X|4_}b> x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 vM?jm! nd  
"1z#6vw5a  
struts.multipart.maxSize [ XBVES8  
      The maximize size of a multipart request (file upload) Lhmb= @  
      multipart请求信息的最大尺寸(文件上传用) h[>Puoz  
?.Lq`~T`  
struts.multipart.parser }s@vN8C  
      The org.apache.struts2.dispatcher.multipart. sh)[|?7z  
      MultiPartRequest parser implementation for a multipart request (file upload) k] iyx  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) oef]  
3A!Qu$r9  
TrR=3_;.7  
struts.multipart.saveDir O#n=mJ  
      The directory to use for storing uploaded files dM)x|b3z  
      设置存储上传文件的目录夹 _fjHa6S  
^8V8,C)  
struts.objectFactory ~%!"!Z4  
      The com.opensymphony.xwork2.ObjectFactory implementation class   |Sr  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ('1]f?:M  
cI (}  
struts.objectFactory.spring.autoWire Wxa</n8S[n  
      Whether Spring should autoWire or not Nq"J[l*+g  
      是否自动绑定Spring -)9aY.  
0mR^%+~  
struts.objectFactory.spring.useClassCache cP^c}e*;NS  
      Whether Spring should use its class cache or not 9}$'q$0R]  
      是否spring应该使用自身的cache M$Ow*!DfP  
.f-s+J&ED  
struts.objectTypeDeterminer 89P'WFOFK  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E~ +g6YlT  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J0FJ@@  
L XHDX  
struts.serve.static.browserCache h@jk3J9^  
If static content served by the Struts filter should set browser caching header properties or not 7bYN  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 l?O%yf`s  
)7  M  
struts.serve.static q{uv?{I  
      Whether the Struts filter should serve static content or not ;( [^+_/  
      是否struts过滤器应该提供静态内容 a[ yyEgm2  
/|p6NK;8L  
struts.tag.altSyntax -Ra-Ux  
      Whether to use the alterative syntax for the tags or not /3j3'~0  
      是否可以用替代的语法替代tags s[Whg!2~  
j2s{rQQ  
struts.ui.templateDir eOZ"kw"uHu  
      The directory containing UI templates  _j2q  
      UI templates的目录夹 #'8'5b  
,m[#<}xXA  
struts.ui.theme j7yUya&  
      The default UI template theme Bmv5yc+;  
      默认的UI template主题 |h-e+Wh1  
6kHuKxY,  
struts.url.http.port hxkwT  
      The HTTP port used by Struts URLs ~; vt{pk  
      设置http端口 IVso/!   
Q(jIqY1Hf  
struts.url.https.port :aR_f`KMm  
      The HTTPS port used by Struts URLs k-I U}|Xz  
      设置https端口 -=GmI1:=$4  
u9j1>QU  
struts.url.includeParams 4P?R "Lk  
      The default includeParams method to generate Struts URLs YQ`88 z  
      在url中产生 默认的includeParams r<!/!}fE,  
~F[JupU  
hVW1l&s  
struts.velocity.configfile B3W2?5p  
      The Velocity configuration file path \kP1Jr  
      velocity配置文件路径 G;AJBs>Y}  
;N^4R$Q.  
struts.velocity.contexts o?5;l`.L}  
      List of Velocity context names g 9AA)Ykp  
      velocity的context列表 B4{F)Zb  
9`cj9zz7  
C:p`  
struts.velocity.manager.classname h@@q:I=  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~\u~>mtchu  
      org.apache.struts2.views.velocity.VelocityManager接口名 9#1Jie$  
juB/?'$~  
struts.velocity.toolboxlocation tN0?  
      The location of the Velocity toolbox :'Tq5kE  
      velocity工具盒的位置 Dop,_94G  
struts.xslt.nocache 5`)[FCQ  
      Whether or not XSLT templates should not be cached <q:2' 4o  
      是否XSLT模版应该被缓存 8TCbEPS@Q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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