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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 toIYE*ocv=  
v%nP*i9  
struts.action.extension tDt :^Bc  
      The URL extension to use to determine if the request is meant for a Struts action <h@]Ri  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^Q\XGl  
G,|KL" H6  
struts.configuration CdL.?^  
      The org.apache.struts2.config.Configuration implementation class ot }6D  
        org.apache.struts2.config.Configuration接口名 #q;z8 @  
|z*>ixK  
struts.configuration.files 3ev -Iqz  
      A list of configuration files automatically loaded by Struts (hN?:q?'  
      struts自动加载的一个配置文件列表 #kci=2q_  
Ha218Hy0W  
struts.configuration.xml.reload =k_UjwgN^  
      Whether to reload the XML configuration or not r^5jh1  
      是否加载xml配置(true,false) \<V)-eB   
En\Z#0,V  
struts.continuations.package 8k H<$9  
      The package containing actions that use Rife continuations ({ k7#1 h8  
      含有actions的完整连续的package名称 9@'4P  
hl]S'yr  
struts.custom.i18n.resources i ?-Y  
      Location of additional localization properties files to load =?/&u<  
      加载附加的国际化属性文件(不包含.properties后缀) ISBF\ wQY  
PJK9704 6  
struts.custom.properties *HeVACxo  
      Location of additional configuration properties files to load S3y246|4  
      加载附加的配置文件的位置 T?rH ,$:  
> c:Zx!  
F>-}*o  
struts.devMode m#n]Wgp'  
      Whether Struts is in development mode or not 8wmQ4){  
      是否为struts开发模式 x<>YUw8`  
P)hi||[  
struts.dispatcher.parametersWorkaround ;_N5>3C:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic aq$q ~,E  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) p[qg&VKB  
yWY|]Pp  
struts.enable.DynamicMethodInvocation gr+Pl>C{  
      Allows one to disable dynamic method invocation from the URL M*`hDdS  
        允许动态方法调用 y/tSGkMv  
$r15gfne>  
struts.freemarker.manager.classname F0.zi>5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (w$'o*z;(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;==j|/ERe  
JD lBVZ!  
struts.i18n.encoding +`}o,z/^  
      The encoding to use for localization messages N2FbrfNFa  
      国际化信息内码 %*K;np-q{  
1tGgDbJU  
struts.i18n.reload P=gJAE5  
      Whether the localization messages should automatically be reloaded _ZyT3P&  
      是否国际化信息自动加载 f^e&hyC   
8,*3zVk-  
struts.locale Q0>q:aj\  
      The default locale for the Struts application -?fR|[\[U  
      默认的国际化地区信息 t!qwxX*$T  
NwpS)6<-  
struts.mapper.class 1Es qQz*$u  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S{:Cu}o  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7 :U8 f:  
HeozJ^u\?  
struts.multipart.maxSize r?3Aqi"  
      The maximize size of a multipart request (file upload) ?cK]C2Ak  
      multipart请求信息的最大尺寸(文件上传用) $5A^'q  
<5IQc[3]aP  
struts.multipart.parser (Ilsk{aB;A  
      The org.apache.struts2.dispatcher.multipart. 0*yJ %  
      MultiPartRequest parser implementation for a multipart request (file upload) ir&.Z5=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "DpKrVuG  
I$j|Rq  
J-XTN"O  
struts.multipart.saveDir  zy>}L #  
      The directory to use for storing uploaded files .8H}Lf\  
      设置存储上传文件的目录夹 (0C&z/  
UA(;fZ@  
struts.objectFactory s MZ[d\  
      The com.opensymphony.xwork2.ObjectFactory implementation class *eGM7o*\X  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1exfCm  
XwPx9+b6j  
struts.objectFactory.spring.autoWire 9XOyj5  
      Whether Spring should autoWire or not <L&eh&4c  
      是否自动绑定Spring BX3lP v  
mx}E$b$<CY  
struts.objectFactory.spring.useClassCache z_l. V/G)  
      Whether Spring should use its class cache or not *U_oao  
      是否spring应该使用自身的cache &J(!8y*QyE  
!G+u j(  
struts.objectTypeDeterminer :-Wv>V\t  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8&.-]{Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 JXm?2 /  
XeU<^ [  
struts.serve.static.browserCache Kz[BB@[  
If static content served by the Struts filter should set browser caching header properties or not #{,h@g}W  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 KY+]RxX  
o0`q#>7!_b  
struts.serve.static rBfg*r`)  
      Whether the Struts filter should serve static content or not GAp!nix6h  
      是否struts过滤器应该提供静态内容 LdEE+"Jw  
#U@| J}a  
struts.tag.altSyntax t?3BCm$Mi  
      Whether to use the alterative syntax for the tags or not VGZ6  
      是否可以用替代的语法替代tags qd(hQsfqYU  
|M E{gy`5  
struts.ui.templateDir w1i?# !|  
      The directory containing UI templates )eR$:uO  
      UI templates的目录夹 x)R0F\_  
?v.Gn9Z&  
struts.ui.theme woau'7}XOu  
      The default UI template theme 9p*-?kPb  
      默认的UI template主题 xR}of"  
'vlrc[|/  
struts.url.http.port q[c Etp28h  
      The HTTP port used by Struts URLs N^J*!]|  
      设置http端口 r/Dd& x  
(}~ucI<~  
struts.url.https.port X9~p4ys9{  
      The HTTPS port used by Struts URLs {^m5#f 0"  
      设置https端口 P(;Mb{  
]o*$h$?s  
struts.url.includeParams )4ncutb  
      The default includeParams method to generate Struts URLs O<X )p`,`  
      在url中产生 默认的includeParams 38wq (  
5i9Ub |!P  
w-FHhf  
struts.velocity.configfile ]^ 'ZiyJX  
      The Velocity configuration file path Q52 bh'cuU  
      velocity配置文件路径 kzi|$Gs<  
zlkWU  
struts.velocity.contexts -*3(a E  
      List of Velocity context names \EI#az=I  
      velocity的context列表 "L@g3g?|`  
=4>@8=JA  
OX3Xy7  
struts.velocity.manager.classname qZbHMTnT6  
      org.apache.struts2.views.velocity.VelocityManager implementation class g;G5 r&T  
      org.apache.struts2.views.velocity.VelocityManager接口名 6b#~;  
s<VJ`Ur  
struts.velocity.toolboxlocation dz,+tR~  
      The location of the Velocity toolbox jw4TLc7p  
      velocity工具盒的位置 OjATSmZ@@  
struts.xslt.nocache FmI;lVF0j  
      Whether or not XSLT templates should not be cached <kbnu7?a*  
      是否XSLT模版应该被缓存 q+%!<]7X  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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