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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]+0-$t7Y  
:EgdV  
struts.action.extension CW\o>yh  
      The URL extension to use to determine if the request is meant for a Struts action /p\Ymq  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =@pm-rI|-  
xHsH .f_{  
struts.configuration yE9JMi 0  
      The org.apache.struts2.config.Configuration implementation class 6(9Ta'ywZ  
        org.apache.struts2.config.Configuration接口名 lk.Q6saI1  
gbpm::  
struts.configuration.files k6JB%m\E  
      A list of configuration files automatically loaded by Struts $pk3d+0B  
      struts自动加载的一个配置文件列表 i`&yPw  
#a#~YSnG  
struts.configuration.xml.reload Aog 3d\1$  
      Whether to reload the XML configuration or not 0nx <f>n  
      是否加载xml配置(true,false) C,2IET  
h83ho  
struts.continuations.package 5[l3]HOO  
      The package containing actions that use Rife continuations 1+eC'&@Xjt  
      含有actions的完整连续的package名称 9Z*`{  
R5]R pW=G  
struts.custom.i18n.resources WY 2b  
      Location of additional localization properties files to load 6./&l9{h+  
      加载附加的国际化属性文件(不包含.properties后缀) w**.8]A"N  
>qtB27jV  
struts.custom.properties FGwz5@|E  
      Location of additional configuration properties files to load DP^{T/G  
      加载附加的配置文件的位置 KXw \N!  
N)poe2[  
3tXtt@Yy  
struts.devMode 9}}D -&Mc  
      Whether Struts is in development mode or not )Xd=EWGUS  
      是否为struts开发模式 oeIB1DaI  
XQj`KUO@  
struts.dispatcher.parametersWorkaround 9q* sR1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Br#]FB|tD  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) w-/bLg[L?$  
s #L1:L  
struts.enable.DynamicMethodInvocation [Hd^49<P2  
      Allows one to disable dynamic method invocation from the URL yr sP'th  
        允许动态方法调用 _9n.ir5YX  
u x:,io  
struts.freemarker.manager.classname :Hd?0eZ|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CWBsiL f  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Q]6nW[@j'  
?'T>/<(  
struts.i18n.encoding WDzov9ot  
      The encoding to use for localization messages NmB0CbB  
      国际化信息内码 tm]75*?  
fiw~"2U  
struts.i18n.reload B|extWwu  
      Whether the localization messages should automatically be reloaded z[t$[Q g  
      是否国际化信息自动加载 ybS7uo  
ev8 E.ehD  
struts.locale }1R k]$XC  
      The default locale for the Struts application W!tP sPM  
      默认的国际化地区信息 I5x/N.  
g"T~)SQP  
struts.mapper.class ?Fi-,4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f[|xp?ef  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 TqQ>\h"&_  
0eQ5LG?)  
struts.multipart.maxSize $~D`-+J  
      The maximize size of a multipart request (file upload) :~T:&;q0  
      multipart请求信息的最大尺寸(文件上传用) <[~x]-  
Hlz4f+#I  
struts.multipart.parser $wN'mY  
      The org.apache.struts2.dispatcher.multipart. :eIB K  
      MultiPartRequest parser implementation for a multipart request (file upload) m k -" U7;  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) v0$6@K;M4G  
9MHb<~F  
hJd#Gc~*M  
struts.multipart.saveDir :nwcO3~`  
      The directory to use for storing uploaded files PI{sO |  
      设置存储上传文件的目录夹 }1 _gemlf  
J puW !I  
struts.objectFactory >Y2Rr9  
      The com.opensymphony.xwork2.ObjectFactory implementation class <CA lJ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) PKjA@+  
iicrRGp3  
struts.objectFactory.spring.autoWire ie$=3nZJ}  
      Whether Spring should autoWire or not ~!:F'}bj  
      是否自动绑定Spring m2_&rjGz  
(b{ {B$O  
struts.objectFactory.spring.useClassCache {.!:T+'Xi\  
      Whether Spring should use its class cache or not  bM-Y4[  
      是否spring应该使用自身的cache }*R" yp  
>Mvt;'c  
struts.objectTypeDeterminer ^2mXXAQf7^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gcv,]v 8  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N}dJ)<(2~  
pg>P]a{  
struts.serve.static.browserCache -9aht}Z  
If static content served by the Struts filter should set browser caching header properties or not RisrU  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *K+*0_  
G %#us3x  
struts.serve.static 2}}~\C}o+  
      Whether the Struts filter should serve static content or not $iP#8La:Y  
      是否struts过滤器应该提供静态内容 ZnJnjW PQ  
t8P>s})[4  
struts.tag.altSyntax 55!9U:{  
      Whether to use the alterative syntax for the tags or not :\bttPw5  
      是否可以用替代的语法替代tags @8CD@SDv  
LZoth+:  
struts.ui.templateDir x%(!+  
      The directory containing UI templates ikxSWO_Y=  
      UI templates的目录夹 ho(Y?'^t3  
_OrE{  
struts.ui.theme nEGku]pCH{  
      The default UI template theme -Z;:_"&9  
      默认的UI template主题 Jhj]rsGk  
G)e 20Mst  
struts.url.http.port <=7p~ i5  
      The HTTP port used by Struts URLs 94a _ W9  
      设置http端口 ,]cd%w9  
D:F!;n9  
struts.url.https.port AVcZ.+?  
      The HTTPS port used by Struts URLs SU#|&_wtr!  
      设置https端口 { j/w3  
t 1&p> v  
struts.url.includeParams ar^`r!ABEh  
      The default includeParams method to generate Struts URLs BFEo:!'F  
      在url中产生 默认的includeParams NKB! _R+  
I 9u=RI s  
D^TKv;%d  
struts.velocity.configfile _n_i*p '2  
      The Velocity configuration file path )Tb;N  
      velocity配置文件路径 pD>3c9J'^F  
J`x9 XWYw  
struts.velocity.contexts j2\G1@05  
      List of Velocity context names K^> qn,]H'  
      velocity的context列表 ,%jJ ,G,  
XSxya .1  
3 (}?f  
struts.velocity.manager.classname A5/h*`Q\\  
      org.apache.struts2.views.velocity.VelocityManager implementation class t)m4"p7  
      org.apache.struts2.views.velocity.VelocityManager接口名 8ziYav  
% idnm  
struts.velocity.toolboxlocation un /eS-IIh  
      The location of the Velocity toolbox N&ddO-r[s  
      velocity工具盒的位置 (*;u{m=  
struts.xslt.nocache jG^~{7#  
      Whether or not XSLT templates should not be cached ze ua`jQ  
      是否XSLT模版应该被缓存 3n/L; T,X  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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