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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _*Vq1D]C  
-tx)7KV-  
struts.action.extension @6.1EK0  
      The URL extension to use to determine if the request is meant for a Struts action UR-e'Z&]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u ` 9Eh;  
=]7|*-  
struts.configuration ]5td,2E C  
      The org.apache.struts2.config.Configuration implementation class Mz]LFM  
        org.apache.struts2.config.Configuration接口名 >C_! }~  
pM[UC{  
struts.configuration.files F5L/7j<}  
      A list of configuration files automatically loaded by Struts OR&+`P"-\  
      struts自动加载的一个配置文件列表 wlKpHd*  
y>8!qVX  
struts.configuration.xml.reload Iu0K#.s_  
      Whether to reload the XML configuration or not LEVNywk[  
      是否加载xml配置(true,false) %8 cFzyE*  
_a*Wk  
struts.continuations.package hU G Iy(  
      The package containing actions that use Rife continuations ~2A<fL,-  
      含有actions的完整连续的package名称 sutj G`m  
snj4MA@I]  
struts.custom.i18n.resources iCk34C7  
      Location of additional localization properties files to load biGaP#"0  
      加载附加的国际化属性文件(不包含.properties后缀) n2 ,b~S\e  
L6$,<}l  
struts.custom.properties 1Sz5&jz  
      Location of additional configuration properties files to load v}[KVwse  
      加载附加的配置文件的位置 xNxIqq<k  
%X GX(  
7F?^gMi  
struts.devMode ; @Gm@d  
      Whether Struts is in development mode or not &$hfAG]"  
      是否为struts开发模式 >tP/"4c  
7-e)V{A`w  
struts.dispatcher.parametersWorkaround @zfeCxVOA  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o?{VGJH<v  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >&?wo{b  
[4xN:i  
struts.enable.DynamicMethodInvocation tvRa.3  
      Allows one to disable dynamic method invocation from the URL 0e vxRcrzz  
        允许动态方法调用 ?WUE+(oH>  
pJ_Z[}d)c  
struts.freemarker.manager.classname 4B]8Mp~\aL  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5+%BZ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 zCvR/  
:Fj4YP"  
struts.i18n.encoding 'U}i<^,c  
      The encoding to use for localization messages E C7f  
      国际化信息内码 o}WbW }&  
3L>V-RPiM  
struts.i18n.reload aeUm,'Y$  
      Whether the localization messages should automatically be reloaded uX}M0W  
      是否国际化信息自动加载 by6E "7%  
%q>gwq A  
struts.locale E? F @  
      The default locale for the Struts application _rjCwo\  
      默认的国际化地区信息 _,F wt  
P!bm$h*3?  
struts.mapper.class :sT<<LtI-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class DU1,i&(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !2&h=;i~V  
k7y!! AV  
struts.multipart.maxSize s?%1/&.~  
      The maximize size of a multipart request (file upload) YVW!u6W'[6  
      multipart请求信息的最大尺寸(文件上传用) _\o +9X!  
@Gn9x(?J  
struts.multipart.parser 9MM4C  
      The org.apache.struts2.dispatcher.multipart. $a5K  
      MultiPartRequest parser implementation for a multipart request (file upload) U7x}p^B9\N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H`@x5RjS   
miN(a; Q2P  
hr6f}2  
struts.multipart.saveDir toIljca  
      The directory to use for storing uploaded files Ii|<:BW  
      设置存储上传文件的目录夹 uF(- h~  
pM VeUK?  
struts.objectFactory ;yk@`<  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4dfe5\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) QG9 2^  
@~gz-l^$  
struts.objectFactory.spring.autoWire RI*Q-n{  
      Whether Spring should autoWire or not 2! wz#EC  
      是否自动绑定Spring 2N)vEUyDV  
k7W8$8 v  
struts.objectFactory.spring.useClassCache .WG@"2z|  
      Whether Spring should use its class cache or not Hh!x&;x}  
      是否spring应该使用自身的cache 3*arW|Xm  
T,?^J-h^  
struts.objectTypeDeterminer T 86}^=-5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xOu cZ+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 89 (k<m  
7?hC t  
struts.serve.static.browserCache ?on3z  
If static content served by the Struts filter should set browser caching header properties or not b$gDFNa  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Uc9Uj  
6K<vyr40  
struts.serve.static =ARI*  
      Whether the Struts filter should serve static content or not #),QWTl3  
      是否struts过滤器应该提供静态内容 oN _% oc  
{I2jLc  
struts.tag.altSyntax kc "U)>  
      Whether to use the alterative syntax for the tags or not PiH#9X B  
      是否可以用替代的语法替代tags t5e(9Yhj  
! B)Em  
struts.ui.templateDir C8G['aQ  
      The directory containing UI templates =~HX/]zF  
      UI templates的目录夹 [;.zl1S<  
@[JQCQ#r  
struts.ui.theme D %5 0  
      The default UI template theme LQ{4r1,u]  
      默认的UI template主题 {ZfTUt)-P  
<w,aS;v6jp  
struts.url.http.port c8}1-MKs_R  
      The HTTP port used by Struts URLs vk#xCggK  
      设置http端口 @ObsW!g  
p(x[zn+%Y  
struts.url.https.port fwl RwH(  
      The HTTPS port used by Struts URLs "ht2X w  
      设置https端口 7x1jpQ -  
e94csTh=  
struts.url.includeParams aX  ?ON  
      The default includeParams method to generate Struts URLs ~KX!i 8+X  
      在url中产生 默认的includeParams IPT}JX'  
St(7@)gvY  
wL%>  
struts.velocity.configfile zizrc.g/Yg  
      The Velocity configuration file path 0q62{p7  
      velocity配置文件路径 WnIh( 0  
E26ZVFg  
struts.velocity.contexts 1[}VyP6 e  
      List of Velocity context names fitm*  
      velocity的context列表 ke/o11LP  
* |,V$  
v4S|&m  
struts.velocity.manager.classname {(aJrSE<z  
      org.apache.struts2.views.velocity.VelocityManager implementation class dB1bf2'b#  
      org.apache.struts2.views.velocity.VelocityManager接口名 S:R%%cy  
m*a0V  
struts.velocity.toolboxlocation ZsV'-gu  
      The location of the Velocity toolbox *~-~kv4-  
      velocity工具盒的位置 E&"bgwav{(  
struts.xslt.nocache Z&}94  
      Whether or not XSLT templates should not be cached "dkvk7zCP  
      是否XSLT模版应该被缓存 _ :][{W#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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