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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Q:_pW<^  
JEJ] '3  
struts.action.extension .fo.mC@a  
      The URL extension to use to determine if the request is meant for a Struts action YqNhD6  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /8W}o/,s5  
dP)8T  
struts.configuration pVbX#3  
      The org.apache.struts2.config.Configuration implementation class h3@mN\=h'  
        org.apache.struts2.config.Configuration接口名 n=rPFp RLF  
*%Gy-5hM  
struts.configuration.files fM S-  
      A list of configuration files automatically loaded by Struts 0pkU1t~9  
      struts自动加载的一个配置文件列表 Mv4JF(,S  
Qt>yRt  
struts.configuration.xml.reload 8VMq>-  
      Whether to reload the XML configuration or not .V/TVz!b  
      是否加载xml配置(true,false) ^o?.Rph|i]  
ctt5t  
struts.continuations.package ;C{ 2*0"H|  
      The package containing actions that use Rife continuations u =rY  
      含有actions的完整连续的package名称 S'E6#   
3kYUO-qw  
struts.custom.i18n.resources hC6$>tl  
      Location of additional localization properties files to load !EpP-bq'*  
      加载附加的国际化属性文件(不包含.properties后缀) {R1jysG tD  
=9pFb!KX  
struts.custom.properties >b{%j8u M  
      Location of additional configuration properties files to load T w"^I*B  
      加载附加的配置文件的位置 *"9b?`E  
%gw0^^A  
NRoi` IIj  
struts.devMode NO* 1km[#  
      Whether Struts is in development mode or not >xP $A{  
      是否为struts开发模式 Y;#P"-yH  
^{~y+1lt'  
struts.dispatcher.parametersWorkaround 3)Paf`mr  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lfj>]om$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^=R>rUCmv  
]4z?sk@  
struts.enable.DynamicMethodInvocation b;x^>(It  
      Allows one to disable dynamic method invocation from the URL bd)A6a\h  
        允许动态方法调用 s BRw#xyS  
,HMB`vF  
struts.freemarker.manager.classname 4qyL' \d[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @9vz%1B<l  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 e j!C^  
1Ete;r%5=  
struts.i18n.encoding Pi+,y  
      The encoding to use for localization messages U4LOe}Ny  
      国际化信息内码 aNXu"US+Sp  
%X[|7D-  
struts.i18n.reload _Dk;U*2  
      Whether the localization messages should automatically be reloaded zD)2af  
      是否国际化信息自动加载 b,318R8+G  
n$b/@hp$z  
struts.locale m! p'nP  
      The default locale for the Struts application |(S=G'AtU  
      默认的国际化地区信息 CiPD+I  
c>DAR  
struts.mapper.class PJ #uYM  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u.!Pda  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -} Z  
t5eux&C  
struts.multipart.maxSize IOIGLtB  
      The maximize size of a multipart request (file upload) ;TaT=%  
      multipart请求信息的最大尺寸(文件上传用) 0Y!Bb2 m  
O'idS`   
struts.multipart.parser YtIJJH  
      The org.apache.struts2.dispatcher.multipart. <cepRjDn  
      MultiPartRequest parser implementation for a multipart request (file upload) iY*Xm,#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9IIe:  
@p `#y  
[ 8v)\lu  
struts.multipart.saveDir -4hX -  
      The directory to use for storing uploaded files @+xkd(RfN  
      设置存储上传文件的目录夹 XM8C{I1  
L"('gc!W  
struts.objectFactory gL}K84T$S  
      The com.opensymphony.xwork2.ObjectFactory implementation class LClPAbr  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?}lCS7&  
]qv/+~Qs>  
struts.objectFactory.spring.autoWire AK [9fxrE  
      Whether Spring should autoWire or not ADHe! [6q  
      是否自动绑定Spring {}lw%d?A  
jRq>Sz{8  
struts.objectFactory.spring.useClassCache QiwZk<rb  
      Whether Spring should use its class cache or not eKLxNw5  
      是否spring应该使用自身的cache PU-;Q@< E  
U15Hq*8Z  
struts.objectTypeDeterminer yY,.GzIjCj  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class YjG0: 9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 l<qxr.X  
]p#Zdm1EL  
struts.serve.static.browserCache KN+*_L-  
If static content served by the Struts filter should set browser caching header properties or not TXy*-<#vR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5(DCq(\P*  
R8HA X  
struts.serve.static *(r85lEou)  
      Whether the Struts filter should serve static content or not +F67g00T|  
      是否struts过滤器应该提供静态内容 OjZ+gl}  
v3aiX  
struts.tag.altSyntax Vwv O@G7A  
      Whether to use the alterative syntax for the tags or not :.sK:W("v  
      是否可以用替代的语法替代tags 1S_ KX.  
lYy0   
struts.ui.templateDir ]bS\*q0Zf(  
      The directory containing UI templates nC`=quM9  
      UI templates的目录夹 }25{"R}K  
)EcF[aO  
struts.ui.theme Hj2P|;2S  
      The default UI template theme 9$d (`-&9p  
      默认的UI template主题 L!e@T'  
78NAcP~6c  
struts.url.http.port :Eob"WH  
      The HTTP port used by Struts URLs ew"[]eZ:ut  
      设置http端口 u`   
v8w N2[fC  
struts.url.https.port d5WE^H)E.  
      The HTTPS port used by Struts URLs I#9K/[  
      设置https端口 =#>P !  
qLPI^g,  
struts.url.includeParams } 10Dvt>+  
      The default includeParams method to generate Struts URLs Mb/R+:C`  
      在url中产生 默认的includeParams :!aFfb["  
FiFZM  
E>7%/TIl  
struts.velocity.configfile %0"o(y+zt  
      The Velocity configuration file path RNIfw1R  
      velocity配置文件路径 K$K[fcj  
s!UC{)g,  
struts.velocity.contexts n}._Nb 5  
      List of Velocity context names (r7~ccy4  
      velocity的context列表 cLB"<mG  
$x`U)pv  
XvdK;  
struts.velocity.manager.classname g=Qj9Z  
      org.apache.struts2.views.velocity.VelocityManager implementation class   (+Er  
      org.apache.struts2.views.velocity.VelocityManager接口名 Rhr]ML  
\w`Il"}V  
struts.velocity.toolboxlocation +LX&1GX  
      The location of the Velocity toolbox ok[R`99  
      velocity工具盒的位置 4#=^YuKaF1  
struts.xslt.nocache c{&sf y  
      Whether or not XSLT templates should not be cached i2swots  
      是否XSLT模版应该被缓存 h3JIiwv0!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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