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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #b~wIOR)Z  
y5XHJUTu  
struts.action.extension &*}NN5Sv  
      The URL extension to use to determine if the request is meant for a Struts action 2 us-s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <By6%<JTn  
09f:%!^u  
struts.configuration ,C#Mf@b  
      The org.apache.struts2.config.Configuration implementation class pP4i0mO{Dv  
        org.apache.struts2.config.Configuration接口名 !Cm<K*c"&E  
 M>mk=-l  
struts.configuration.files 6~ *w~U  
      A list of configuration files automatically loaded by Struts [w%MECTe  
      struts自动加载的一个配置文件列表 T:$zNX<f  
uc% &g  
struts.configuration.xml.reload >bf29tr  
      Whether to reload the XML configuration or not CvCk#:@HM  
      是否加载xml配置(true,false) O};U3=^0f  
+DWmutL  
struts.continuations.package !bnuCc  
      The package containing actions that use Rife continuations xZ51iD $  
      含有actions的完整连续的package名称 0hKF)b  
4T-9F  
struts.custom.i18n.resources ~ caKzq  
      Location of additional localization properties files to load q;T3bxp+  
      加载附加的国际化属性文件(不包含.properties后缀) &S}i)Nu6J  
TzXivE@mm  
struts.custom.properties 00') Ol&  
      Location of additional configuration properties files to load f6 zT  
      加载附加的配置文件的位置 6]i"lqb  
dOm#NSJVd  
G`9\v=0  
struts.devMode ;79X# hI  
      Whether Struts is in development mode or not 73$^y)AvY  
      是否为struts开发模式 `U4R% qhWA  
<a-I-~  
struts.dispatcher.parametersWorkaround +\FTR  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FhgO5@BO  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) |kvom 4T  
[)}F4Jsz%  
struts.enable.DynamicMethodInvocation tJ>OZ  
      Allows one to disable dynamic method invocation from the URL :X>%6Xj?RV  
        允许动态方法调用 kL.JrbM"  
7qB}Hvh  
struts.freemarker.manager.classname DnA}!s  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1 l'Wb2g>A  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u>Z0ug6x  
K~A$>0c  
struts.i18n.encoding *P_ 3A:_  
      The encoding to use for localization messages K/Q^8%Z  
      国际化信息内码 ]8(_{@ /  
+OFq=M  
struts.i18n.reload n*6b*fl  
      Whether the localization messages should automatically be reloaded 'CT 8vt;  
      是否国际化信息自动加载 FbB> Md;  
7|6uY  
struts.locale 1FU(j*~:  
      The default locale for the Struts application *0)vsBi  
      默认的国际化地区信息 + #gJ[Cc  
;BV1E|j  
struts.mapper.class ylF%6!V}4V  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4,m aA  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \|Pp%U [  
OWsK>egD  
struts.multipart.maxSize _94|^   
      The maximize size of a multipart request (file upload) SxLu<  
      multipart请求信息的最大尺寸(文件上传用) Hm|8ydNs  
Z~^)B8  
struts.multipart.parser u8pJjn;  
      The org.apache.struts2.dispatcher.multipart. x^kV;^ I  
      MultiPartRequest parser implementation for a multipart request (file upload) "nX L7N0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7aVQp3<  
vn@9Sqk  
~6`HJ  
struts.multipart.saveDir V`Z-m-V~1  
      The directory to use for storing uploaded files &g R+D  
      设置存储上传文件的目录夹 T]d9tX-  
K!6k<  
struts.objectFactory 5v4 ,YHD  
      The com.opensymphony.xwork2.ObjectFactory implementation class q]3bGO;  
      com.opensymphony.xwork2.ObjectFactory接口(spring) NF <|3|  
q"OvuHBSOn  
struts.objectFactory.spring.autoWire 5BCHW X*y  
      Whether Spring should autoWire or not (J8 (_MF  
      是否自动绑定Spring [mKPOg-t  
=$6z1] ;3  
struts.objectFactory.spring.useClassCache $pK2H0c  
      Whether Spring should use its class cache or not '#REbY5ev  
      是否spring应该使用自身的cache Uk=jQfA*J  
s/+@o:  
struts.objectTypeDeterminer o 5dPE{f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class h.@5vhD  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 VSa\X~  
/k3v\Jq{  
struts.serve.static.browserCache (K"U #Zn  
If static content served by the Struts filter should set browser caching header properties or not eO#Kn'5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e[f}Lxln  
e;9Z/);#s  
struts.serve.static '+LbFGrO3  
      Whether the Struts filter should serve static content or not 6('2.^8  
      是否struts过滤器应该提供静态内容 =n>&Bl-Bl  
6qQdTp{i  
struts.tag.altSyntax rf_(pp)  
      Whether to use the alterative syntax for the tags or not XnmQp)nyV  
      是否可以用替代的语法替代tags .$5QM&  
Lu,72i0O ^  
struts.ui.templateDir <eP`Lu"  
      The directory containing UI templates lB9 9J"A  
      UI templates的目录夹 T:&  
5 s3!{zT{  
struts.ui.theme ]cvP !  
      The default UI template theme BH"f\oc  
      默认的UI template主题 lt\. )Y>4  
. _j9^Ll  
struts.url.http.port NO5\|.,Z  
      The HTTP port used by Struts URLs -0rc4<};h  
      设置http端口 OKs1irt5  
0Z9>%\km_  
struts.url.https.port b_2bg>|;  
      The HTTPS port used by Struts URLs g,Z8I;A^  
      设置https端口 ^ Q]I)U  
D?ojxHe  
struts.url.includeParams : p# 5nYi  
      The default includeParams method to generate Struts URLs yO\ .dp  
      在url中产生 默认的includeParams xwK{}==U  
,.;q[s8  
A)"?GK{*  
struts.velocity.configfile ,@1rP55  
      The Velocity configuration file path pRyePxCDj)  
      velocity配置文件路径 tnL$v2e6q  
*HiN:30DZ  
struts.velocity.contexts S"+X+Oxp7?  
      List of Velocity context names ~n9x ,  
      velocity的context列表 z2'3P{#s  
bzYj`t?  
6 axe  
struts.velocity.manager.classname @@->A9'L  
      org.apache.struts2.views.velocity.VelocityManager implementation class [XK^3pT_  
      org.apache.struts2.views.velocity.VelocityManager接口名 MvV\?Lzj   
>@?!-Fy5  
struts.velocity.toolboxlocation !R@v\Eu  
      The location of the Velocity toolbox Sep/N"7~t  
      velocity工具盒的位置 (R^X3  
struts.xslt.nocache &c[.&L,w4  
      Whether or not XSLT templates should not be cached 8SH&b8k<<  
      是否XSLT模版应该被缓存 FfEP@$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五