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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `^#V1kRmH  
}_GI%+t  
struts.action.extension < X&{6xu  
      The URL extension to use to determine if the request is meant for a Struts action } 0^wJs  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 25m6/Y  
,{rm<M.)  
struts.configuration B$)&;Q  
      The org.apache.struts2.config.Configuration implementation class Vub ($  
        org.apache.struts2.config.Configuration接口名 qQ=\R1l  
b8$(j2B~  
struts.configuration.files V3] Z~@  
      A list of configuration files automatically loaded by Struts U) B^R  
      struts自动加载的一个配置文件列表 N{o3w.g  
E>2~cC*  
struts.configuration.xml.reload !b:;O +[  
      Whether to reload the XML configuration or not cZd{K[fuK  
      是否加载xml配置(true,false) /ltGSl  
 jcVK4jW  
struts.continuations.package N sNk  
      The package containing actions that use Rife continuations yL.Z{wd  
      含有actions的完整连续的package名称 | bWvQdN  
`zmj iC  
struts.custom.i18n.resources O77bm,E  
      Location of additional localization properties files to load -Uu65m~:{k  
      加载附加的国际化属性文件(不包含.properties后缀) )e6)~3[^  
fH6mv0  
struts.custom.properties WY3D.z-</  
      Location of additional configuration properties files to load yWkg4  
      加载附加的配置文件的位置 mO|YX/>  
p%?m|(4f  
OqNtTk+  
struts.devMode J=@D]I*3  
      Whether Struts is in development mode or not 1GA$nFBVC  
      是否为struts开发模式 F9\T <  
m.0: R  
struts.dispatcher.parametersWorkaround ,rZp(moj  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic PW)Gd +y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) AFN"#M  
/Q*o6G ys0  
struts.enable.DynamicMethodInvocation u:[vqlU  
      Allows one to disable dynamic method invocation from the URL +#Q\;; FNP  
        允许动态方法调用 X6`F<H`  
&Bfgvws;  
struts.freemarker.manager.classname l*(Ml= O{  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class AIK99  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 N# ?}r>W3  
.{}=!>U2  
struts.i18n.encoding {P[>B}'rW  
      The encoding to use for localization messages hI Q 2s  
      国际化信息内码 |2'u@<(Z/  
q` Z_Bw  
struts.i18n.reload DE659=Tq  
      Whether the localization messages should automatically be reloaded h|Z%b_a  
      是否国际化信息自动加载 34e> R?J  
E!_mXjlPc  
struts.locale +T|M U  
      The default locale for the Struts application Q^c)T>OAI  
      默认的国际化地区信息 LFHzd@Y7"  
R_ |Sg  
struts.mapper.class ~0 5p+F)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class r iuG,$EX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Utv#E.VI  
:#I7);ol  
struts.multipart.maxSize \4qw LM?E^  
      The maximize size of a multipart request (file upload) d=J$H<  
      multipart请求信息的最大尺寸(文件上传用) C[0*>W8o  
byrK``f  
struts.multipart.parser dd{pF\a  
      The org.apache.struts2.dispatcher.multipart. oI2YJ2?Je8  
      MultiPartRequest parser implementation for a multipart request (file upload) 5OS|Vp||b  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9+!1jTGSkf  
|y T-N3H@  
AXmW7/Sj"  
struts.multipart.saveDir C % d  
      The directory to use for storing uploaded files d \[cFe1d  
      设置存储上传文件的目录夹 /j|Rz5@ =  
F[HMX4  
struts.objectFactory yCt,-mz!z  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8;vpa*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) o fw0_)!Q  
U0Q:sA U  
struts.objectFactory.spring.autoWire uOU?-WtPz  
      Whether Spring should autoWire or not WhY8#B'?  
      是否自动绑定Spring )4@La&  
|4lrVYG^K  
struts.objectFactory.spring.useClassCache V < ;vy&&  
      Whether Spring should use its class cache or not l{u2W$8  
      是否spring应该使用自身的cache 1+0DTqWz  
>^\}"dEvr  
struts.objectTypeDeterminer !rwe|"8m?u  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &y~EEh|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 E/[<} ./  
y;1 'hP&  
struts.serve.static.browserCache n@ rphJb  
If static content served by the Struts filter should set browser caching header properties or not oI/jGyY;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 LEJ8 .z6$  
\8 ~`NF  
struts.serve.static ;uK">L[u'  
      Whether the Struts filter should serve static content or not nGvWlx  
      是否struts过滤器应该提供静态内容 ^.]]0Rp&  
Fy!-1N9|l  
struts.tag.altSyntax sh|@X\EZO  
      Whether to use the alterative syntax for the tags or not aLKvl~s;m  
      是否可以用替代的语法替代tags GLIe8T*ht  
Wdp?<U  
struts.ui.templateDir 2S`D7R#6s  
      The directory containing UI templates vI)-Zz[3  
      UI templates的目录夹 B)1.CHV%<  
ag~4m5n*~  
struts.ui.theme K$K6,54y  
      The default UI template theme IW1+^F9NEw  
      默认的UI template主题 ?jDdF  
beN(7jo  
struts.url.http.port Q8^fgI|  
      The HTTP port used by Struts URLs 5*he  
      设置http端口 ecjjCt2S  
9N?BWv }  
struts.url.https.port '=^$ ;3Z  
      The HTTPS port used by Struts URLs l'#P:eW  
      设置https端口 eC71;"  
m:{ws~   
struts.url.includeParams TAl#V 7PF}  
      The default includeParams method to generate Struts URLs *;]j#0  
      在url中产生 默认的includeParams pjI< cQ&  
 b}eBy  
?mjQN|D  
struts.velocity.configfile ^/k`URQ  
      The Velocity configuration file path :vqfWK6mv  
      velocity配置文件路径 #UO#kC<2(B  
oK!W<#  
struts.velocity.contexts 8D[,z 7n  
      List of Velocity context names n%"0%A  
      velocity的context列表 1E]|>)$  
y_mD9bgW  
fT&>L  
struts.velocity.manager.classname RkW)B^#  
      org.apache.struts2.views.velocity.VelocityManager implementation class S<+/Ep 2  
      org.apache.struts2.views.velocity.VelocityManager接口名 AZi|85rN  
K:i{us`  
struts.velocity.toolboxlocation mROXwzL  
      The location of the Velocity toolbox c,\!<4  
      velocity工具盒的位置 \vU1*:3  
struts.xslt.nocache 0!^vQ  
      Whether or not XSLT templates should not be cached 6tKm'`^z4  
      是否XSLT模版应该被缓存 lM<SoC;[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八