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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,Tegrz&G  
rwP)TJh"  
struts.action.extension [)GRP  
      The URL extension to use to determine if the request is meant for a Struts action d^!k{Qx'  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 f5b|,JJ  
3!fR'L/i  
struts.configuration dzAumWoh  
      The org.apache.struts2.config.Configuration implementation class SG|AJ9  
        org.apache.struts2.config.Configuration接口名 \ERxr   
C/qKa[mg  
struts.configuration.files @fp@1n  
      A list of configuration files automatically loaded by Struts k3@d = k  
      struts自动加载的一个配置文件列表 <HN+pi  
yI#qkl-  
struts.configuration.xml.reload jl(D;JnF  
      Whether to reload the XML configuration or not E QU@';~8  
      是否加载xml配置(true,false) UXdc'i g  
Qj_)^3`e  
struts.continuations.package x>TIx[ x  
      The package containing actions that use Rife continuations HR8YPU5  
      含有actions的完整连续的package名称 I *sT*;U  
V6HZvuXV!  
struts.custom.i18n.resources ,Ww}xmq1H  
      Location of additional localization properties files to load "5 ~{  
      加载附加的国际化属性文件(不包含.properties后缀) sCzpNJ"8  
A:GqR;;"x>  
struts.custom.properties HJ]e%og  
      Location of additional configuration properties files to load Y9<[n)>+  
      加载附加的配置文件的位置 +ZW>JjP*  
iQ8{N:58DN  
d v[.u{#tP  
struts.devMode f:&JKB)N  
      Whether Struts is in development mode or not r,0D I  
      是否为struts开发模式 %aK[Yvo6  
ol/@)k^s>  
struts.dispatcher.parametersWorkaround 7=}tJ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'h'pM#D  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Tgtym"=xd  
DzE^FY  
struts.enable.DynamicMethodInvocation ^\Q,ACkZb  
      Allows one to disable dynamic method invocation from the URL 2)|=+DN;  
        允许动态方法调用 GQY" +xa8]  
YtSYe%  
struts.freemarker.manager.classname 2\k!DF  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *P/A&"i[E  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 l9=Ka{$^*  
;w"h n*  
struts.i18n.encoding 9ck"JMla  
      The encoding to use for localization messages Dbj?l;'1  
      国际化信息内码 -bOtF%  
CkNR{?S  
struts.i18n.reload w`f66*@Q1  
      Whether the localization messages should automatically be reloaded mHju$d  
      是否国际化信息自动加载 SH=S>  
I5l%X{u"N  
struts.locale 9=]HOUn  
      The default locale for the Struts application [qRww]g;P|  
      默认的国际化地区信息 =0Y0o_  
UR _Ty59  
struts.mapper.class sfw* _}y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x,10o   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3MHpP5C  
p19(>|$J  
struts.multipart.maxSize Ew PJ|Z^  
      The maximize size of a multipart request (file upload) <_|@ ~^u  
      multipart请求信息的最大尺寸(文件上传用) ?zutU w/m  
*v K~t|z  
struts.multipart.parser a BMV6'  
      The org.apache.struts2.dispatcher.multipart. 5Wa)_@qI)`  
      MultiPartRequest parser implementation for a multipart request (file upload)  XA;PWl5!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \M@IKE  
2 SD Z  
w/( T  
struts.multipart.saveDir (n?f016*%d  
      The directory to use for storing uploaded files !9$}1_,is  
      设置存储上传文件的目录夹 db_?da;!`  
HP[B%  
struts.objectFactory {-me;ayk  
      The com.opensymphony.xwork2.ObjectFactory implementation class O4oN)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 'R+^+urq^  
4To$!=  
struts.objectFactory.spring.autoWire e\[q3J  
      Whether Spring should autoWire or not b' M"To@  
      是否自动绑定Spring 2INpo  
,pTZ/#vP#  
struts.objectFactory.spring.useClassCache W? 4:sLC#3  
      Whether Spring should use its class cache or not Y#V(CIDe  
      是否spring应该使用自身的cache YB7A5  
urx?p^c  
struts.objectTypeDeterminer Khi6z&B  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class P}gtJ;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (VN'1a (  
3T]cDVQ_  
struts.serve.static.browserCache 44P [P{y  
If static content served by the Struts filter should set browser caching header properties or not n5A|Zjk;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M=;csazN  
{%>~ ]9E  
struts.serve.static gE@Pb  
      Whether the Struts filter should serve static content or not dS 4/spNq  
      是否struts过滤器应该提供静态内容 XZ@+aG_%q  
_(' @'r  
struts.tag.altSyntax .@nfqv7{  
      Whether to use the alterative syntax for the tags or not B\rY\  
      是否可以用替代的语法替代tags PZV>A!7C8n  
'\8YH+%It  
struts.ui.templateDir [Ca''JqrA  
      The directory containing UI templates I$+=Fb'N0  
      UI templates的目录夹 DIQ30(MS  
DU"Gz!X]Jd  
struts.ui.theme 2RNee@!JJP  
      The default UI template theme p2b~k[  
      默认的UI template主题 <#M1I!R  
Wq}6RdY$ZA  
struts.url.http.port 'J &R=MD  
      The HTTP port used by Struts URLs <$A/ ('  
      设置http端口 <eSg%6z  
3 I%N4K4  
struts.url.https.port Hc\@{17   
      The HTTPS port used by Struts URLs JLWm9c+UTG  
      设置https端口 5,f`5'$  
ET9tn1  
struts.url.includeParams MhE".ZRd  
      The default includeParams method to generate Struts URLs ) aMiT  
      在url中产生 默认的includeParams _UkBOJ:G$H  
7)#JrpTj%  
sXPva@8_  
struts.velocity.configfile R>:D&$[RD  
      The Velocity configuration file path kkHK~(>G  
      velocity配置文件路径 8b 7I\J`  
RfvvX$  
struts.velocity.contexts 4NaT@68p  
      List of Velocity context names N6_1iIM  
      velocity的context列表 5 8;OTDR!  
"\;n t5L  
`/R. 5;$|  
struts.velocity.manager.classname S\I+UeFkf  
      org.apache.struts2.views.velocity.VelocityManager implementation class '*`n"cC:  
      org.apache.struts2.views.velocity.VelocityManager接口名 j&S.k  
#Cs/.(<  
struts.velocity.toolboxlocation 67T.qX2I$  
      The location of the Velocity toolbox *tpS6{4=#7  
      velocity工具盒的位置 a|t{1]^w`  
struts.xslt.nocache kl1Q:  
      Whether or not XSLT templates should not be cached e"sv_$*  
      是否XSLT模版应该被缓存 ,s}&|+ '"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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