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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Y[x9c0  
Ftj3`Mu  
struts.action.extension zw^jIg$  
      The URL extension to use to determine if the request is meant for a Struts action ^1U2&S  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V 0R;q  
6sl*Ko[  
struts.configuration Vin d\yvM  
      The org.apache.struts2.config.Configuration implementation class G8"L #[~  
        org.apache.struts2.config.Configuration接口名 |{HtY  
)Rla VAtM  
struts.configuration.files C\UD0r'p?  
      A list of configuration files automatically loaded by Struts mfLS< /A  
      struts自动加载的一个配置文件列表 .EGZv (rz&  
EKf"e*|(L  
struts.configuration.xml.reload l"!.aIY"e  
      Whether to reload the XML configuration or not RH^8"%\  
      是否加载xml配置(true,false) mKynp  
+](^gaDw<L  
struts.continuations.package ~h?zK 1  
      The package containing actions that use Rife continuations oT$w14b  
      含有actions的完整连续的package名称 N5[QQtQ  
g+p?J.+  
struts.custom.i18n.resources dkJ+*L5  
      Location of additional localization properties files to load )El#Ks5u  
      加载附加的国际化属性文件(不包含.properties后缀) #sy)-xM  
E>xdJ  
struts.custom.properties @rkNx@[~  
      Location of additional configuration properties files to load LJYFz=p "  
      加载附加的配置文件的位置 K~AQ) ]pJI  
CD%wi:C%|  
(4n8[  
struts.devMode k 61Ot3  
      Whether Struts is in development mode or not $d?<(n  
      是否为struts开发模式 ?AX./LI  
# 9Z];<g  
struts.dispatcher.parametersWorkaround ( du<0J|PT  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D_`MeqF}C  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) tlu-zUsi  
>f4H<V-  
struts.enable.DynamicMethodInvocation )Ve?1?s '8  
      Allows one to disable dynamic method invocation from the URL py9(z`}  
        允许动态方法调用 zCj]mH`es'  
%7pT\8E5  
struts.freemarker.manager.classname >Rs:Fw|jro  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z ) qc-~S  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 h djv/  
bTE%p0  
struts.i18n.encoding "'-f?kZ  
      The encoding to use for localization messages JadXdK=gE  
      国际化信息内码 LHKawEZ  
wgpu]ooUF&  
struts.i18n.reload QM`A74j0]\  
      Whether the localization messages should automatically be reloaded Ki{&,:@  
      是否国际化信息自动加载 Uaog_@2n,  
5Y)*-JY1g  
struts.locale 6;9SU+/  
      The default locale for the Struts application Xa\{WM==;  
      默认的国际化地区信息 HlgF%\@a+U  
q5YgKz?IC  
struts.mapper.class f {AbCi  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C^XJE1D.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 SaMg)s~B  
+'Pf|S  
struts.multipart.maxSize p]:5S_$  
      The maximize size of a multipart request (file upload) _dVzvk`_R  
      multipart请求信息的最大尺寸(文件上传用) ?d0I*bs)7  
:% )va  
struts.multipart.parser xrxORtJ<  
      The org.apache.struts2.dispatcher.multipart. :o?On/  
      MultiPartRequest parser implementation for a multipart request (file upload) IQf:aX  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Z{xm(^'i  
.&=nP?ZPC6  
fI;6!M#  
struts.multipart.saveDir T?{"T/  
      The directory to use for storing uploaded files 5ycccMx0V  
      设置存储上传文件的目录夹 w`&~m:R  
"detDB   
struts.objectFactory s"?Z jV)`  
      The com.opensymphony.xwork2.ObjectFactory implementation class F\F_">5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) f1y3l1/  
f/&gR5  
struts.objectFactory.spring.autoWire vzM8U>M  
      Whether Spring should autoWire or not 2Kovvh y#  
      是否自动绑定Spring (4o_\&  
wP8Wx~Q=  
struts.objectFactory.spring.useClassCache 4\a KC%5  
      Whether Spring should use its class cache or not 4UT %z}[!  
      是否spring应该使用自身的cache sxinA8  
r) ;U zd  
struts.objectTypeDeterminer <R582$( I  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {Y6U%HG{{r  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H WOs   
-61{ MMiA  
struts.serve.static.browserCache pSvRyb.K  
If static content served by the Struts filter should set browser caching header properties or not {D J!T  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \]dx;,T  
S\b[Bq  
struts.serve.static CtJ*:wF  
      Whether the Struts filter should serve static content or not F=!p7msRB  
      是否struts过滤器应该提供静态内容 rrbD0UzFA  
|N/Grk4  
struts.tag.altSyntax GM=r{F &  
      Whether to use the alterative syntax for the tags or not SDt)|s  
      是否可以用替代的语法替代tags F9p'|-   
s9+Rq*Qd  
struts.ui.templateDir 4<[,"<G~3  
      The directory containing UI templates ?-%Q[W  
      UI templates的目录夹 L|pMq!@J  
5&Al  
struts.ui.theme "7}bU_":s  
      The default UI template theme 88x_}M^Fnl  
      默认的UI template主题 Ndq/n21j  
I ,8   
struts.url.http.port hAX@|G.  
      The HTTP port used by Struts URLs jL o(Uf  
      设置http端口 >?>@&A/  
r0t4\d_&  
struts.url.https.port ^=`7]E[p  
      The HTTPS port used by Struts URLs o~<Xc  
      设置https端口 CC&opC  
kqy d3Si>  
struts.url.includeParams "`HkAW4GZa  
      The default includeParams method to generate Struts URLs 4Bg"b/kF  
      在url中产生 默认的includeParams [Z9 lxZ|  
Tq{+9+  
dZ}gf}.v  
struts.velocity.configfile `Cq&;-u  
      The Velocity configuration file path 9'+Eu)l:  
      velocity配置文件路径 "g27|e?y  
zGgPW  
struts.velocity.contexts -!i1xR (;h  
      List of Velocity context names HR'sMu3  
      velocity的context列表 P t< JF  
PJ}d-   
8 p D$/  
struts.velocity.manager.classname `t[b0; 'OH  
      org.apache.struts2.views.velocity.VelocityManager implementation class )+ifVv50  
      org.apache.struts2.views.velocity.VelocityManager接口名 Y\s ge  
EMy>X  
struts.velocity.toolboxlocation @'n07 5)h  
      The location of the Velocity toolbox h|~I'M]*  
      velocity工具盒的位置 jMUd,j`Opx  
struts.xslt.nocache q[?xf3  
      Whether or not XSLT templates should not be cached h [*/Tnr  
      是否XSLT模版应该被缓存 `%S 35x9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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