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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 cy1\u2x_`  
tCZpfZ@+=  
struts.action.extension i^je.,Bi  
      The URL extension to use to determine if the request is meant for a Struts action 'rS'B.D  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 WYSck&9  
T?H\&2CLT  
struts.configuration ZJ^s}  
      The org.apache.struts2.config.Configuration implementation class 0SJ{@*  
        org.apache.struts2.config.Configuration接口名 7'_nc!ME  
Sdgb#?MR|  
struts.configuration.files %S{o5txo  
      A list of configuration files automatically loaded by Struts nHSTeF I?  
      struts自动加载的一个配置文件列表 uDILjOT  
T|;^.TZ  
struts.configuration.xml.reload McEmd.S<n  
      Whether to reload the XML configuration or not }l.KpdRT2  
      是否加载xml配置(true,false) LkaG8#m1R  
M$,Jg5Dc  
struts.continuations.package )*!1bgXQ  
      The package containing actions that use Rife continuations  Nm jzDN  
      含有actions的完整连续的package名称 ;xSRwSNDi(  
>4Iv[ D1  
struts.custom.i18n.resources N\_( w:q  
      Location of additional localization properties files to load "3@KRb4f  
      加载附加的国际化属性文件(不包含.properties后缀) 9n_ eCb)H  
XK1fHfCEa  
struts.custom.properties 7k 3p'FeS  
      Location of additional configuration properties files to load LL{t5(- _  
      加载附加的配置文件的位置 +jcdf}  
4w@v#H@  
N%O[  
struts.devMode >P(eW7RL  
      Whether Struts is in development mode or not :OHSxb>[  
      是否为struts开发模式  q4_**  
gk"mr_03  
struts.dispatcher.parametersWorkaround D2Y&[zgv  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F b1EMVu  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `Gf{z%/  
SLSF <$  
struts.enable.DynamicMethodInvocation jUYF.K&  
      Allows one to disable dynamic method invocation from the URL YjFWC!Qj$  
        允许动态方法调用 =]T|h  
[d0%.+U  
struts.freemarker.manager.classname DK)u)?!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class V{KjRSVf=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 K~USK?Q%  
1x { XE*%;  
struts.i18n.encoding M z9 3  
      The encoding to use for localization messages _O$tuC%  
      国际化信息内码 -zprNQW  
R3$@N  
struts.i18n.reload .Nc_n5D6  
      Whether the localization messages should automatically be reloaded Pow|:Lau!  
      是否国际化信息自动加载 ,`<]>;s  
Bgf=\7;5  
struts.locale mLJDxh'B  
      The default locale for the Struts application $>;a 'f~  
      默认的国际化地区信息 ?k"0w)8  
7 xUE,)?  
struts.mapper.class 3Mw}R6g@#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class C}9Kx }q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .U<F6I:<md  
C]/&vh7ta  
struts.multipart.maxSize FK6K6wU52m  
      The maximize size of a multipart request (file upload) Z^<Sj5}6  
      multipart请求信息的最大尺寸(文件上传用) rmoJ =.'  
#7+]%;h  
struts.multipart.parser ^=k {~  
      The org.apache.struts2.dispatcher.multipart. A&NqQ V,  
      MultiPartRequest parser implementation for a multipart request (file upload) 6>s=Ci ZB  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pOKeEW<q  
=9(tsB gTX  
^L ]B5,} -  
struts.multipart.saveDir N^lAG"Jao[  
      The directory to use for storing uploaded files wajZqC2yg  
      设置存储上传文件的目录夹 4x(F&0  
bhn5Lz$z  
struts.objectFactory +SyUWoM  
      The com.opensymphony.xwork2.ObjectFactory implementation class b]w[*<f?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0:. 6rp  
":V%(c  
struts.objectFactory.spring.autoWire B.}cB'|  
      Whether Spring should autoWire or not V(r`.75  
      是否自动绑定Spring  ER_ 3'  
XwtAF3oz  
struts.objectFactory.spring.useClassCache RYH)AS4w'  
      Whether Spring should use its class cache or not \p3v#0R{  
      是否spring应该使用自身的cache bGu([VB  
6i| ~7md,  
struts.objectTypeDeterminer ! j{CuA/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class iyc$)"w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 O)`Gzx*ShU  
v[VC2D  
struts.serve.static.browserCache e]+7DE  
If static content served by the Struts filter should set browser caching header properties or not }Fm\+JOS   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?&6Q%IUW1  
J]dW1boT@  
struts.serve.static ~?CS_B *  
      Whether the Struts filter should serve static content or not * .o"ZVl  
      是否struts过滤器应该提供静态内容 3+%nn+m  
z<i,D08|d  
struts.tag.altSyntax ;7L;  
      Whether to use the alterative syntax for the tags or not 3 &Sp@,  
      是否可以用替代的语法替代tags k1 RV'  
|WBZN1W)  
struts.ui.templateDir u (AA`S"  
      The directory containing UI templates 9ZhDZ~)p,  
      UI templates的目录夹 U:\p$hL9  
F*,5\s<  
struts.ui.theme )%t7\1)B3  
      The default UI template theme >C*4_J7  
      默认的UI template主题 >P<'L4;  
"Vx6 #u@}  
struts.url.http.port 1LX)4TCC  
      The HTTP port used by Struts URLs V,vc_d?,_o  
      设置http端口 WI{; #A  
d+e0;!s~O  
struts.url.https.port /e(W8aszi  
      The HTTPS port used by Struts URLs g8'~e{= (  
      设置https端口 5#2jq<D  
,WGc7NN`  
struts.url.includeParams /S[?{QA  
      The default includeParams method to generate Struts URLs 14-]esSa  
      在url中产生 默认的includeParams ] );NnsG  
>8(jW  
'B,KFA<  
struts.velocity.configfile {"t5\U6cKM  
      The Velocity configuration file path \ FXp*FbQ  
      velocity配置文件路径 ~?d>fR:X  
;Yv14{T!  
struts.velocity.contexts hJLT!33:  
      List of Velocity context names Qh8C,"a  
      velocity的context列表 UBIIo'u  
8jNOEM(0Y+  
Z0W0uP;J  
struts.velocity.manager.classname 2LC w*eT{)  
      org.apache.struts2.views.velocity.VelocityManager implementation class # M>wH`Q#  
      org.apache.struts2.views.velocity.VelocityManager接口名 Sz)b7:  
jqtVpNwM  
struts.velocity.toolboxlocation x;(g  
      The location of the Velocity toolbox lC4PKm no  
      velocity工具盒的位置 bJ6p,]g  
struts.xslt.nocache ol}`Wwy  
      Whether or not XSLT templates should not be cached .6Fsw    
      是否XSLT模版应该被缓存 fM2^MUp[=1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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