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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 UzIE,A  
\-{$IC-L  
struts.action.extension 7bRfkKD  
      The URL extension to use to determine if the request is meant for a Struts action nhC8Tq[m  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4}cxSl]jf!  
E4Ez)IaKyi  
struts.configuration |;t{L^  
      The org.apache.struts2.config.Configuration implementation class t0v >J9  
        org.apache.struts2.config.Configuration接口名 7r)]9_[(  
!O}e)t  
struts.configuration.files B B'qbX3xK  
      A list of configuration files automatically loaded by Struts Ie=gI+2  
      struts自动加载的一个配置文件列表 K"5q387!  
c+T`X?.j  
struts.configuration.xml.reload YRf$?xa  
      Whether to reload the XML configuration or not vdB2T2F  
      是否加载xml配置(true,false) i^Jw`eAmT  
F^%\AA]8  
struts.continuations.package P O0Od z  
      The package containing actions that use Rife continuations m$(OQ,E  
      含有actions的完整连续的package名称 Mw-L?j0o[k  
W?P4oKsql*  
struts.custom.i18n.resources M.Tp)ig\#  
      Location of additional localization properties files to load DTo"{!  
      加载附加的国际化属性文件(不包含.properties后缀) w L>*WLfR  
+%Kk zdS'  
struts.custom.properties #Z `Tk)u/  
      Location of additional configuration properties files to load omy3<6  
      加载附加的配置文件的位置 iyr8*L\  
99By.+~pX  
O0`ofFN  
struts.devMode /38I (0  
      Whether Struts is in development mode or not 77aUuP7Iw  
      是否为struts开发模式 FV aC8Kw  
z[R dM#L  
struts.dispatcher.parametersWorkaround 'NfsAE  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6-/W4L)?>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) qvGm JN0  
"cly99t  
struts.enable.DynamicMethodInvocation ZF#n(Y?  
      Allows one to disable dynamic method invocation from the URL !;[cJbqnh  
        允许动态方法调用 |JWYsqJ0U  
0c!^=(  
struts.freemarker.manager.classname zw$\d1-+h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class mJ5%+.V  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Iw( wT_  
4!xRA''  
struts.i18n.encoding `v<S  
      The encoding to use for localization messages 1{d;Ngx  
      国际化信息内码 hgE :2@  
s~B)xYmyB'  
struts.i18n.reload Y$c7uA:4  
      Whether the localization messages should automatically be reloaded @]}/vsI m  
      是否国际化信息自动加载 _Ye.29  
c'Ibgfx%m  
struts.locale oAB:H \  
      The default locale for the Struts application `nEqw/I  
      默认的国际化地区信息 r)Zk-!1  
./0wt+  
struts.mapper.class AS~!YR  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [P ;fv  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 BzWkZAX  
QkHG`yW  
struts.multipart.maxSize %_B2/~  
      The maximize size of a multipart request (file upload) /dvronG  
      multipart请求信息的最大尺寸(文件上传用) J]S30&?  
S*J\YcqSC  
struts.multipart.parser S>*i\OnI'  
      The org.apache.struts2.dispatcher.multipart. ycOnPTh  
      MultiPartRequest parser implementation for a multipart request (file upload) #<sK3PT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !T ,=kh  
!^0vi3I  
`Je1$)%  
struts.multipart.saveDir Z0y~%[1X  
      The directory to use for storing uploaded files g=qaq  
      设置存储上传文件的目录夹 /iQh'rp  
0CXXCa7!  
struts.objectFactory `r3 klL,W'  
      The com.opensymphony.xwork2.ObjectFactory implementation class FU .%td=:  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  QV\a f  
JTBt=u{6^  
struts.objectFactory.spring.autoWire <}8G1<QZ'.  
      Whether Spring should autoWire or not S0:Oep   
      是否自动绑定Spring k&f/f  
|#yT]0L%pA  
struts.objectFactory.spring.useClassCache CAom4 Sp'  
      Whether Spring should use its class cache or not Y= =5\;-  
      是否spring应该使用自身的cache l.Ev]G/5  
.j|uf[?h  
struts.objectTypeDeterminer /Qef[$!(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .Z"`:4O   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9(z) ^ G  
[E6ceX0  
struts.serve.static.browserCache Yjd/  
If static content served by the Struts filter should set browser caching header properties or not _G.!^+)kEm  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ef ?|0Gm  
N1.1  
struts.serve.static Lz-|M?(  
      Whether the Struts filter should serve static content or not !hS)W7!ik  
      是否struts过滤器应该提供静态内容 Y hmveV  
WDV=]D/OE  
struts.tag.altSyntax ; 8eGf'  
      Whether to use the alterative syntax for the tags or not gV h&c 4  
      是否可以用替代的语法替代tags pBv,,d`  
^>Z7."uGY  
struts.ui.templateDir B3?rR-2mEE  
      The directory containing UI templates Eaxsg  
      UI templates的目录夹 jAy2C&aP  
Q{'4,J-w  
struts.ui.theme M3F1O6=4j  
      The default UI template theme K[/L!.Ag  
      默认的UI template主题 :?FHqfN?_  
&N6[*7  
struts.url.http.port /]-yZ0hX0O  
      The HTTP port used by Struts URLs uWFyI"  
      设置http端口 ;PU'"MeB "  
h7TkMt[l  
struts.url.https.port +Ig%h[1a  
      The HTTPS port used by Struts URLs *fv BB9raq  
      设置https端口 Fo;:GX,b  
>#l: ]T  
struts.url.includeParams S+- $Ih`[  
      The default includeParams method to generate Struts URLs Sj|tR[SAoD  
      在url中产生 默认的includeParams EEK!'[<,sE  
pYr+n9)^  
.oTS7rYw  
struts.velocity.configfile t)?K@{ 9  
      The Velocity configuration file path Y`4 LMK[]  
      velocity配置文件路径 ) )FLM^dj  
&ynAB)  
struts.velocity.contexts |s(Ih_Zn  
      List of Velocity context names l`A&LQ[  
      velocity的context列表 =&9c5"V&  
UQ7]hX9  
p9u'nDi  
struts.velocity.manager.classname R4JfH  
      org.apache.struts2.views.velocity.VelocityManager implementation class >b=."i  
      org.apache.struts2.views.velocity.VelocityManager接口名 ONDO xXs  
h*!oHS~/l  
struts.velocity.toolboxlocation >G%oWRk  
      The location of the Velocity toolbox =mPe wx'  
      velocity工具盒的位置 )X|)X,~+-  
struts.xslt.nocache wF%RM$  
      Whether or not XSLT templates should not be cached fc<y(uX  
      是否XSLT模版应该被缓存 FkuD Gg~a  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八