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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 hf '3yEm  
Q'N<jX[  
struts.action.extension 6\`,blkX  
      The URL extension to use to determine if the request is meant for a Struts action x8H)m+AW  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e1#}/U  
)\e_I\-  
struts.configuration $]vR,E  
      The org.apache.struts2.config.Configuration implementation class _^B+Xo@E-  
        org.apache.struts2.config.Configuration接口名 5segzaI  
v-kH7H"z  
struts.configuration.files X!@Gv:TD  
      A list of configuration files automatically loaded by Struts 5H79) n>  
      struts自动加载的一个配置文件列表 .C1^QY-wL  
|^=`ln!  
struts.configuration.xml.reload dZm{?\^_  
      Whether to reload the XML configuration or not 6l=n&YO  
      是否加载xml配置(true,false) ?;$g,2n  
?TXFOr]g]2  
struts.continuations.package .sLx6J%  
      The package containing actions that use Rife continuations E?;W@MJi  
      含有actions的完整连续的package名称 h'bxgIl'`  
O&)Y3O1  
struts.custom.i18n.resources UkdQ#b1  
      Location of additional localization properties files to load wxoBq{r;  
      加载附加的国际化属性文件(不包含.properties后缀) 1q*3V8  
' ft  |  
struts.custom.properties Q|0[B4e^:  
      Location of additional configuration properties files to load t+&WsCN  
      加载附加的配置文件的位置 m^ILcp!  
;c'jBi5W  
NZl0sX.:  
struts.devMode F 4k`x/ak  
      Whether Struts is in development mode or not qvT9d7x  
      是否为struts开发模式 Z6Mh`:7  
=.uE(L`]NA  
struts.dispatcher.parametersWorkaround L 0|u^J  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic uv@4/M`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xD~:= ]G  
s)-=l _4T  
struts.enable.DynamicMethodInvocation `'g%z: ~  
      Allows one to disable dynamic method invocation from the URL rUj]6j=e  
        允许动态方法调用 1|zo -'y  
$,R|$0B7  
struts.freemarker.manager.classname [1s B  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {6n B83BB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 !7_Q_h',  
N[AX29  
struts.i18n.encoding ua2SW(C@  
      The encoding to use for localization messages @P% &Dha  
      国际化信息内码 <%|2yPb]  
[Y5B$7|s<  
struts.i18n.reload wp} PQw:  
      Whether the localization messages should automatically be reloaded +4)Kc9S#  
      是否国际化信息自动加载 0{ \AP<  
l2$6ojpo  
struts.locale :sJVklK  
      The default locale for the Struts application Ix}:!L  
      默认的国际化地区信息 H1N%uk=kV  
gi~*1RIel;  
struts.mapper.class './s'!Lj  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class UE*M\r<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 G !wFG-Y}  
ZXp=QH+f  
struts.multipart.maxSize @<l7"y;\  
      The maximize size of a multipart request (file upload) I>:M1Yc0  
      multipart请求信息的最大尺寸(文件上传用) yw2sK7  
8n NRn[oS  
struts.multipart.parser ]M#_o]  
      The org.apache.struts2.dispatcher.multipart. KYMz  
      MultiPartRequest parser implementation for a multipart request (file upload) &_G^=Nc,H  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 85m_jmh[  
LLCMp3qBz  
iku) otUc  
struts.multipart.saveDir fsb_*sh&  
      The directory to use for storing uploaded files Y=\;$:L[  
      设置存储上传文件的目录夹 66!cfpM  
fp u^  
struts.objectFactory "/g/Lc  
      The com.opensymphony.xwork2.ObjectFactory implementation class 94\k++kc  
      com.opensymphony.xwork2.ObjectFactory接口(spring) % ,1bh  
!3E33  
struts.objectFactory.spring.autoWire L^!E4[ ^4  
      Whether Spring should autoWire or not @.@O#  
      是否自动绑定Spring .3M=|rE   
]+Ik/+Nz  
struts.objectFactory.spring.useClassCache Dz3=ksXZ  
      Whether Spring should use its class cache or not ^1nQDd*  
      是否spring应该使用自身的cache F=bX\T7  
7G z f>n  
struts.objectTypeDeterminer -YPUrU[)  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class x(ue |UG  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 n j0!  
oF7o"NHaWa  
struts.serve.static.browserCache tY'fFz^Ho  
If static content served by the Struts filter should set browser caching header properties or not G AI( =  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =^%#F~o:  
68 vu  
struts.serve.static j]~;|V5Z  
      Whether the Struts filter should serve static content or not _[SW89zk  
      是否struts过滤器应该提供静态内容 )\ow/XPE  
OTwIR<_B+  
struts.tag.altSyntax }]VFLBl`w  
      Whether to use the alterative syntax for the tags or not \W:~;GMeD  
      是否可以用替代的语法替代tags x/7kcj!O  
}M*yE]LL;Z  
struts.ui.templateDir X+dLk(jI`u  
      The directory containing UI templates |soDt <y+L  
      UI templates的目录夹 :rR)rj'  
U|yXJ.Z3  
struts.ui.theme yUd>EnQna  
      The default UI template theme qD!qSM  
      默认的UI template主题 _3YZz$07  
_/xA5/V  
struts.url.http.port ^E-BB 6D  
      The HTTP port used by Struts URLs 0;6eSmF  
      设置http端口 &puPn:_  
:Q]P=-Y8  
struts.url.https.port jTHgh>n  
      The HTTPS port used by Struts URLs b5!D('w>]  
      设置https端口 Qze.1h  
[P_@-:(O  
struts.url.includeParams |f67aN  
      The default includeParams method to generate Struts URLs Tew?e&eO  
      在url中产生 默认的includeParams ykMdH:  
3:wN^!A}ve  
D[i?T3i  
struts.velocity.configfile [a201I0 -  
      The Velocity configuration file path r{g8CIwGQ  
      velocity配置文件路径 HAKB@h)  
Rq`d I~5!b  
struts.velocity.contexts W *.j=?)\[  
      List of Velocity context names ag02=}Q'r  
      velocity的context列表 /Pv dP#!  
-F7P$/9  
<Dk6o`7^N  
struts.velocity.manager.classname " i!Xiy~  
      org.apache.struts2.views.velocity.VelocityManager implementation class &) qs0  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^7l+ Of b3  
+Hd'*'c  
struts.velocity.toolboxlocation 0]k-0#JM  
      The location of the Velocity toolbox yt+d f0l  
      velocity工具盒的位置 3q-Xj:FP  
struts.xslt.nocache X+7@8)1(  
      Whether or not XSLT templates should not be cached XP%/*am  
      是否XSLT模版应该被缓存 `=%mU/v  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五