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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 AoA!q>  
-,K!  
struts.action.extension [r/k% <  
      The URL extension to use to determine if the request is meant for a Struts action 5NJ4  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 hzk6rYg1  
nQ|r"|g  
struts.configuration r\nx=  
      The org.apache.struts2.config.Configuration implementation class ie-vqLc  
        org.apache.struts2.config.Configuration接口名 zE;bBwy&  
Be+0NXLVy  
struts.configuration.files %e*@CbO$  
      A list of configuration files automatically loaded by Struts 5SkW-+$  
      struts自动加载的一个配置文件列表 5>AX*]c  
T{wuj[ Q#:  
struts.configuration.xml.reload u&wiGwF[  
      Whether to reload the XML configuration or not m7T)m0  
      是否加载xml配置(true,false) h*ZC*eV>  
#07gd#j4  
struts.continuations.package 3> /K0N|$  
      The package containing actions that use Rife continuations 5q "ON)x  
      含有actions的完整连续的package名称 +2 Af&~T  
_)]CzBRq\6  
struts.custom.i18n.resources !x'/9^i~v  
      Location of additional localization properties files to load Z,iHy3`  
      加载附加的国际化属性文件(不包含.properties后缀) XD"_Iq!  
G%d (  
struts.custom.properties ioPUUUb)  
      Location of additional configuration properties files to load yoAfc  
      加载附加的配置文件的位置 )E+'*e{cK  
%'0T Xr$  
# p[',$cC  
struts.devMode ah~Y eJp  
      Whether Struts is in development mode or not ,^icPQSwc  
      是否为struts开发模式 MQin"\  
 @3kKJ  
struts.dispatcher.parametersWorkaround V`@>MOw^d  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $['Bv  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  <T[E=#  
F[ewn/]n  
struts.enable.DynamicMethodInvocation NWxUn.Gy9  
      Allows one to disable dynamic method invocation from the URL FZ8b7nJ)4m  
        允许动态方法调用 Y2'cs~~$Ce  
]~Y<o  
struts.freemarker.manager.classname T6ENtp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ExRe:^yU\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~)(\6^&=|  
]vuwkn+)  
struts.i18n.encoding /rSH"$  
      The encoding to use for localization messages Ks}Xgc\  
      国际化信息内码 GRY2?'`  
U!Ek'  
struts.i18n.reload `Qeg   
      Whether the localization messages should automatically be reloaded VE8;sGaJ  
      是否国际化信息自动加载 0@AAulRl  
`=7j$#6U  
struts.locale ;j2vHU#q-  
      The default locale for the Struts application NzNA>[$[  
      默认的国际化地区信息 aN(|'uO@  
qoAj] ")  
struts.mapper.class c_elShK8#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class MTUn3;c/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 6d+p7x  
Afk$?wkL  
struts.multipart.maxSize yV^s,P1  
      The maximize size of a multipart request (file upload) t'ZWc\  
      multipart请求信息的最大尺寸(文件上传用) )aX,%yK  
6S~sVUL9`  
struts.multipart.parser V%Sy"IG  
      The org.apache.struts2.dispatcher.multipart. EAeqLtFqs  
      MultiPartRequest parser implementation for a multipart request (file upload) P\_`   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) V <bd;m  
;V<fB/S.=+  
]KJj6xn  
struts.multipart.saveDir R i^[i}  
      The directory to use for storing uploaded files tr7<]Hm:  
      设置存储上传文件的目录夹 i E CrI3s  
~/*MY  
struts.objectFactory g(4xC7xK6  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1T[et-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) &d|r~NhP  
~}<DG1!  
struts.objectFactory.spring.autoWire <ZB1Vi9}8  
      Whether Spring should autoWire or not M}!2H*  
      是否自动绑定Spring <qGu7y"  
y{N-+10z  
struts.objectFactory.spring.useClassCache 9*a=iL*Nw  
      Whether Spring should use its class cache or not L5,NP5RC  
      是否spring应该使用自身的cache P@FHnh3}Z$  
DY^;EZ!hb  
struts.objectTypeDeterminer AFAAuFE"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Xn{1 FJX/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $LU"?aAW  
v,ju!I0.  
struts.serve.static.browserCache F+u|HiYG  
If static content served by the Struts filter should set browser caching header properties or not ,{c?ymw?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >;[*!<pfK5  
Phke`3tth  
struts.serve.static @*sWu_ -Y%  
      Whether the Struts filter should serve static content or not =%/)m:f!^  
      是否struts过滤器应该提供静态内容 YIjTL!bA"  
nvPwngEQm  
struts.tag.altSyntax q`r**N+zn  
      Whether to use the alterative syntax for the tags or not l'eyq}&  
      是否可以用替代的语法替代tags 6R^^.tCs  
8-O)Xx}cU  
struts.ui.templateDir LGtIm7  
      The directory containing UI templates k1!@^A  
      UI templates的目录夹 Sy 'Dp9!|  
o>VVsH  
struts.ui.theme G["c\Xux  
      The default UI template theme w`5xrqt@  
      默认的UI template主题 Ih"XV  
cCxBzkH6  
struts.url.http.port p3 ^ m9J  
      The HTTP port used by Struts URLs ynrT a..  
      设置http端口 ^U!0-y  
4F{70"a  
struts.url.https.port GP#aya  
      The HTTPS port used by Struts URLs 8e(\%bX  
      设置https端口 L+q/){Dd(  
>:b Q  
struts.url.includeParams @/31IOIV]`  
      The default includeParams method to generate Struts URLs m|G'K[8  
      在url中产生 默认的includeParams b1( $R[  
7"C$pm6  
j}C}:\-fY  
struts.velocity.configfile Ct>GYk$  
      The Velocity configuration file path UNBH  
      velocity配置文件路径 mrjswF27$o  
V=*wKuB  
struts.velocity.contexts <Sr  
      List of Velocity context names w.TuoWo>  
      velocity的context列表 =z /dcC$r  
q?8| [.  
pS7w' H  
struts.velocity.manager.classname Bf8jPa/  
      org.apache.struts2.views.velocity.VelocityManager implementation class )<tI!I][j  
      org.apache.struts2.views.velocity.VelocityManager接口名 S@/IQR  
a5 TioQ  
struts.velocity.toolboxlocation ~5oPpTAe  
      The location of the Velocity toolbox G2T|RT $_K  
      velocity工具盒的位置 \vO,E e~#W  
struts.xslt.nocache uu>Pkfo  
      Whether or not XSLT templates should not be cached p|p l  
      是否XSLT模版应该被缓存 6g)G Y"49  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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