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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 "@Qg]#]JH  
o ethO  
struts.action.extension Nema>T]  
      The URL extension to use to determine if the request is meant for a Struts action G"Hj$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :_o^oi7G  
oZi{v]4  
struts.configuration U/h@Q\~U  
      The org.apache.struts2.config.Configuration implementation class STPRC&7;  
        org.apache.struts2.config.Configuration接口名 Lw<.QMN%f  
Y6(= cm  
struts.configuration.files NGW:hgf  
      A list of configuration files automatically loaded by Struts bE3mOml  
      struts自动加载的一个配置文件列表 9A9T'g)Du  
Qr?1\H:Lq  
struts.configuration.xml.reload 8cuI-Swz  
      Whether to reload the XML configuration or not F|8;Swb5  
      是否加载xml配置(true,false) 8T"kQB.Zv  
6Q]JY,+  
struts.continuations.package rshUF  
      The package containing actions that use Rife continuations 6LabFX@{&  
      含有actions的完整连续的package名称 7'|aEH  
LbR'nG{J  
struts.custom.i18n.resources +/hd;s$x  
      Location of additional localization properties files to load y!_8m#n S  
      加载附加的国际化属性文件(不包含.properties后缀) B_XX)y%V  
6wZ)GLW[  
struts.custom.properties =RQI5 nHdw  
      Location of additional configuration properties files to load $\PU Y8  
      加载附加的配置文件的位置 as[! 9tB]  
F#.ph?W  
Hk=HO|&<XB  
struts.devMode r4b-.>w  
      Whether Struts is in development mode or not S7~HBgS<  
      是否为struts开发模式 }eveNPB{5  
j@{dsS: 6  
struts.dispatcher.parametersWorkaround .-Dc%ap]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic al7D3J  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >qd=lm <,  
buhbUmQ2  
struts.enable.DynamicMethodInvocation Q&/WVRD  
      Allows one to disable dynamic method invocation from the URL K@ a#^lmd  
        允许动态方法调用 R'fEw3^  
Ns5P,[pBOZ  
struts.freemarker.manager.classname ^|2m&2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class n98sY+$-z  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #)O^aac29  
1pjx8*!B  
struts.i18n.encoding !t\sg  
      The encoding to use for localization messages [.&n,.k  
      国际化信息内码 Ei=rBi  
=J'Q%qN<Zd  
struts.i18n.reload Hlpt zez  
      Whether the localization messages should automatically be reloaded :@-.whj  
      是否国际化信息自动加载 %.HLO.A  
5Sb-Bn  
struts.locale ]ZNFrpq  
      The default locale for the Struts application Q8$;##hzt  
      默认的国际化地区信息 zV(aw~CbZ  
F_4Et  
struts.mapper.class E0+~c1P-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U\M9sTqo  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ES8(:5  
t]?{"O1rC  
struts.multipart.maxSize ]bYmM@  
      The maximize size of a multipart request (file upload) g1(5QWb  
      multipart请求信息的最大尺寸(文件上传用) ):y^g:  
V/zmbo)  
struts.multipart.parser P!!O~P  
      The org.apache.struts2.dispatcher.multipart. kfZ(:3W$  
      MultiPartRequest parser implementation for a multipart request (file upload) 0|8cSE< i  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) D|^N9lDaQ  
G2-0r.f  
m!=5Q S3Z  
struts.multipart.saveDir e>bARK<  
      The directory to use for storing uploaded files ~ H/ZiBL@  
      设置存储上传文件的目录夹 >qmNT/  
DfVJ~,x~  
struts.objectFactory $8SSu|O+x  
      The com.opensymphony.xwork2.ObjectFactory implementation class pgZQ>%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Y/T-q<ag8  
PWkSl  
struts.objectFactory.spring.autoWire zS h9`F  
      Whether Spring should autoWire or not *zW]IQ'A  
      是否自动绑定Spring |$~]|SK  
v5U'ky :  
struts.objectFactory.spring.useClassCache 9<3fH J?vq  
      Whether Spring should use its class cache or not #zBqj;p  
      是否spring应该使用自身的cache u7j,Vc'~  
-= izu]Fb,  
struts.objectTypeDeterminer $1Zr.ERL|(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =%s6QFR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 NytodVZ'3  
R~fk/T?  
struts.serve.static.browserCache YHMJ5IM@.  
If static content served by the Struts filter should set browser caching header properties or not B]6Lbp"oo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *xY3F8  
xvomn`X1  
struts.serve.static p1 ("  
      Whether the Struts filter should serve static content or not {-f%g-@L6|  
      是否struts过滤器应该提供静态内容 g:GywX W  
ZSyXzop  
struts.tag.altSyntax |f!J-H)  
      Whether to use the alterative syntax for the tags or not &0fV;%N  
      是否可以用替代的语法替代tags &xGpbJG  
#M5d,%?+#[  
struts.ui.templateDir 5?([jAOf  
      The directory containing UI templates H4j1yD(d  
      UI templates的目录夹 Cpy&2o-%v  
}X/YMgJ  
struts.ui.theme _6'@#DN  
      The default UI template theme 5HE5$S  
      默认的UI template主题 =6'bGC%c  
P ?n k>  
struts.url.http.port (h g6<`  
      The HTTP port used by Struts URLs 8Op^6rX4  
      设置http端口 jzBW'8  
sg49a9`8  
struts.url.https.port leI ]zDk=  
      The HTTPS port used by Struts URLs %~8f0B|im  
      设置https端口 E> $_ $'  
pZ3sp!  
struts.url.includeParams T<NOL fk66  
      The default includeParams method to generate Struts URLs #f/4%|t:  
      在url中产生 默认的includeParams .D\oKhV(  
[IAk9B.\  
b;#_?2c  
struts.velocity.configfile y` '#gH  
      The Velocity configuration file path lyyf&?2  
      velocity配置文件路径 \7pEn  
^:}C,lIrG  
struts.velocity.contexts -Dy<B  
      List of Velocity context names o4Cq  /K  
      velocity的context列表 WWH<s%C  
NffKK:HvBB  
tE <?L  
struts.velocity.manager.classname )Q>Ao.  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z @ef2y;  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;[[6[i  
#8ltV`  
struts.velocity.toolboxlocation kM&-t&7  
      The location of the Velocity toolbox $5&~gHc,  
      velocity工具盒的位置 "* N#-=MJF  
struts.xslt.nocache b{{ H@LTW  
      Whether or not XSLT templates should not be cached 5 6.JB BZZ  
      是否XSLT模版应该被缓存 "Z;({a$v  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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