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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 kLw07&H  
Eax^1 |6  
struts.action.extension ``p( )^zT  
      The URL extension to use to determine if the request is meant for a Struts action -1 Ok_h"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Zw`vPvb!  
~@wM[}ThP$  
struts.configuration 39(]UO6^;  
      The org.apache.struts2.config.Configuration implementation class ]d|:&h  
        org.apache.struts2.config.Configuration接口名 H=j&uv8  
- s,M+Q(<  
struts.configuration.files sw'?&:<"Ow  
      A list of configuration files automatically loaded by Struts tgPx!5U  
      struts自动加载的一个配置文件列表 gI SP .  
_z$lg]q  
struts.configuration.xml.reload =E?!!EIq.  
      Whether to reload the XML configuration or not 8 ;C_@  
      是否加载xml配置(true,false) }I1SC7gY  
" tUS>c/  
struts.continuations.package 1dy>a=W  
      The package containing actions that use Rife continuations y,D4b6  
      含有actions的完整连续的package名称 D/ SM/  
Gw/imXL  
struts.custom.i18n.resources (A\p5@ht  
      Location of additional localization properties files to load R\B-cU[,  
      加载附加的国际化属性文件(不包含.properties后缀) 3k J8Wn  
"XEK oeG{  
struts.custom.properties Wx<fD()  
      Location of additional configuration properties files to load ?x|8"*N  
      加载附加的配置文件的位置 !e}LB%zf  
MifPZQ  
g0P^O@8  
struts.devMode b`=\<u8  
      Whether Struts is in development mode or not %$)[qa3  
      是否为struts开发模式 fgmIx  
f<`is+"  
struts.dispatcher.parametersWorkaround K9#=@}!3L  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~e ,D`Lv  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q^e4  
'n9<z)/,!  
struts.enable.DynamicMethodInvocation 2&f] v`|M|  
      Allows one to disable dynamic method invocation from the URL |-W7n'n  
        允许动态方法调用 J5Nz<  
4+Sq[Rv0  
struts.freemarker.manager.classname {g:I5 A#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class H>x(c|ZBp  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 meHnT9a^  
D]H@Sx  
struts.i18n.encoding J;K-Pv +  
      The encoding to use for localization messages ~i4h.ZLj  
      国际化信息内码 FZW)C'j  
)}-,4Iu%  
struts.i18n.reload S}/?L m}  
      Whether the localization messages should automatically be reloaded bOt6q/f  
      是否国际化信息自动加载 8| 6:  
C6=P(%y  
struts.locale G d".zsn  
      The default locale for the Struts application 'w?*4H  
      默认的国际化地区信息 VOkEDH  
. C g2Y  
struts.mapper.class E|(T(4;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }/ p>DMN  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z'P>sV  
hPs7mnSW  
struts.multipart.maxSize :N \j@yJK  
      The maximize size of a multipart request (file upload) 6;02_C]\o  
      multipart请求信息的最大尺寸(文件上传用) 03F%!Rm/j  
1}moT#  
struts.multipart.parser R6^U9 fDG  
      The org.apache.struts2.dispatcher.multipart. ionFPc].  
      MultiPartRequest parser implementation for a multipart request (file upload) =l  %  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @a08*"lbp  
5J d7<AO_  
OJ (ho&((  
struts.multipart.saveDir <5 R`E(  
      The directory to use for storing uploaded files 4z^ ?3@:K  
      设置存储上传文件的目录夹 )ZU)$dJ>V  
Vv"JN?dHi  
struts.objectFactory z=}@aX[  
      The com.opensymphony.xwork2.ObjectFactory implementation class +d7sy0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .AIlv^:|U  
w4m -DR5  
struts.objectFactory.spring.autoWire ^sLnKAN  
      Whether Spring should autoWire or not PGaB U3  
      是否自动绑定Spring ^BDM'  
DAZzc :1Aj  
struts.objectFactory.spring.useClassCache g"Eg=CU  
      Whether Spring should use its class cache or not ,G";ny[$  
      是否spring应该使用自身的cache Q}pnb3J>T  
`6~*kCj5  
struts.objectTypeDeterminer c::x.B"w  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class U%oI*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~lDLdUs  
|\QR9>  
struts.serve.static.browserCache +V2a|uvEc  
If static content served by the Struts filter should set browser caching header properties or not <g*rTqT'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 u:HKmP;  
QMtt:f]?i  
struts.serve.static X'k w5P!sq  
      Whether the Struts filter should serve static content or not OzO_E8Kb\  
      是否struts过滤器应该提供静态内容 .Z_U]_(  
(R6ZoBZ  
struts.tag.altSyntax P? 9CBhN  
      Whether to use the alterative syntax for the tags or not v/m`rc]e  
      是否可以用替代的语法替代tags n:*+pL;  
xR_]^Get  
struts.ui.templateDir I]k'0LG*^  
      The directory containing UI templates ="A[*:h C"  
      UI templates的目录夹 rA1 gH6D  
HhqqJEp0  
struts.ui.theme $35Oyd3s<  
      The default UI template theme hJ}G5pX  
      默认的UI template主题 >hQR  
a@8knJ|  
struts.url.http.port hA@X;Mh^w  
      The HTTP port used by Struts URLs 8ZIv:nO$  
      设置http端口 5Q%#Z L/'  
qh2.N}lW  
struts.url.https.port qL'3MY.!  
      The HTTPS port used by Struts URLs &Mc mA  
      设置https端口  R(zsn;  
rW`F|F%  
struts.url.includeParams 92SB'T>  
      The default includeParams method to generate Struts URLs iEU(1?m2-  
      在url中产生 默认的includeParams {>+$u"*  
BMdr.0  
Ra0=q4vdk  
struts.velocity.configfile QF.3c6O@  
      The Velocity configuration file path 9Eg&CZ,9$D  
      velocity配置文件路径 a1|c2kT  
%9X{{_  
struts.velocity.contexts XIRR Al(,  
      List of Velocity context names gfm;xT/y  
      velocity的context列表 "XhOsMJ  
UWw}!1  
5>P7]?U.]  
struts.velocity.manager.classname {`F1u?l  
      org.apache.struts2.views.velocity.VelocityManager implementation class # kEOKmO  
      org.apache.struts2.views.velocity.VelocityManager接口名 ZBJ3VK  
}/p/pVz  
struts.velocity.toolboxlocation {i>Jfl]G}  
      The location of the Velocity toolbox w" JGO  
      velocity工具盒的位置 cOb4c*  
struts.xslt.nocache @!<d0_dnC  
      Whether or not XSLT templates should not be cached  U(~U!O}  
      是否XSLT模版应该被缓存 z]$>+MH_  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五