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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _g%,/y 9y  
8A: =#P^O\  
struts.action.extension :&J1#% t  
      The URL extension to use to determine if the request is meant for a Struts action -0>s`ruor  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ->)0jZax  
Jvr`9<`  
struts.configuration En{< OMg  
      The org.apache.struts2.config.Configuration implementation class 5 51p* B2  
        org.apache.struts2.config.Configuration接口名 Y*0j/91  
6kHuKxY,  
struts.configuration.files hxkwT  
      A list of configuration files automatically loaded by Struts ( 9(NP_s  
      struts自动加载的一个配置文件列表  :X 9_~  
md;jj^8zj  
struts.configuration.xml.reload Bk@&k}0  
      Whether to reload the XML configuration or not Np@RK1}  
      是否加载xml配置(true,false) ]ASTw(4  
?U3~rro!  
struts.continuations.package WZ N0`Od  
      The package containing actions that use Rife continuations <lP5}F87  
      含有actions的完整连续的package名称 ^_t7{z%sA[  
jIjW +D`  
struts.custom.i18n.resources wUKt$_]``  
      Location of additional localization properties files to load ;8g[y"I  
      加载附加的国际化属性文件(不包含.properties后缀) TJUYd9O4[  
PQXCT|iJ  
struts.custom.properties U*\ 1d  
      Location of additional configuration properties files to load Zp+orc7  
      加载附加的配置文件的位置 Cuc+9  
}BAe   
C 4K"eX,K  
struts.devMode V-ONC  
      Whether Struts is in development mode or not ;^ff35EE8  
      是否为struts开发模式 s&M#]8x;x  
r#(*x 2~,  
struts.dispatcher.parametersWorkaround :czUOZ_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,U.|+i{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <~  ?LU^  
4F,RlKHBl  
struts.enable.DynamicMethodInvocation ^%NjdZuDO  
      Allows one to disable dynamic method invocation from the URL [<.dOe7|  
        允许动态方法调用 8gJg7RxL  
z-m:l;  
struts.freemarker.manager.classname <;hy-Q()D  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }*c[} VLN  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ne# %Gr  
+HEL^  
struts.i18n.encoding ,'byJlw_pv  
      The encoding to use for localization messages zcOG[-  
      国际化信息内码 q OV$4[r  
VLC=>w\,  
struts.i18n.reload <x1,4a~  
      Whether the localization messages should automatically be reloaded >'v{o{k|C  
      是否国际化信息自动加载 "@L|Z6U(  
T1c& 3  
struts.locale GRAPv|u9[  
      The default locale for the Struts application -# /'^O +%  
      默认的国际化地区信息 : 2A\X' @  
~vKDB$2  
struts.mapper.class /;WFRp.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $?y\3GX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 uo3o[ H&#  
V Ku|=m2vB  
struts.multipart.maxSize USV;j%U4*  
      The maximize size of a multipart request (file upload) a 1~@m[  
      multipart请求信息的最大尺寸(文件上传用) b$Q#Fv&P  
__i))2  
struts.multipart.parser oT- Y  
      The org.apache.struts2.dispatcher.multipart. J:l%  
      MultiPartRequest parser implementation for a multipart request (file upload) IYe,VL  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) scyv]5Hm!  
! _?#f|  
6t'vzcQs  
struts.multipart.saveDir R]NCD*~  
      The directory to use for storing uploaded files KP CZiu7  
      设置存储上传文件的目录夹 &?^"m\K4J*  
M<ba+Qn$  
struts.objectFactory ?GGBDql  
      The com.opensymphony.xwork2.ObjectFactory implementation class .=@CF8ArG  
      com.opensymphony.xwork2.ObjectFactory接口(spring) &Y-jK<  
*a'I  
struts.objectFactory.spring.autoWire G!U `8R  
      Whether Spring should autoWire or not M<xF4L3]  
      是否自动绑定Spring L DdgI  
?zK\!r{  
struts.objectFactory.spring.useClassCache Z@bKYfGM  
      Whether Spring should use its class cache or not `86})xz{  
      是否spring应该使用自身的cache wj\kx\+  
\;0UP+  
struts.objectTypeDeterminer }T"&4Rvs2R  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8[x{]l[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s\.\z[1  
ms#|Y l1/|  
struts.serve.static.browserCache I]Vkaf I>(  
If static content served by the Struts filter should set browser caching header properties or not r^`~GG!,Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Z8o8>C\d9/  
8i^d*:R  
struts.serve.static .s>.O6(^%  
      Whether the Struts filter should serve static content or not uM2 .?>`X  
      是否struts过滤器应该提供静态内容  m5lTf  
P"r7m  
struts.tag.altSyntax AizLzR$OG  
      Whether to use the alterative syntax for the tags or not JxlZ,FF$@  
      是否可以用替代的语法替代tags lz(}N7SLa  
zZiga q"  
struts.ui.templateDir `FmRoMW9+  
      The directory containing UI templates T_oL/x_;  
      UI templates的目录夹 M! uE#|  
lGX8kAv?  
struts.ui.theme K*N8Vpz(  
      The default UI template theme [q~3$mjQ  
      默认的UI template主题 _aw49ag;  
oI x!?,1  
struts.url.http.port ]>,Lw=_[_  
      The HTTP port used by Struts URLs ,Ofou8C6  
      设置http端口 !$#8Z".{v{  
P.kf|,8 L  
struts.url.https.port `FAZAC\  
      The HTTPS port used by Struts URLs y>& s;  
      设置https端口 ]Mj N)%hT  
URMxCL^"  
struts.url.includeParams E]ZIm  
      The default includeParams method to generate Struts URLs kI,O9z7A7  
      在url中产生 默认的includeParams a4eE/1  
) -@Dh6F  
#g]eDU-[  
struts.velocity.configfile hv)d  
      The Velocity configuration file path mf\@vI  
      velocity配置文件路径 ZC9S0Z  
CFG(4IMx  
struts.velocity.contexts tTPjCl  
      List of Velocity context names 0|FQIhVuY  
      velocity的context列表 ._(5; PB"  
"*N]Y^6/A  
6Q NO#!;  
struts.velocity.manager.classname %=5m!"F  
      org.apache.struts2.views.velocity.VelocityManager implementation class EkEQFd 5g  
      org.apache.struts2.views.velocity.VelocityManager接口名 > 7 qZ\#  
p&ZLd`[  
struts.velocity.toolboxlocation  S=X_7V  
      The location of the Velocity toolbox yOyuMZo6  
      velocity工具盒的位置 Y |aaZ|+  
struts.xslt.nocache |],ocAN{  
      Whether or not XSLT templates should not be cached jiP^Hz"e  
      是否XSLT模版应该被缓存 %R?#Y1Tq;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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