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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tuT>,BbR  
0R2KI,WI  
struts.action.extension S2y_5XJ<D  
      The URL extension to use to determine if the request is meant for a Struts action 2IfcdYG  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~Up5+7k@  
&>nB@SQZ  
struts.configuration QZwUv<*  
      The org.apache.struts2.config.Configuration implementation class `O+}$wP  
        org.apache.struts2.config.Configuration接口名 JM&`&fsOC{  
[3K& cX}B  
struts.configuration.files .rPg  
      A list of configuration files automatically loaded by Struts ?04jkq&  
      struts自动加载的一个配置文件列表 u[:-^H  
6!39t  
struts.configuration.xml.reload .1{:Q1"S  
      Whether to reload the XML configuration or not Dj9 v9  
      是否加载xml配置(true,false) hs;YMUA"  
84f(BE  
struts.continuations.package ^X]rFY1  
      The package containing actions that use Rife continuations ^;8dl.;  
      含有actions的完整连续的package名称 p>ba6BDJT  
ltWEA  
struts.custom.i18n.resources $)YalZ  
      Location of additional localization properties files to load at|.Q*&a#  
      加载附加的国际化属性文件(不包含.properties后缀) ,kQCCn]  
7v']wA r]  
struts.custom.properties "g5<jp  
      Location of additional configuration properties files to load QBYY1)6S,  
      加载附加的配置文件的位置 }j)][{i*x  
(^HU|   
9^?2{aP%  
struts.devMode W-RqooEv  
      Whether Struts is in development mode or not C6JwJYa  
      是否为struts开发模式 )H1\4LeP  
7VIfRN{5n  
struts.dispatcher.parametersWorkaround j'uzjs[  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NwcRH9};i  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) H2S/!Q;K  
[]-<-TqJ  
struts.enable.DynamicMethodInvocation %ONU0xtqk  
      Allows one to disable dynamic method invocation from the URL )%JjV(:  
        允许动态方法调用 t`- [  
l3Qt_I)L  
struts.freemarker.manager.classname ^\oMsU5(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class tXCgRU  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 X Z=%XB:?  
TVZf@U  
struts.i18n.encoding wii.0~p  
      The encoding to use for localization messages >~l^E!<i-u  
      国际化信息内码 +ovT?CM o  
`.g'bZ<v/  
struts.i18n.reload \;+TZ1i_  
      Whether the localization messages should automatically be reloaded 3>v-,S+  
      是否国际化信息自动加载 l(pP*2  
v'Pbx  
struts.locale 2c'<rkA  
      The default locale for the Struts application M_O)w^ '  
      默认的国际化地区信息 U UhlKV|5  
gg.lajX  
struts.mapper.class zWrynJ}s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class cpm *m"Nk  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 b w!  
o]eG+i6g]  
struts.multipart.maxSize Elt" tJ  
      The maximize size of a multipart request (file upload) gSHN,8. `  
      multipart请求信息的最大尺寸(文件上传用) IC6'>2'=T  
q26 qY5D  
struts.multipart.parser w5vzj%6i  
      The org.apache.struts2.dispatcher.multipart. I%jlM0ZUI"  
      MultiPartRequest parser implementation for a multipart request (file upload) ,ZZ5A;)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,b<m],p  
h %5keiA  
6n\){dkZ~  
struts.multipart.saveDir $k+XH+1CW  
      The directory to use for storing uploaded files QJ%N80  
      设置存储上传文件的目录夹 ba)hWtenH  
)=!|^M  
struts.objectFactory / <+F/R'=O  
      The com.opensymphony.xwork2.ObjectFactory implementation class Q$5%9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %Q=rm!Syv  
psuK\ s  
struts.objectFactory.spring.autoWire a{Y8 hR  
      Whether Spring should autoWire or not !/]z-z2>  
      是否自动绑定Spring F jW%M;H  
)1g\v8XT  
struts.objectFactory.spring.useClassCache {rzQ[_)EC  
      Whether Spring should use its class cache or not +1K= ]#a  
      是否spring应该使用自身的cache d>0 j!+s  
R8Dn GR  
struts.objectTypeDeterminer a_z f*;  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W]D+[mpgK  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 sfp.>bMj  
xs?]DJj  
struts.serve.static.browserCache ,nWZJ&B  
If static content served by the Struts filter should set browser caching header properties or not 16"L;r  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8\bZ?n#dn  
gu1n0N`b  
struts.serve.static u&'&E   
      Whether the Struts filter should serve static content or not ~7H?tp.Dw  
      是否struts过滤器应该提供静态内容 1]aya(  
d 1 O+qS  
struts.tag.altSyntax Pu}PE-b  
      Whether to use the alterative syntax for the tags or not ||;a#FZ^  
      是否可以用替代的语法替代tags j?(@x>HA  
0C717  
struts.ui.templateDir xw3A|Aj?r  
      The directory containing UI templates P9]95.j  
      UI templates的目录夹 qX]ej 2  
OQ _wsAA  
struts.ui.theme RohD.`D  
      The default UI template theme %sS7o3RW\  
      默认的UI template主题 ;_1 >nXh  
)J&!>GP  
struts.url.http.port u2 U4MV1C  
      The HTTP port used by Struts URLs R[2h!.O8  
      设置http端口 G EAVc9V  
QezDm^<  
struts.url.https.port e(k$k>?  
      The HTTPS port used by Struts URLs cKAZWON8;v  
      设置https端口 cx4'rK.  
8;P_KRaE  
struts.url.includeParams g%d&>y?1r  
      The default includeParams method to generate Struts URLs N-GQ\&   
      在url中产生 默认的includeParams 7@i2Mz/eV  
z|G 39  
+,}CuF  
struts.velocity.configfile I[I]C9D  
      The Velocity configuration file path 0"M0tA#  
      velocity配置文件路径 ?T:$:IHw  
A\<WnG>xjP  
struts.velocity.contexts !& xc.39  
      List of Velocity context names a<{+ J U5  
      velocity的context列表 h>K%Ox R  
"zN]gz=OV>  
R P6R1iN3  
struts.velocity.manager.classname (`Q_^Bfyl  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9!|.b::  
      org.apache.struts2.views.velocity.VelocityManager接口名 Gnmxp%&}P|  
>a1 ovKF  
struts.velocity.toolboxlocation ic|>JX$G  
      The location of the Velocity toolbox lr@H4EJ{  
      velocity工具盒的位置 S#, E)h/  
struts.xslt.nocache as| MB (  
      Whether or not XSLT templates should not be cached u<{uUui}$v  
      是否XSLT模版应该被缓存 CI6qDh6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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