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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *f?z$46  
BDeX5/`U#  
struts.action.extension 9 NO^ '  
      The URL extension to use to determine if the request is meant for a Struts action !w!}`|q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qOusO6  
h|MTE~   
struts.configuration lDQ'  
      The org.apache.struts2.config.Configuration implementation class Zw)*+> +FV  
        org.apache.struts2.config.Configuration接口名 T.fmEl  
FuiEy=+  
struts.configuration.files Qe&K  
      A list of configuration files automatically loaded by Struts scff WqEo  
      struts自动加载的一个配置文件列表 4TBK:Vm5  
{G+pI2^  
struts.configuration.xml.reload O%g%*9  
      Whether to reload the XML configuration or not X/ \5j   
      是否加载xml配置(true,false) g `)5g5  
lE8M.ho\  
struts.continuations.package 0{8^)apII  
      The package containing actions that use Rife continuations AF=9KWqf  
      含有actions的完整连续的package名称 3N'fHy  
2f%G`4/p  
struts.custom.i18n.resources 6%p$C oR  
      Location of additional localization properties files to load ^&AhW m7\  
      加载附加的国际化属性文件(不包含.properties后缀) wc3OOyP@0  
HOn,c@.9Y  
struts.custom.properties C/JeD-JG  
      Location of additional configuration properties files to load S~8w-lG!  
      加载附加的配置文件的位置 &?],uHB?d  
$/*6tsR  
Tr^Egw]  
struts.devMode T[z]~MJL  
      Whether Struts is in development mode or not ;>eD`Wh  
      是否为struts开发模式 Myl!tXawe8  
6hE. i x  
struts.dispatcher.parametersWorkaround =1JS6~CTLN  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _?vh#6F  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "!9hcv- ;  
Gj~1eS  
struts.enable.DynamicMethodInvocation $#cZJ@;]  
      Allows one to disable dynamic method invocation from the URL /D]V3|@E  
        允许动态方法调用 b.`<T "y  
d$3;o&VUNI  
struts.freemarker.manager.classname e b])=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .H M1c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y: ~A-_  
%{fa . >6  
struts.i18n.encoding G2bZl% ,D  
      The encoding to use for localization messages +>em !~3  
      国际化信息内码 :QndeUw  
GTj=R$%09  
struts.i18n.reload <K~> :4c  
      Whether the localization messages should automatically be reloaded 9>t  
      是否国际化信息自动加载 9@Iz:!oqb  
')d&:K*M  
struts.locale NF}QQwG3  
      The default locale for the Struts application SWAggW)  
      默认的国际化地区信息 -+'fn$  
YL)epi^  
struts.mapper.class F-\Swbx+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *h<= (Y%   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 J3]!<v=  
>@NH Al  
struts.multipart.maxSize uhyw?#f  
      The maximize size of a multipart request (file upload) 0 !D,74r  
      multipart请求信息的最大尺寸(文件上传用) L[]*vj   
v^Eg ,&(  
struts.multipart.parser jRswGMx  
      The org.apache.struts2.dispatcher.multipart. &C~R*  
      MultiPartRequest parser implementation for a multipart request (file upload) 9`"o,wGX3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) tQSj[Yl  
Qy)+YhE  
Xq3n7d.  
struts.multipart.saveDir =!axQ[)A  
      The directory to use for storing uploaded files thoAEG80  
      设置存储上传文件的目录夹 ")/TbT Vu  
TZ`@pDi  
struts.objectFactory egBjr?  
      The com.opensymphony.xwork2.ObjectFactory implementation class Qz T>h  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $Hx00 ho  
*%G$[=  
struts.objectFactory.spring.autoWire }(g`l)OX  
      Whether Spring should autoWire or not 1g_(xwUp+  
      是否自动绑定Spring 6sRe. ct<  
wq|~[+y  
struts.objectFactory.spring.useClassCache RL|13CG OP  
      Whether Spring should use its class cache or not O*hd@2hd  
      是否spring应该使用自身的cache S?X2MX  
T;cyU9  
struts.objectTypeDeterminer y8Q96zi  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =h?Q.vad  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 49)A.Bh&!  
@%4MFc0`!  
struts.serve.static.browserCache jpL' y1@Ut  
If static content served by the Struts filter should set browser caching header properties or not Q^^.@FU"x  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \5+?wpH  
k,EI+lCX  
struts.serve.static A)5-w`1  
      Whether the Struts filter should serve static content or not 3Y\7+975m  
      是否struts过滤器应该提供静态内容 Fq{Z-yVp  
)V!9/d  
struts.tag.altSyntax  #RE  
      Whether to use the alterative syntax for the tags or not  u/ Os  
      是否可以用替代的语法替代tags ~c e?xr|  
[C GFzxz$  
struts.ui.templateDir U6hT*126  
      The directory containing UI templates ]dXHjOpA  
      UI templates的目录夹 <OKzb3e  
x+kP,v  
struts.ui.theme -ff|Xxar{  
      The default UI template theme 2<d l23  
      默认的UI template主题 kI|Vv90l  
KY)r kfo B  
struts.url.http.port "3!!G=s P  
      The HTTP port used by Struts URLs T5mdC  
      设置http端口 .YvE  
-qki^!Y?  
struts.url.https.port |E\0Rv{H3  
      The HTTPS port used by Struts URLs }3tbqFiH  
      设置https端口 CgLS2  
2b+0}u>a  
struts.url.includeParams vYh_<Rp5  
      The default includeParams method to generate Struts URLs NF& ++Vr6  
      在url中产生 默认的includeParams 5zebH  
%5X}4k!p  
go, Hfb  
struts.velocity.configfile /Q7cQ2[EU  
      The Velocity configuration file path :!omog  
      velocity配置文件路径 ,/.U'{  
E,Q>jH  
struts.velocity.contexts GCxtWFXH  
      List of Velocity context names _Qy3A T~  
      velocity的context列表 )ca^%(25!z  
@w1@|"6vF  
E"ju<q/Q  
struts.velocity.manager.classname 9/lCW  
      org.apache.struts2.views.velocity.VelocityManager implementation class j8@ Eqh  
      org.apache.struts2.views.velocity.VelocityManager接口名 RU>Hr5ebo  
p_!;N^y.  
struts.velocity.toolboxlocation 4<S*gu*W  
      The location of the Velocity toolbox 8:Yha4<Bv7  
      velocity工具盒的位置 f%LzWXA  
struts.xslt.nocache [OI&_WIw  
      Whether or not XSLT templates should not be cached 7wt2|$Qz  
      是否XSLT模版应该被缓存 ,2F4S5F~rC  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五