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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ep3iI77/  
{Q la4U  
struts.action.extension 3qc o2{nz  
      The URL extension to use to determine if the request is meant for a Struts action t,yzqn  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2i3& 3oz]O  
pD>^Dfd  
struts.configuration Ma`Goi\vFk  
      The org.apache.struts2.config.Configuration implementation class ?hQ,'M2  
        org.apache.struts2.config.Configuration接口名 rX<gcntv  
.5~W3v <  
struts.configuration.files Z/ypWoV(  
      A list of configuration files automatically loaded by Struts _("&jfn  
      struts自动加载的一个配置文件列表 ?w[M{   
YQ+Kl[ec  
struts.configuration.xml.reload `b{.K,  
      Whether to reload the XML configuration or not $q6'VLPo  
      是否加载xml配置(true,false) s*B-|  
Kc:} Ky  
struts.continuations.package dn1Tu6f;|  
      The package containing actions that use Rife continuations pH1 9"=p<  
      含有actions的完整连续的package名称 20t</lq.  
/:}z*a  
struts.custom.i18n.resources ohA@Zm8O  
      Location of additional localization properties files to load c.\J_^  
      加载附加的国际化属性文件(不包含.properties后缀) fii\&p7z  
 Dy[ YL  
struts.custom.properties F^]?'`7md  
      Location of additional configuration properties files to load cs%NsnZ  
      加载附加的配置文件的位置 '0xJp|[xVP  
(Q$]X5L  
!r8Jo{(pb  
struts.devMode KrFV4J[  
      Whether Struts is in development mode or not A<&:-Zz  
      是否为struts开发模式 D?w-uR%Y  
drQioH-  
struts.dispatcher.parametersWorkaround d[9NNm*htC  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,A>i)brc  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /e5Fx  
jnoFNIW   
struts.enable.DynamicMethodInvocation q$Ol"K@  
      Allows one to disable dynamic method invocation from the URL [i'\d}  
        允许动态方法调用 DvuL1Me Ko  
zq5_&AeW  
struts.freemarker.manager.classname )^&)f!f  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class LQMVC^ G  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 W`PK9juu  
W&>+~A  
struts.i18n.encoding pP'-}%  
      The encoding to use for localization messages z^f-MgWG  
      国际化信息内码 CDcs~PR@B  
YJ5;a\QxN  
struts.i18n.reload Xm`K@hJ@  
      Whether the localization messages should automatically be reloaded ^/Hj^4~_U  
      是否国际化信息自动加载 wBcDL/(>  
5b B[o6+  
struts.locale q_f v1U3  
      The default locale for the Struts application tazBZ'\c  
      默认的国际化地区信息 _>5BFQ_  
gWS4 9*O  
struts.mapper.class (6\A"jey\x  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,ASY &J5)7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =]E1T8|  
4PUM.%  
struts.multipart.maxSize T6H"ER$  
      The maximize size of a multipart request (file upload) 'q*1HNwGp  
      multipart请求信息的最大尺寸(文件上传用) 7k3":2 :  
B0Z~L){i  
struts.multipart.parser V!KtF  
      The org.apache.struts2.dispatcher.multipart. y&__ 2t^u  
      MultiPartRequest parser implementation for a multipart request (file upload) "_)   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ==(M vu`  
v%aD:%wlY@  
5<w0*~Z d~  
struts.multipart.saveDir 33Mr9Doon  
      The directory to use for storing uploaded files 4 qW)R{%  
      设置存储上传文件的目录夹 n?,fF(  
bM^'q  
struts.objectFactory 72-@!Z0e  
      The com.opensymphony.xwork2.ObjectFactory implementation class `hlyN]L  
      com.opensymphony.xwork2.ObjectFactory接口(spring) l:@.D|(o3  
I )B2Z(<Q  
struts.objectFactory.spring.autoWire m Xw1%w[*  
      Whether Spring should autoWire or not !9)*.9[8  
      是否自动绑定Spring n? s4"N6  
{8jG6  
struts.objectFactory.spring.useClassCache Q|G[9HBI  
      Whether Spring should use its class cache or not '`o+#\,b^%  
      是否spring应该使用自身的cache m@c2'*&Y  
w-nkf M~  
struts.objectTypeDeterminer ^ O`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9DtSYd/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 E$G "R =  
[=E<iPl  
struts.serve.static.browserCache .Yu,&HR  
If static content served by the Struts filter should set browser caching header properties or not d&'6l"${  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @pko zE-  
&(.ZHF  
struts.serve.static R a*9d]N@  
      Whether the Struts filter should serve static content or not BLJ-' 8G  
      是否struts过滤器应该提供静态内容 "J{,P9P6  
5d4-95['_  
struts.tag.altSyntax AARhGx|L<  
      Whether to use the alterative syntax for the tags or not wOk:Q4OjL  
      是否可以用替代的语法替代tags Yp ? 2<  
|R[m&uOib  
struts.ui.templateDir YT:5J%"  
      The directory containing UI templates .HtDcGp  
      UI templates的目录夹 2C8M1^0:Z  
$K G?d>wx  
struts.ui.theme zR<jZwo]#  
      The default UI template theme :e9E#o  
      默认的UI template主题 [w4z)!  
pI^n("|  
struts.url.http.port WD)[Ac[  
      The HTTP port used by Struts URLs Ql V:8:H$  
      设置http端口 ]CL70+[^9  
L]tyL)  
struts.url.https.port 6a,YxR\  
      The HTTPS port used by Struts URLs $Y4 Ao-@  
      设置https端口 <n`|zQ  
D>1Dao  
struts.url.includeParams !9N%=6\  
      The default includeParams method to generate Struts URLs L'6zs:i  
      在url中产生 默认的includeParams C'$U1%: j  
JEd/j zR(  
v]1rH$  
struts.velocity.configfile 6RtpB\hq  
      The Velocity configuration file path '\;tmD"N5#  
      velocity配置文件路径 9(I4x]`  
[gE2lfaEy  
struts.velocity.contexts oy |@m|J  
      List of Velocity context names ~lL($rE  
      velocity的context列表 %$}iM<  
qy]-YJZ  
b13>>'BMB  
struts.velocity.manager.classname #*`|}_6L  
      org.apache.struts2.views.velocity.VelocityManager implementation class k{#:O=  
      org.apache.struts2.views.velocity.VelocityManager接口名 D *tBbV  
5u!cA4e"  
struts.velocity.toolboxlocation doa$ ;=wg  
      The location of the Velocity toolbox Q7s1M&K  
      velocity工具盒的位置 {%$=^XO  
struts.xslt.nocache mU_O64  
      Whether or not XSLT templates should not be cached 8L@di  Y  
      是否XSLT模版应该被缓存 xphqgOc12,  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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