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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 fW\u*dMMZE  
5 )C~L]  
struts.action.extension 1]kk  
      The URL extension to use to determine if the request is meant for a Struts action 11)~!in  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z,NHH):~  
)XNcy"   
struts.configuration wUSWB{y  
      The org.apache.struts2.config.Configuration implementation class {UhZ\qe  
        org.apache.struts2.config.Configuration接口名 ](W #Tj5-  
Uligr_c?  
struts.configuration.files A+dY~@*a  
      A list of configuration files automatically loaded by Struts Wd%j;glG  
      struts自动加载的一个配置文件列表 %?cPqRHJ ~  
weDv[b5i  
struts.configuration.xml.reload eygyVhJ  
      Whether to reload the XML configuration or not Z@*Z@]FC  
      是否加载xml配置(true,false) 'IgtBd|K>  
,`wxXU7  
struts.continuations.package w(@`g/b  
      The package containing actions that use Rife continuations XrvrN^'  
      含有actions的完整连续的package名称 =GpLlJ`-  
Vt&I[osC  
struts.custom.i18n.resources NN$`n*;l  
      Location of additional localization properties files to load QoW3*1o  
      加载附加的国际化属性文件(不包含.properties后缀) >y=%o~  
68d@By  
struts.custom.properties cbIW>IbM  
      Location of additional configuration properties files to load m760K*:i\  
      加载附加的配置文件的位置 H4pjtVBr  
/)G9w]|T  
B[*i}k%i  
struts.devMode n1LS*-@  
      Whether Struts is in development mode or not NT nn!k  
      是否为struts开发模式  $SDx) '!  
 {<i!Pm  
struts.dispatcher.parametersWorkaround '.bMkty#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic OO@$jXZB  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \GkcK$Y  
wg[*]_,a  
struts.enable.DynamicMethodInvocation LO2sP"9  
      Allows one to disable dynamic method invocation from the URL ,p2 Di  
        允许动态方法调用 +yTL  
B^OhL!*tI  
struts.freemarker.manager.classname -8TLnl~[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SQHV gj  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 'J\%JAR@  
#(A>yW702  
struts.i18n.encoding 2{qoWys8[  
      The encoding to use for localization messages 2{%BQq>C  
      国际化信息内码 |_A35"v  
rN*4Y  
struts.i18n.reload ':fVb3A[*d  
      Whether the localization messages should automatically be reloaded +Y \#'KrA  
      是否国际化信息自动加载 R{WG>c  
$V+ze*ra  
struts.locale HH]LvK  
      The default locale for the Struts application 7<) .luV  
      默认的国际化地区信息 +F@9AO>LF  
+[>m`XTq  
struts.mapper.class y@(U 6ZOyx  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  R` N-^x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 v<c8qg  
08twcY;&k  
struts.multipart.maxSize Ms$kL'/  
      The maximize size of a multipart request (file upload) <?I~ +  
      multipart请求信息的最大尺寸(文件上传用) .IgCC_C9  
U_!6pqFc  
struts.multipart.parser h  qxe  
      The org.apache.struts2.dispatcher.multipart. $}jSIn=~|t  
      MultiPartRequest parser implementation for a multipart request (file upload) 0>AA-~=-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /2YI!U@A  
wWH5T}\  
rSa 3u*xB  
struts.multipart.saveDir jfI|( P  
      The directory to use for storing uploaded files 8J>s|MZ  
      设置存储上传文件的目录夹 [WB8X,  
~UL; O\-b0  
struts.objectFactory -f'z _&KI  
      The com.opensymphony.xwork2.ObjectFactory implementation class P>)qN,a  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :lcoSJ  
-ERDWY  
struts.objectFactory.spring.autoWire 'Yj/M  
      Whether Spring should autoWire or not f):|Ad|  
      是否自动绑定Spring Q.!D2RZc  
eE7+fMP{  
struts.objectFactory.spring.useClassCache tQ*5[F,fm  
      Whether Spring should use its class cache or not ;]'mx  
      是否spring应该使用自身的cache cm-! 6'`  
o8Tt|Lxb$8  
struts.objectTypeDeterminer pvcD 61,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _57i[U r  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?a(ApD\  
Es)Kw3^a  
struts.serve.static.browserCache B1\}'g8%f  
If static content served by the Struts filter should set browser caching header properties or not $2\ OBc=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 mhVSZhx|  
{&m^*YN/  
struts.serve.static qA5tMZ^w  
      Whether the Struts filter should serve static content or not t}]=5)9<  
      是否struts过滤器应该提供静态内容 =r#of|`Q  
<&Y7Q[  
struts.tag.altSyntax LKTIwb>  
      Whether to use the alterative syntax for the tags or not r 5:DIA!  
      是否可以用替代的语法替代tags )%gi gQZ+  
4OC ^IS  
struts.ui.templateDir XZ}]H_, n  
      The directory containing UI templates ([^1gG+>J  
      UI templates的目录夹 E]i3E[T  
MoavA 3`  
struts.ui.theme REli`"bR  
      The default UI template theme R>yoMk/u  
      默认的UI template主题 5v6*.e'p  
3Oy?_a$  
struts.url.http.port B&VruOP0  
      The HTTP port used by Struts URLs 1 VcZg%I  
      设置http端口 3* 1cCM42  
( hp 52Vse  
struts.url.https.port Ho2#'lSKM  
      The HTTPS port used by Struts URLs wa5wkuS)ld  
      设置https端口 jEo)#j];`<  
">@]{e*  
struts.url.includeParams Q9Sh2qF^2  
      The default includeParams method to generate Struts URLs )w4i0Xw^C:  
      在url中产生 默认的includeParams OWx-I\:  
qs 6r9?KP  
GHWi,' mr  
struts.velocity.configfile NO+.n)etGb  
      The Velocity configuration file path 0}$Zr*|;Y  
      velocity配置文件路径 K&3,J7&&  
zk#"n&u0  
struts.velocity.contexts f{mWy1NH\  
      List of Velocity context names B]iPixA6  
      velocity的context列表 > mk>VM  
mE\sD<b  
W|'7)ph  
struts.velocity.manager.classname '{*{  
      org.apache.struts2.views.velocity.VelocityManager implementation class jlXzfD T  
      org.apache.struts2.views.velocity.VelocityManager接口名 3dheT}XV?p  
Vq-W|<7C=  
struts.velocity.toolboxlocation Pu>jECcz  
      The location of the Velocity toolbox Pw+PBIGn4  
      velocity工具盒的位置 ,Pi!%an w  
struts.xslt.nocache Fj;];1nt  
      Whether or not XSLT templates should not be cached # 0kVhx7%  
      是否XSLT模版应该被缓存 E.LD1Pm0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五