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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4h--x~ @  
#Y-_kQV*  
struts.action.extension Sw-2vnSdM  
      The URL extension to use to determine if the request is meant for a Struts action !- QB>`7$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~-lUS0duh  
@zi0:3`#0\  
struts.configuration PlA#xnq#  
      The org.apache.struts2.config.Configuration implementation class /=9dX; #  
        org.apache.struts2.config.Configuration接口名 z4(\yx  
7^! zT  
struts.configuration.files M3]eqxLC  
      A list of configuration files automatically loaded by Struts ~.U \Y  
      struts自动加载的一个配置文件列表 G^K;+&T  
P2s\f;Dwr  
struts.configuration.xml.reload &K[~Ab_  
      Whether to reload the XML configuration or not `<<9A\Y-f  
      是否加载xml配置(true,false) BU>R<A5h  
Tw` dLK?  
struts.continuations.package 2MYez>D  
      The package containing actions that use Rife continuations  #X$s5H  
      含有actions的完整连续的package名称 B|9XqQ EI  
Gkfzb>_V]  
struts.custom.i18n.resources edlf++r~  
      Location of additional localization properties files to load LqJV  
      加载附加的国际化属性文件(不包含.properties后缀) 7AGUi+!ICl  
Qu8=zI>t  
struts.custom.properties !m'Rp~t  
      Location of additional configuration properties files to load Y@MxKKuj  
      加载附加的配置文件的位置 UEYJd&n0CB  
ze5#6Vzd&  
OR|Jc+LT  
struts.devMode "66#F  
      Whether Struts is in development mode or not gy|o#&e]%  
      是否为struts开发模式 [GI2%uA0  
!SGRK01  
struts.dispatcher.parametersWorkaround ?GLCd7TP  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Rm$(X5x>o  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Lrr(7cH,  
<W7WlT  
struts.enable.DynamicMethodInvocation ==%5Ci7qMy  
      Allows one to disable dynamic method invocation from the URL }jWg&<5+z  
        允许动态方法调用 r[7*1'. p  
;Kg7}4`I  
struts.freemarker.manager.classname TPKD'@:x  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .~rg#*]^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 SsfC m C  
s+&0Z3+  
struts.i18n.encoding W.D>$R2  
      The encoding to use for localization messages =9p3^:S  
      国际化信息内码 >/%XP_q%`e  
\GioSg  
struts.i18n.reload Q6 m.yds  
      Whether the localization messages should automatically be reloaded >$ro\/  
      是否国际化信息自动加载 UYW'pV  
}:J-o  
struts.locale 7xG~4N<)]  
      The default locale for the Struts application }&6:0l$4!  
      默认的国际化地区信息 #@1(  
{L.uLr_?e  
struts.mapper.class $2}%3{<j  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2hryY  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 37jrWe6xwp  
G)Y,*.,  
struts.multipart.maxSize Y)(yw \&v  
      The maximize size of a multipart request (file upload) > XM]UdP  
      multipart请求信息的最大尺寸(文件上传用) tAY{+N]f  
G!%8DX5  
struts.multipart.parser )_4()#3  
      The org.apache.struts2.dispatcher.multipart. zE/\2F$  
      MultiPartRequest parser implementation for a multipart request (file upload) dq'f >S z}  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) p:0X3?IG3  
\W= qqE]  
^kz(/c/?  
struts.multipart.saveDir /s=veiH  
      The directory to use for storing uploaded files .`v%9-5v  
      设置存储上传文件的目录夹 }owl7G3  
{c*5 )x!  
struts.objectFactory _F|}=^Z`  
      The com.opensymphony.xwork2.ObjectFactory implementation class E7aG&K  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \[*q~95$v  
3 5L0 CM  
struts.objectFactory.spring.autoWire ~gNFcJuy  
      Whether Spring should autoWire or not iJmzVR+  
      是否自动绑定Spring <l5m\A  
$7i[7S4  
struts.objectFactory.spring.useClassCache %k )H7nj  
      Whether Spring should use its class cache or not 2\gIjXX"  
      是否spring应该使用自身的cache Aq3\Q>klH)  
!7MRHI/0C  
struts.objectTypeDeterminer ~<_WYSzS  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~oT*@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 e+{lf*"3  
?.H]Y&XF  
struts.serve.static.browserCache 0 ]L   
If static content served by the Struts filter should set browser caching header properties or not wEJzLFCn  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 G'(rjH>q  
('Uj|m}9  
struts.serve.static M'|p<SO]  
      Whether the Struts filter should serve static content or not <yBa5m@/  
      是否struts过滤器应该提供静态内容 n+YUG  
`<M>"~W  
struts.tag.altSyntax k6RVP: V  
      Whether to use the alterative syntax for the tags or not i*@PywT"i3  
      是否可以用替代的语法替代tags uLPBl~Y  
}<l:~-y|  
struts.ui.templateDir )c'E9ZuZ>d  
      The directory containing UI templates aW{5m@p{"  
      UI templates的目录夹 0\B{~1(^  
~a&V sC#  
struts.ui.theme (K84J*;  
      The default UI template theme $gD8[NAIx=  
      默认的UI template主题 rKyulgP  
CS(2bj^6 D  
struts.url.http.port c%gL3kOT  
      The HTTP port used by Struts URLs i.`n^R;N  
      设置http端口 kV4Oq.E  
NRp  
struts.url.https.port >8=lX`9f{  
      The HTTPS port used by Struts URLs IOdxMzF`m  
      设置https端口 @DY"~c cH  
QHf&Z*Xtl  
struts.url.includeParams ZILJXX4  
      The default includeParams method to generate Struts URLs >$E;."a  
      在url中产生 默认的includeParams ov;^ev,(  
K%x]:|,>M  
jnT Tj l  
struts.velocity.configfile jlU6keZh`  
      The Velocity configuration file path =|ODa/2 p  
      velocity配置文件路径 U&V u%+B  
Rb& 9!z  
struts.velocity.contexts $D!/v)3  
      List of Velocity context names -eyF9++`  
      velocity的context列表 VwPoQ9pIS  
'Kbrz  
)E>yoUhN  
struts.velocity.manager.classname !U m9ceK  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2%`= LGQC  
      org.apache.struts2.views.velocity.VelocityManager接口名 cGgfCF^`  
%'2.9dB  
struts.velocity.toolboxlocation H${LF.8  
      The location of the Velocity toolbox m:[I$b6AY  
      velocity工具盒的位置 p'2IlQ\  
struts.xslt.nocache /]!2 k9u\  
      Whether or not XSLT templates should not be cached rVoV@,P  
      是否XSLT模版应该被缓存 M>p<1`t-&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五