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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5dx&Qu'}ZS  
zPEg  
struts.action.extension e& ANp0|W  
      The URL extension to use to determine if the request is meant for a Struts action RUCPV[{b  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (F7_S*  
iFSJL,QZ3  
struts.configuration D2YZ9e   
      The org.apache.struts2.config.Configuration implementation class Sz{O2 l Y  
        org.apache.struts2.config.Configuration接口名 41#w|L \  
%or,{mmiM:  
struts.configuration.files ,1q_pep~?%  
      A list of configuration files automatically loaded by Struts _qvK*nE  
      struts自动加载的一个配置文件列表 VhT= l  
in<Rq"L  
struts.configuration.xml.reload " +KJop  
      Whether to reload the XML configuration or not 9/SXs0  
      是否加载xml配置(true,false) ej&<GM|  
sDgXU@  
struts.continuations.package IYWjH E+)d  
      The package containing actions that use Rife continuations >Sa*`q3J  
      含有actions的完整连续的package名称 ERUt'1F?]  
BY\:dx)mK  
struts.custom.i18n.resources rzrl>9 h  
      Location of additional localization properties files to load 3`O?16O  
      加载附加的国际化属性文件(不包含.properties后缀) X u"R^  
)f+U~4G&  
struts.custom.properties k&#a\OJ7u  
      Location of additional configuration properties files to load 0Q"u#V Sp  
      加载附加的配置文件的位置 @L84>3O  
#6+ FY+/  
o sbHs$C  
struts.devMode bf_I9Z3m  
      Whether Struts is in development mode or not ggt DN{t  
      是否为struts开发模式 6{x,*[v  
-71dN0hWh  
struts.dispatcher.parametersWorkaround sDqe(x}a  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {qKxz9.y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eRbGZYrJ  
?%R w(E  
struts.enable.DynamicMethodInvocation |eoid?=  
      Allows one to disable dynamic method invocation from the URL qo+N,x9o  
        允许动态方法调用 ?3z-_8#  
;TQf5|R\K  
struts.freemarker.manager.classname tg4Y i|5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class zWw2V}U!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 w)E@*h<Z  
VS#wl|b8  
struts.i18n.encoding QYXx:nIrg  
      The encoding to use for localization messages 0YH+B   
      国际化信息内码 {"*VU3%q  
"`}~~.q  
struts.i18n.reload ZA~Z1Mro#"  
      Whether the localization messages should automatically be reloaded v,NHQyk  
      是否国际化信息自动加载 Uu6L~iB  
CZ 2`H[8  
struts.locale M"q[p  
      The default locale for the Struts application M_B:{%4  
      默认的国际化地区信息 z2ms^Y=j  
Ap&)6g   
struts.mapper.class Uts"aQ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "wH)mQnd  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  R7oj#  
%v5R#14[n  
struts.multipart.maxSize jD) {I  
      The maximize size of a multipart request (file upload) W]<$0  
      multipart请求信息的最大尺寸(文件上传用) K.tlo^#^B[  
"Z,q?Fc  
struts.multipart.parser J?)RfK|!  
      The org.apache.struts2.dispatcher.multipart. *VSel4;\t  
      MultiPartRequest parser implementation for a multipart request (file upload) 3zuF{Q2P<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @e~]t}fH  
g*\/N,"z  
lJykyyCY+  
struts.multipart.saveDir ,O=a*%0rt  
      The directory to use for storing uploaded files MgnM,95  
      设置存储上传文件的目录夹 c- $Gpa}M  
CR4rDh8za  
struts.objectFactory ?tf&pgo  
      The com.opensymphony.xwork2.ObjectFactory implementation class 78n}rT%k1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3HG;!D~m;  
;N+$2w  
struts.objectFactory.spring.autoWire dYFzye  
      Whether Spring should autoWire or not @$Qof1j'%  
      是否自动绑定Spring mOll5O7VW  
fbrp#G71y  
struts.objectFactory.spring.useClassCache 1Wg-x0R  
      Whether Spring should use its class cache or not :(3|HTz  
      是否spring应该使用自身的cache NX* O_/  
(J$\-a7<f  
struts.objectTypeDeterminer z^* '@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <dA8 '7^  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pvWau1ArNq  
Hyk'c't_O  
struts.serve.static.browserCache 5G}6;UY  
If static content served by the Struts filter should set browser caching header properties or not !.-tW7   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]>##`X  
&'|B =7  
struts.serve.static h4&;?T S  
      Whether the Struts filter should serve static content or not : 2V^K&2L  
      是否struts过滤器应该提供静态内容 -P=g3Q i  
p?(L'q"WK  
struts.tag.altSyntax {B$2"q/~  
      Whether to use the alterative syntax for the tags or not :@ uIxa$[  
      是否可以用替代的语法替代tags n_[i0x7#  
.W\ve>;  
struts.ui.templateDir ,cTgR78'  
      The directory containing UI templates "yb WDWu  
      UI templates的目录夹 @`u?bnx]e  
*a}(6Cx  
struts.ui.theme = Je>`{J  
      The default UI template theme ]rd/;kg.S  
      默认的UI template主题 *ck}|RhR  
YZ#V#[j'^  
struts.url.http.port H{ M)-  
      The HTTP port used by Struts URLs `%K`gYhG1  
      设置http端口 W-2i+g)  
noVa=aU^  
struts.url.https.port 8``;0}'PC  
      The HTTPS port used by Struts URLs <~Q i67I  
      设置https端口 U0B2WmT~Q  
 GrJ#.  
struts.url.includeParams UgHf*m  
      The default includeParams method to generate Struts URLs Gu(lI ~  
      在url中产生 默认的includeParams O0l^*nZ46t  
e&Y0}oY  
'E;W  
struts.velocity.configfile j28_Hh T  
      The Velocity configuration file path N?r>%4  
      velocity配置文件路径 my^ak*N  
f*((;*n ;  
struts.velocity.contexts hAR? t5c  
      List of Velocity context names 8 ,}ikOZ?  
      velocity的context列表 #~Q=h`9  
y+mElG$F  
To"dG& h  
struts.velocity.manager.classname D=?{8'R'  
      org.apache.struts2.views.velocity.VelocityManager implementation class I8m:3fL"  
      org.apache.struts2.views.velocity.VelocityManager接口名 -<f/\U  
0Vv9BL{  
struts.velocity.toolboxlocation  I?Y d   
      The location of the Velocity toolbox 54p tP  
      velocity工具盒的位置 sLh0&R7   
struts.xslt.nocache Iq' O  
      Whether or not XSLT templates should not be cached ,4F,:w  
      是否XSLT模版应该被缓存 9V!-ZG  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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