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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 D]{#!w(d  
Oc51|[ Wj  
struts.action.extension W[dK{?RB  
      The URL extension to use to determine if the request is meant for a Struts action uh][qMyLM  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^ RS?y8  
g.& n X/  
struts.configuration %LH~Im=  
      The org.apache.struts2.config.Configuration implementation class Spnshv8  
        org.apache.struts2.config.Configuration接口名 Nan@SuKY  
%`kO\q_  
struts.configuration.files 7V^\fh5~  
      A list of configuration files automatically loaded by Struts E&}@P0^  
      struts自动加载的一个配置文件列表 VSW:h  
U X?EOrfJ  
struts.configuration.xml.reload 'T8(md299  
      Whether to reload the XML configuration or not D9cpw0{nc  
      是否加载xml配置(true,false) .+;;-]})  
Y"x9B%e  
struts.continuations.package gCVgL]jj(  
      The package containing actions that use Rife continuations y)s+/Teb  
      含有actions的完整连续的package名称 *~t&Ux#hj  
vy <(1\  
struts.custom.i18n.resources <3[,bTIk  
      Location of additional localization properties files to load Y [hTO.LF  
      加载附加的国际化属性文件(不包含.properties后缀) yBd#*3K1  
U]aH4 N  
struts.custom.properties K>"]*#aBv  
      Location of additional configuration properties files to load GW]b[l  
      加载附加的配置文件的位置 }# ~DX!Sj  
Fp_?1 y  
sS 5aJ}Qs  
struts.devMode l"I G;qO.  
      Whether Struts is in development mode or not yXuF<+CJ  
      是否为struts开发模式 z NF.nS}:  
\c"{V-#o\  
struts.dispatcher.parametersWorkaround %Km^_JM  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic oVG/[e|c'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /M}jF*5N  
8"fZ>XQ  
struts.enable.DynamicMethodInvocation @Kx@ 2#~b  
      Allows one to disable dynamic method invocation from the URL 8f\sG:$  
        允许动态方法调用 ^7q qO%  
#- l1(m  
struts.freemarker.manager.classname +@U}gk;#c  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  rq[+p  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 d]89DdZk  
)_m#|U?Rex  
struts.i18n.encoding [>rX/a%c  
      The encoding to use for localization messages x&ngCB@O  
      国际化信息内码 pj~Ao+  
+"u6+[E  
struts.i18n.reload aBBTcN%'  
      Whether the localization messages should automatically be reloaded }mZ sK>  
      是否国际化信息自动加载 yX-h|Cr"  
NrHh(:  
struts.locale H pZD^h?L  
      The default locale for the Struts application MJ=(rp=YU9  
      默认的国际化地区信息 ]M:=\h,t>  
Sk ~( t  
struts.mapper.class 0Gq}x;8H&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 'b?Px}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 j>OuNeo@4  
i`FskEoijq  
struts.multipart.maxSize 4Ou|4WjnL  
      The maximize size of a multipart request (file upload) 'Ti7}K  
      multipart请求信息的最大尺寸(文件上传用) jjT|@\-u  
%yVboA1  
struts.multipart.parser h#Z5vH  
      The org.apache.struts2.dispatcher.multipart. .L#xX1qr  
      MultiPartRequest parser implementation for a multipart request (file upload) @@?P\jv~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L.cGt"{  
~{8X$xs  
,%bG]5  
struts.multipart.saveDir Yv!r>\#0S  
      The directory to use for storing uploaded files ._6|epJ#  
      设置存储上传文件的目录夹 UBgheu  
Xy0KZ !  
struts.objectFactory ZwC\n(_y  
      The com.opensymphony.xwork2.ObjectFactory implementation class |#87|XIJ&~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) aUqVcEU1  
-naj.omG|  
struts.objectFactory.spring.autoWire 62}rZVJq  
      Whether Spring should autoWire or not YH:murJMZ  
      是否自动绑定Spring %[ Z[  
QSaJb?I  
struts.objectFactory.spring.useClassCache 8 [z<gxP`?  
      Whether Spring should use its class cache or not K}r@O"6*\  
      是否spring应该使用自身的cache |i}5vT78  
_ ?\4k{ET  
struts.objectTypeDeterminer O%>FKU>(?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class R*DQm  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3U_,4qf  
c`F~vrr)X  
struts.serve.static.browserCache 2l8TX#K  
If static content served by the Struts filter should set browser caching header properties or not 3 ;N+5*-  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p^E}%0#  
T%opkyP>=  
struts.serve.static 6v]y\+  
      Whether the Struts filter should serve static content or not )|Ho"VEmg  
      是否struts过滤器应该提供静态内容 5Tb3Yy< .  
53i7:1[uV  
struts.tag.altSyntax r8k.I4  
      Whether to use the alterative syntax for the tags or not qv+8wJ((  
      是否可以用替代的语法替代tags Q#,j,h  
"#3p=}]  
struts.ui.templateDir Tej&1'G  
      The directory containing UI templates ^2|G0d@.:  
      UI templates的目录夹 0c pI2  
ranlbxp2l  
struts.ui.theme GC<zL }  
      The default UI template theme FtEmSKD  
      默认的UI template主题 7jf%-X  
DKvNQ:fI>9  
struts.url.http.port 6G6B!x  
      The HTTP port used by Struts URLs f19~B[a  
      设置http端口 ssWSY(j]  
x}c%8dO#J  
struts.url.https.port F1q a`j^'  
      The HTTPS port used by Struts URLs *<5zMSZO  
      设置https端口 -f4>4@y  
t$*V*gK{  
struts.url.includeParams hPM:=@ N$  
      The default includeParams method to generate Struts URLs ff1Em.  
      在url中产生 默认的includeParams )(aj  
Zl:Z31  
}gfs  
struts.velocity.configfile +RuPfw{z  
      The Velocity configuration file path y5v}EX`m&  
      velocity配置文件路径 MgP6ki1z  
nVK`H@5fw  
struts.velocity.contexts t!u{sr{j=  
      List of Velocity context names nJ ZQRRa:C  
      velocity的context列表 ? eU=xO  
gmU0/z3&  
Gp PlO]  
struts.velocity.manager.classname ]h`<E~  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]t23qA@^2  
      org.apache.struts2.views.velocity.VelocityManager接口名 2&k5X-Y  
~I_v {  
struts.velocity.toolboxlocation _ i-(` 5  
      The location of the Velocity toolbox IIrXI8'}  
      velocity工具盒的位置 '/h~O@Rw  
struts.xslt.nocache S>'S4MJE`  
      Whether or not XSLT templates should not be cached _kJ?mTk  
      是否XSLT模版应该被缓存 p?#cn   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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