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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vM5k4%D  
3O#~dFnp  
struts.action.extension ?Ozk^#H[  
      The URL extension to use to determine if the request is meant for a Struts action i:MlD5 F  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l kI8 {  
WW)_Wh  
struts.configuration 5dbX%e_OP  
      The org.apache.struts2.config.Configuration implementation class f S(^["*G  
        org.apache.struts2.config.Configuration接口名 Ar\IZ_Q  
>+zAWK9  
struts.configuration.files U+:S7z@j?  
      A list of configuration files automatically loaded by Struts pHq{S;R2G  
      struts自动加载的一个配置文件列表 YhEiN. ~  
Bk\*0B  
struts.configuration.xml.reload Rc$=+K#  
      Whether to reload the XML configuration or not "(9=h@@Y"  
      是否加载xml配置(true,false) ['Hp?Q|k  
?IL! X-xx  
struts.continuations.package Dh*~U :6$g  
      The package containing actions that use Rife continuations u]ZqF *  
      含有actions的完整连续的package名称 }w;Q^EU  
a.5zdoH_  
struts.custom.i18n.resources b>G qNf!  
      Location of additional localization properties files to load F! |TW6)gv  
      加载附加的国际化属性文件(不包含.properties后缀) I|Vk.,  
N )b|  
struts.custom.properties at_dmU2[7  
      Location of additional configuration properties files to load gvow\9{|C  
      加载附加的配置文件的位置 ;}UIj{sj*  
3(oZZz  
I8E\'`:<  
struts.devMode  f'7 d4  
      Whether Struts is in development mode or not .Y=Z!Q  
      是否为struts开发模式 K8e4ax  
]L5Z=.z&  
struts.dispatcher.parametersWorkaround AJJ%gxqGq  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >FK)p   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }TXp<E"\  
&!3VqHQ`  
struts.enable.DynamicMethodInvocation `kaR@t  
      Allows one to disable dynamic method invocation from the URL a!s.850@  
        允许动态方法调用 +z~ !#j4Q  
H24ate?t,  
struts.freemarker.manager.classname @g@ fL%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CDwFVR'_Af  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 j]cXLY  
A8A:@-e8A  
struts.i18n.encoding KT]J,b  
      The encoding to use for localization messages H| eD/6K  
      国际化信息内码 '#pMEVP  
-(%ar%~Zd  
struts.i18n.reload mjkw&2  
      Whether the localization messages should automatically be reloaded 3Vb=6-|  
      是否国际化信息自动加载 a:(: :m  
"(HA9:  
struts.locale |wyJh"4!  
      The default locale for the Struts application lEVQA*u[  
      默认的国际化地区信息 2l\D~ y  
oF 1W}DtA  
struts.mapper.class khKv5K#)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class cq@_*:~Or  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 gKm@B{rC  
U_ N5~#9   
struts.multipart.maxSize 7Y_fF1-wY  
      The maximize size of a multipart request (file upload) m=("N  
      multipart请求信息的最大尺寸(文件上传用) YokZar2a0  
H L}sqcp  
struts.multipart.parser o[Wagg.%  
      The org.apache.struts2.dispatcher.multipart. % RBI\tj  
      MultiPartRequest parser implementation for a multipart request (file upload) O=!)})YG  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) c"QkE*  
,_5YaX:<4  
ZmYSi$B  
struts.multipart.saveDir e$FAhwpon  
      The directory to use for storing uploaded files :!Y?j{sGU  
      设置存储上传文件的目录夹 !?us[f=g%  
oZ\qT0*eb  
struts.objectFactory tehI!->l  
      The com.opensymphony.xwork2.ObjectFactory implementation class F'Y 2f6B  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `lV  
mV! @oNCK  
struts.objectFactory.spring.autoWire ~T p8>bmSR  
      Whether Spring should autoWire or not u]>>B>KOJ7  
      是否自动绑定Spring :<WQ;q  
7B:ZdDj  
struts.objectFactory.spring.useClassCache :+?W  
      Whether Spring should use its class cache or not yjM@/b  
      是否spring应该使用自身的cache vS24;:f  
cA (e "N  
struts.objectTypeDeterminer ,;+91lR3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class wn A%Nh7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 zvK5Zxl  
C&CsI] @g  
struts.serve.static.browserCache =|WV^0=S'%  
If static content served by the Struts filter should set browser caching header properties or not 3A}nNHpN  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =p&'_a^$  
zb~MF_&gE  
struts.serve.static Kt!IyIa;Ht  
      Whether the Struts filter should serve static content or not 5E oWyy  
      是否struts过滤器应该提供静态内容 HHu7{,  
l:5CM[mZ  
struts.tag.altSyntax _WjETyh [H  
      Whether to use the alterative syntax for the tags or not Uf2v$Jl+Yh  
      是否可以用替代的语法替代tags Kn!0S<ssR  
6E\\`FE4y  
struts.ui.templateDir _ c(C;s3o  
      The directory containing UI templates N|Cy!E=d  
      UI templates的目录夹 h<^:Nn  
U<,Kw6K  
struts.ui.theme ,Q /nS$  
      The default UI template theme ~&j`9jdOj  
      默认的UI template主题 D @4&@>  
~b6<uRnM.  
struts.url.http.port k vgs $  
      The HTTP port used by Struts URLs ,w b|?>Y  
      设置http端口 fj t_9-.  
^]lwd"$  
struts.url.https.port 1N$gE  
      The HTTPS port used by Struts URLs ]Re~V{uh  
      设置https端口 sG1]A:_<C  
t+4Y3*WeGF  
struts.url.includeParams (HrkUkw  
      The default includeParams method to generate Struts URLs N5rG.6K  
      在url中产生 默认的includeParams mTuB*  
E][{RTs  
: ! iPn%  
struts.velocity.configfile ID)gq_k[8,  
      The Velocity configuration file path -C'X4C+  
      velocity配置文件路径 c%LB|(@j{  
g<T`F  
struts.velocity.contexts 4{pemqS*  
      List of Velocity context names <% 3SI.  
      velocity的context列表 I\uB"Z{9  
?"8A^ ^  
WO(&<(?  
struts.velocity.manager.classname C"Y]W-Mgg  
      org.apache.struts2.views.velocity.VelocityManager implementation class zyp"*0zUr  
      org.apache.struts2.views.velocity.VelocityManager接口名 72`/xryY  
[ls ?IFg  
struts.velocity.toolboxlocation xm10  
      The location of the Velocity toolbox % 6hw  
      velocity工具盒的位置 ,8"[ /@  
struts.xslt.nocache C}P \kDM  
      Whether or not XSLT templates should not be cached ?'/5%f`  
      是否XSLT模版应该被缓存 ox=7N{+`J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五