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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 XX;MoE~MM  
Kta7xtu  
struts.action.extension {Bm7'%i  
      The URL extension to use to determine if the request is meant for a Struts action &&er7_Q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j%@wQVxq  
tG}cmK~%  
struts.configuration 2j( ]Bt:  
      The org.apache.struts2.config.Configuration implementation class 'D<84|w:1  
        org.apache.struts2.config.Configuration接口名 X4dXO5\  
H6/C7  
struts.configuration.files b0ablVk  
      A list of configuration files automatically loaded by Struts  %3A~&  
      struts自动加载的一个配置文件列表 mb_~ "}A  
`(6g87h  
struts.configuration.xml.reload HDV$y=oHh  
      Whether to reload the XML configuration or not 0 $_0T  
      是否加载xml配置(true,false) W^Z#_{  
@A;Ouu(  
struts.continuations.package Bgy?k K2[  
      The package containing actions that use Rife continuations ,)](h+zl_6  
      含有actions的完整连续的package名称 'awZ-$#  
|JRaskd  
struts.custom.i18n.resources <$ oI  
      Location of additional localization properties files to load ( V^C7ix:  
      加载附加的国际化属性文件(不包含.properties后缀) b am*&E%0K  
Z9vJF.clO  
struts.custom.properties /\C5`>x  
      Location of additional configuration properties files to load ? > 7SZiC`  
      加载附加的配置文件的位置 R<AT}!mkR  
6i.!C5YX]  
`-QY<STTP9  
struts.devMode y4Fuh nb>  
      Whether Struts is in development mode or not [yf&]0  
      是否为struts开发模式 g?=|kp  
%}x$YD O  
struts.dispatcher.parametersWorkaround "2a&G3}t"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic AKkr )VgY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6l|,J`G  
byB ESyV!O  
struts.enable.DynamicMethodInvocation ZuIw4u(9  
      Allows one to disable dynamic method invocation from the URL R;2q=%  
        允许动态方法调用 /ig'p53jL  
iD-,C`  
struts.freemarker.manager.classname u iEAi  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class oGa8#>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 w +~,Mv\  
x8q3 Njr  
struts.i18n.encoding |r%lJmBB  
      The encoding to use for localization messages xHo iu$i6  
      国际化信息内码 $b=4_UroS  
s`E^1jC  
struts.i18n.reload u^NZsuak  
      Whether the localization messages should automatically be reloaded dOfEEqPI  
      是否国际化信息自动加载 &Y/Myh[P  
="=Aac#n`  
struts.locale vx&r  
      The default locale for the Struts application <~}# Q,9  
      默认的国际化地区信息 B^C!UWN>%X  
X5`#da  
struts.mapper.class 4EtP|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 13v#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S85}&\m&4  
~Vf+@_G8`  
struts.multipart.maxSize 1O{x9a5Z?O  
      The maximize size of a multipart request (file upload) 7g a|4j3%  
      multipart请求信息的最大尺寸(文件上传用) *4<Kz{NF  
_Boe"   
struts.multipart.parser Sy?O(BMo  
      The org.apache.struts2.dispatcher.multipart. +_h1JE_}D  
      MultiPartRequest parser implementation for a multipart request (file upload) qh<h|C]V  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _xVtB1@kLM  
1s@%q <  
Y::I_6[eV  
struts.multipart.saveDir 5\6S5JyIL  
      The directory to use for storing uploaded files ` e~nn  
      设置存储上传文件的目录夹 ]l.qp5eQ  
`NNr]__  
struts.objectFactory Mc #w:UH[  
      The com.opensymphony.xwork2.ObjectFactory implementation class .tny"a&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4?s ~S. %  
NrrnG]#p1  
struts.objectFactory.spring.autoWire paG^W&`;  
      Whether Spring should autoWire or not ?'L3B4  
      是否自动绑定Spring o;D[ F  
tnCGa%M  
struts.objectFactory.spring.useClassCache k25:H[   
      Whether Spring should use its class cache or not =eNh))]  
      是否spring应该使用自身的cache !gm;g}]szG  
>PD*)Uq&  
struts.objectTypeDeterminer yS)73s/MrY  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class V7\@g  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 B]xZ 4 Y  
'@epiF&  
struts.serve.static.browserCache J4 Tc q  
If static content served by the Struts filter should set browser caching header properties or not B9glPcy}SS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }hPFd  
$B3<"  
struts.serve.static |9X$@R  
      Whether the Struts filter should serve static content or not X$<s@_#1  
      是否struts过滤器应该提供静态内容 n M?mdb  
HpD<NVu  
struts.tag.altSyntax jhN]1t /\X  
      Whether to use the alterative syntax for the tags or not :@H&v%h(u  
      是否可以用替代的语法替代tags ",hPy[k  
5[py{Gq  
struts.ui.templateDir Qq.ht  
      The directory containing UI templates xpb,Nzwt^  
      UI templates的目录夹 v[O}~E7'  
k{ru< cf  
struts.ui.theme F/ODV=J-  
      The default UI template theme PqO PRf  
      默认的UI template主题 {"([p L  
IJ`%Zh{f  
struts.url.http.port G; *jL4  
      The HTTP port used by Struts URLs <+tSTc4>r  
      设置http端口 rh6gB]X]3:  
yG`J3++ S  
struts.url.https.port wePhH*nQ>  
      The HTTPS port used by Struts URLs 1JFCYJy  
      设置https端口 /2n-q_  
S?M'JoYy  
struts.url.includeParams C" W,  
      The default includeParams method to generate Struts URLs  )Uk!;b  
      在url中产生 默认的includeParams H:d@@/  
gC+PpY#2h  
d\_$Nb*  
struts.velocity.configfile z~S(OM@olJ  
      The Velocity configuration file path b85r=tm   
      velocity配置文件路径 zB?} {@  
mYy{G s7  
struts.velocity.contexts LL}|# %4d  
      List of Velocity context names r}1.=a  
      velocity的context列表 xxsax/h  
oVK3=m@ {  
S{qc1qj  
struts.velocity.manager.classname 1j9R^  
      org.apache.struts2.views.velocity.VelocityManager implementation class nI_43rG:Uf  
      org.apache.struts2.views.velocity.VelocityManager接口名 Ob+Rnfx37  
M$9?{8m  
struts.velocity.toolboxlocation m~#f L  
      The location of the Velocity toolbox IsC`r7  
      velocity工具盒的位置 +p%!G1Yz  
struts.xslt.nocache \x,q(npHi  
      Whether or not XSLT templates should not be cached {c;][>l  
      是否XSLT模版应该被缓存 r? w^#V  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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