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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *WfOB2rU  
omECes)  
struts.action.extension ).N}x^  
      The URL extension to use to determine if the request is meant for a Struts action C\.?3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7-w +/fv  
3oxQ[.o  
struts.configuration h^~eTi;c]Q  
      The org.apache.struts2.config.Configuration implementation class mh.0% 9`9  
        org.apache.struts2.config.Configuration接口名 gUL`)t\}*  
^gH.5L0]gH  
struts.configuration.files 1b;Aru~l  
      A list of configuration files automatically loaded by Struts [ G[HQ)A  
      struts自动加载的一个配置文件列表 Zj~tUCc  
Trbgg  
struts.configuration.xml.reload cpFw]w%]  
      Whether to reload the XML configuration or not - CT?JB  
      是否加载xml配置(true,false) 6O$OM  
;{q7rsE  
struts.continuations.package f&8&UL>e`  
      The package containing actions that use Rife continuations 4'Vuhqk  
      含有actions的完整连续的package名称 yXppu[=  
Si6%6rAhj  
struts.custom.i18n.resources rA8neO)  
      Location of additional localization properties files to load 0}PW?t76  
      加载附加的国际化属性文件(不包含.properties后缀) -:a 9'dT  
\P}~ICZA  
struts.custom.properties e0j*e7$  
      Location of additional configuration properties files to load SG8|xoL  
      加载附加的配置文件的位置 +X cB5S>  
+To{Tm-  
Tp)-L0kD_k  
struts.devMode hKQT,  
      Whether Struts is in development mode or not cEve70MV  
      是否为struts开发模式 w;}P<K  
.9lx@6]+  
struts.dispatcher.parametersWorkaround 9d#-;qV  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u{ JAC!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) SL pd~ZC?  
 #XQEfa  
struts.enable.DynamicMethodInvocation N=zrY`Vd  
      Allows one to disable dynamic method invocation from the URL 8!b#ez   
        允许动态方法调用 I Zi1N  
V. =!^0'A  
struts.freemarker.manager.classname BtVuI5*h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jNaK]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ojT TYR{  
2e/ JFhA  
struts.i18n.encoding -+Kx^V#'R  
      The encoding to use for localization messages l yF~E  
      国际化信息内码 \n6#D7OV  
dE.R$SM  
struts.i18n.reload &]ts*qCEL  
      Whether the localization messages should automatically be reloaded A%k@75V@  
      是否国际化信息自动加载 uPr@xff  
CS:j->  
struts.locale 5^ARC^v  
      The default locale for the Struts application Xb?P'nD  
      默认的国际化地区信息  pzg|?U  
kHo0I8  
struts.mapper.class |k^'}n  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q$(aMO&J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 c/^} =t(  
_o'ii VDuD  
struts.multipart.maxSize ^Q pP'  
      The maximize size of a multipart request (file upload) u+&BR1)C  
      multipart请求信息的最大尺寸(文件上传用) )c^Rc9e/  
E2Q;1Re@  
struts.multipart.parser CJ8XKy  
      The org.apache.struts2.dispatcher.multipart. Q0#oR [(  
      MultiPartRequest parser implementation for a multipart request (file upload) V\W?@V9g-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &-:ZM0Fl  
}JeGjpAcV  
s+#gH@c  
struts.multipart.saveDir AA6_D?)vv  
      The directory to use for storing uploaded files AME3hA  
      设置存储上传文件的目录夹 4c_TrNwP  
@i'RIL}  
struts.objectFactory + 0{m(%i  
      The com.opensymphony.xwork2.ObjectFactory implementation class !trt]?*-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) JF!JY( U,  
/x c<&  
struts.objectFactory.spring.autoWire 5Ev9u),D+v  
      Whether Spring should autoWire or not Nj$3Ig"l  
      是否自动绑定Spring d&BocJ  
9]<p  
struts.objectFactory.spring.useClassCache %PRG;kR  
      Whether Spring should use its class cache or not |`+kZ-M*  
      是否spring应该使用自身的cache m2F2  
t~H'Ugv^  
struts.objectTypeDeterminer cKJf0S:cx-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ROlef;/A  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]VtVw^ir  
ZJ}9g(X..g  
struts.serve.static.browserCache 9>yLSM,!rS  
If static content served by the Struts filter should set browser caching header properties or not V T8PV5z  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {; #u~e(W  
$\M<gW6  
struts.serve.static KJn@2x6LP  
      Whether the Struts filter should serve static content or not s~ ||Vv!  
      是否struts过滤器应该提供静态内容 3#N'nhUzA  
=lT~  
struts.tag.altSyntax $mdmuUIy-3  
      Whether to use the alterative syntax for the tags or not Uc%n{ a-a  
      是否可以用替代的语法替代tags t"x 8]Gy  
2;Vss<hR4A  
struts.ui.templateDir Le;;Yd}f  
      The directory containing UI templates iO1ir+B\  
      UI templates的目录夹 JjA3G`m=  
rQmDpoy=  
struts.ui.theme URU,&gy=  
      The default UI template theme aF*KY<w  
      默认的UI template主题 jf&B5>-x  
V`P8oIOh]  
struts.url.http.port !d nCrR  
      The HTTP port used by Struts URLs 4'3do>!  
      设置http端口 (-S<9u-r  
kw)( "SQ  
struts.url.https.port {1?94rz  
      The HTTPS port used by Struts URLs ot\  FZ  
      设置https端口 pH&*5=t}  
:j(e+A1@  
struts.url.includeParams }9:( l  
      The default includeParams method to generate Struts URLs D5Zgi!  
      在url中产生 默认的includeParams CFE  ubEb  
z$g cK>@l  
J?6.yL;  
struts.velocity.configfile uqz HS>GM  
      The Velocity configuration file path -e_91W I  
      velocity配置文件路径 r]q;>\T'  
o<h2]TN  
struts.velocity.contexts CzMCd ~*7R  
      List of Velocity context names JJ:pA_uX  
      velocity的context列表 j1zrjhXI  
aE|'%72g  
Borr  
struts.velocity.manager.classname m}UcF oaO  
      org.apache.struts2.views.velocity.VelocityManager implementation class o*MiKgQ&  
      org.apache.struts2.views.velocity.VelocityManager接口名 5!QT }Um  
In[rxT~K}Q  
struts.velocity.toolboxlocation J#.f%VJ  
      The location of the Velocity toolbox ]ilQq~X  
      velocity工具盒的位置 ]I,(^Xq3a(  
struts.xslt.nocache A<h^.{  
      Whether or not XSLT templates should not be cached jJY{np  
      是否XSLT模版应该被缓存 *S xDwN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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