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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 zCj]mH`es'  
B|gyr4]  
struts.action.extension v! uD]}  
      The URL extension to use to determine if the request is meant for a Struts action >}GtmnF  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 LHKawEZ  
wgpu]ooUF&  
struts.configuration phwk0J]2  
      The org.apache.struts2.config.Configuration implementation class T?:Vw laE  
        org.apache.struts2.config.Configuration接口名 6",1JH,;p  
bcC ;i~9  
struts.configuration.files `gfh]7T  
      A list of configuration files automatically loaded by Struts & ,2XrXiFu  
      struts自动加载的一个配置文件列表 6<.Ma7)lA  
>%x7-->IB  
struts.configuration.xml.reload ] 7_ f'M1F  
      Whether to reload the XML configuration or not g:`V:kbY$  
      是否加载xml配置(true,false) Wcl@ H @  
wqJ^tA!  
struts.continuations.package 4]u53`  
      The package containing actions that use Rife continuations NMM0'tY~  
      含有actions的完整连续的package名称 w0x, ~  
?V"X=B2  
struts.custom.i18n.resources <H`&Zqqk  
      Location of additional localization properties files to load xq- R5(k  
      加载附加的国际化属性文件(不包含.properties后缀) 1om:SHw  
i5w  
struts.custom.properties XLz>h(w=  
      Location of additional configuration properties files to load )t{?7wy  
      加载附加的配置文件的位置 F]@vmzr  
_5EM<Ux  
w4<1*u@${  
struts.devMode uj,YCJ8UZs  
      Whether Struts is in development mode or not *KN'0Z@W  
      是否为struts开发模式  v4=9T<[  
i]a 5cn  
struts.dispatcher.parametersWorkaround rg)>ZHx  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .Ebg>j:\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) s6%%/|  
5ycccMx0V  
struts.enable.DynamicMethodInvocation ,IF3VE&r  
      Allows one to disable dynamic method invocation from the URL 9^QiFgJy  
        允许动态方法调用 iyAeR!`  
9'faH  
struts.freemarker.manager.classname @v\Osp t=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e82SG8#]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (4o_\&  
Pqli3(  
struts.i18n.encoding URdCV{@42  
      The encoding to use for localization messages Lqq RuKi  
      国际化信息内码 ;D&FZ|`(u  
O@6iG  
struts.i18n.reload Pp3<K649  
      Whether the localization messages should automatically be reloaded *cz nokq6  
      是否国际化信息自动加载 +KgLe>-}  
k#NIY4%.  
struts.locale @{3$H^  
      The default locale for the Struts application  0eUK'   
      默认的国际化地区信息 =v]\{ .  
eG* <=.E  
struts.mapper.class <]xGd!x$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _>+!&_h  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 q@8Jc[\d  
=~6A c}$  
struts.multipart.maxSize 6^y*A!xY  
      The maximize size of a multipart request (file upload) xCGa3X  
      multipart请求信息的最大尺寸(文件上传用) j\k|5 ="w-  
W5PNp%+KE  
struts.multipart.parser AP5[}$TT  
      The org.apache.struts2.dispatcher.multipart. g|ewc'y  
      MultiPartRequest parser implementation for a multipart request (file upload) T1 >xw4uo  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?XN=Er^  
8'[g?  
`ECT8  
struts.multipart.saveDir ZmeSm& hQ_  
      The directory to use for storing uploaded files I ,8   
      设置存储上传文件的目录夹 hAX@|G.  
jL o(Uf  
struts.objectFactory kKL'rT6z  
      The com.opensymphony.xwork2.ObjectFactory implementation class yIy'"BCxM  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Lgp{  hK  
S^(OjS  
struts.objectFactory.spring.autoWire w#mnab@  
      Whether Spring should autoWire or not Q46^i7=  
      是否自动绑定Spring 'ol8lIa.P  
Ro3C(aRx  
struts.objectFactory.spring.useClassCache l\g>@b  
      Whether Spring should use its class cache or not G(gJt l  
      是否spring应该使用自身的cache UgI0 *PE2  
~SUrbRaY>  
struts.objectTypeDeterminer z#9Tg"8]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class EZnXS"z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C'$w*^me  
M|8vP53=q  
struts.serve.static.browserCache -i93  
If static content served by the Struts filter should set browser caching header properties or not 9/2VU< K  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 San3^uX  
-#@l`kt  
struts.serve.static S;@nPzhc  
      Whether the Struts filter should serve static content or not z5.Uv/n\1  
      是否struts过滤器应该提供静态内容 @A32|p}  
ov;1=M~RF  
struts.tag.altSyntax mD@*vq  
      Whether to use the alterative syntax for the tags or not r{\c. \  
      是否可以用替代的语法替代tags wT\JA4  
'kBg3E$y  
struts.ui.templateDir "3Y(uN  
      The directory containing UI templates wr);+.T9R  
      UI templates的目录夹 ]M3V]m  
$fifx>!  
struts.ui.theme 7p1f*N[X  
      The default UI template theme !UHWCJ< <w  
      默认的UI template主题 x -;tV=E}  
n vzk P{  
struts.url.http.port by}C;eN  
      The HTTP port used by Struts URLs EPeKg{w  
      设置http端口 ($QQuM=  
RZMR2fP%  
struts.url.https.port Iu" 7  
      The HTTPS port used by Struts URLs #BtJo:  
      设置https端口 -t#YL  
*G rYB6MT  
struts.url.includeParams V[DiN~H  
      The default includeParams method to generate Struts URLs OHRkhwF.  
      在url中产生 默认的includeParams d{/#A%.  
!ZxK+Xqx[  
}ejZk bP  
struts.velocity.configfile tKS'#y!R  
      The Velocity configuration file path F/%M`?m"ie  
      velocity配置文件路径 tuK2D,6  
jD}G9=[$1  
struts.velocity.contexts SG$V%z"e  
      List of Velocity context names m3T=x =  
      velocity的context列表 _c!$K#Yl{  
j!c~%hP  
r=}v` R&  
struts.velocity.manager.classname i,V,0{$  
      org.apache.struts2.views.velocity.VelocityManager implementation class #jj+/>ZOi  
      org.apache.struts2.views.velocity.VelocityManager接口名 `;j@v8n$*  
`\-<tk9  
struts.velocity.toolboxlocation 7l(GBr  
      The location of the Velocity toolbox njxfBA:  
      velocity工具盒的位置 9{*$[%d1  
struts.xslt.nocache ) kMF~S|H  
      Whether or not XSLT templates should not be cached 216=7O2F  
      是否XSLT模版应该被缓存 Wn%b}{9Fb  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八