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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 '%e@7Cs  
p:tp |/  
struts.action.extension 'Kmf6iK>[  
      The URL extension to use to determine if the request is meant for a Struts action 6E ^m*la%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (oCpQDab@  
"<egm^Yq  
struts.configuration ORX<ZO t1  
      The org.apache.struts2.config.Configuration implementation class o4a@{nt^,  
        org.apache.struts2.config.Configuration接口名 !+Cc^{  
bly `m p8#  
struts.configuration.files 3LQ u+EsS  
      A list of configuration files automatically loaded by Struts ?^:5`  
      struts自动加载的一个配置文件列表 }|/<!l+;$  
e GAto  
struts.configuration.xml.reload 3`3my=   
      Whether to reload the XML configuration or not qMVuBv  
      是否加载xml配置(true,false) TRgj`FG  
lM#/F\  
struts.continuations.package X pK eN2=p  
      The package containing actions that use Rife continuations 3^H-,b0^  
      含有actions的完整连续的package名称 qOD^ P  
It'kO jx]  
struts.custom.i18n.resources YJz06E1 -9  
      Location of additional localization properties files to load !6taOT>v  
      加载附加的国际化属性文件(不包含.properties后缀) s 64@<oU<"  
&`!H1E^  
struts.custom.properties \ D>!&   
      Location of additional configuration properties files to load x^`P[>  
      加载附加的配置文件的位置 LCIe1P2  
USgO`l\}4  
p+nB@fN/  
struts.devMode B;iJ$gt]  
      Whether Struts is in development mode or not l:~ >P[  
      是否为struts开发模式 }# Ji"e  
$WW7,  
struts.dispatcher.parametersWorkaround bB/fU7<{)u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 66W J=? JV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) BUL<FTg  
@Z""|H"0  
struts.enable.DynamicMethodInvocation F` gK6;zp  
      Allows one to disable dynamic method invocation from the URL ER!s  
        允许动态方法调用 jX$U)O  
lUnC+w#[  
struts.freemarker.manager.classname nYC S %\"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?: vB_@  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 r<dvo%I#|  
~}D"8[ABj  
struts.i18n.encoding ?*q-u9s9  
      The encoding to use for localization messages rV%;d[LB  
      国际化信息内码 ki `ur%h  
'./qBJ  
struts.i18n.reload $Vs5d= B  
      Whether the localization messages should automatically be reloaded 8v^AVg  
      是否国际化信息自动加载 ? R[GSS1  
>A L^y( G  
struts.locale j=Q ?d]  
      The default locale for the Struts application h=au`o&CG  
      默认的国际化地区信息 SrdCLT8  
"5sUE!)f  
struts.mapper.class 0x,4H30t(  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }lx'NY~(W  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1TN+pmc}@  
rc{F17~vX  
struts.multipart.maxSize oB!-JX9  
      The maximize size of a multipart request (file upload) bM W}.v!  
      multipart请求信息的最大尺寸(文件上传用) ,0,& L  
?[5_/0L,=  
struts.multipart.parser sU^K5oo  
      The org.apache.struts2.dispatcher.multipart. `9f7H  
      MultiPartRequest parser implementation for a multipart request (file upload) Y$hLsM\%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~ ^~+p  
'<C#"2  
WH+S d  
struts.multipart.saveDir .,p@ee$q  
      The directory to use for storing uploaded files 'A/{7*,  
      设置存储上传文件的目录夹 Co<F<eXe  
B]#iZ,Tp  
struts.objectFactory #@M'*X_%}K  
      The com.opensymphony.xwork2.ObjectFactory implementation class V8%( h[  
      com.opensymphony.xwork2.ObjectFactory接口(spring) dlV HyCW  
TPKm>5g  
struts.objectFactory.spring.autoWire _(@ezX.p  
      Whether Spring should autoWire or not b]Lp_t  
      是否自动绑定Spring :7qJ[k{g  
>hotkMX `3  
struts.objectFactory.spring.useClassCache }"^d<dvuz  
      Whether Spring should use its class cache or not ~X) 1!Sr  
      是否spring应该使用自身的cache K;g6V!U  
b:*( f#"q  
struts.objectTypeDeterminer f1Gyl  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gEq";B%?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l2 #^}-  
> lK:~~1  
struts.serve.static.browserCache GtqA@&5&  
If static content served by the Struts filter should set browser caching header properties or not c#[d7t8ONe  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a&n}pnEn)  
!xC IvKW  
struts.serve.static c=:A/z{  
      Whether the Struts filter should serve static content or not PtKrks|y  
      是否struts过滤器应该提供静态内容 A$J?-  
v kW2&  
struts.tag.altSyntax WWIQ6EJO  
      Whether to use the alterative syntax for the tags or not d[e;Fj!  
      是否可以用替代的语法替代tags 7lQ:}&  
&,=t2_n  
struts.ui.templateDir Bn d Y\  
      The directory containing UI templates yuZh ak  
      UI templates的目录夹 KSl@V>!_  
^;mGOjS  
struts.ui.theme <:0d%YB)  
      The default UI template theme lz0'E'%{P  
      默认的UI template主题 E K^["_*A  
u6p nO  
struts.url.http.port V34]5  
      The HTTP port used by Struts URLs J*f..:m  
      设置http端口 v<S?"# ]F=  
+JBYGYN&K  
struts.url.https.port b@N*W]  
      The HTTPS port used by Struts URLs bdyE9t   
      设置https端口 HNL;s5gq  
P/~kX_  
struts.url.includeParams 8IihG \  
      The default includeParams method to generate Struts URLs JI~@H /j  
      在url中产生 默认的includeParams E1rxuV|9  
.l]w4Hf  
G2_l}q~  
struts.velocity.configfile kF"G {5  
      The Velocity configuration file path k/#321Z  
      velocity配置文件路径 \kksZ4,  
zlN<yZB^  
struts.velocity.contexts 9y&&6r<I  
      List of Velocity context names #-FfyxQ8ai  
      velocity的context列表 E\=23[0  
F5EsaF'e4  
3ES3, uR  
struts.velocity.manager.classname 8#~x6\!b  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z<Ke /Xi  
      org.apache.struts2.views.velocity.VelocityManager接口名 8G p%Q  
dI9u: -  
struts.velocity.toolboxlocation dpcFS0  
      The location of the Velocity toolbox 0RGSv!w  
      velocity工具盒的位置 f{u3RCfX~2  
struts.xslt.nocache &H@OLyC  
      Whether or not XSLT templates should not be cached )3KQ QGi8  
      是否XSLT模版应该被缓存 "DNiVL.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八