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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Zr3KzY9  
~p&sd)  
struts.action.extension DwPl,@T_i\  
      The URL extension to use to determine if the request is meant for a Struts action qmhHHFjQ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Em;zi.Y+V  
.3#Tw'% G  
struts.configuration iM-@?!WF  
      The org.apache.struts2.config.Configuration implementation class /OEj]DNY  
        org.apache.struts2.config.Configuration接口名 >U z3F7nHi  
P:G^@B3^  
struts.configuration.files o/&Q^^Xj^~  
      A list of configuration files automatically loaded by Struts G"]'`2.m  
      struts自动加载的一个配置文件列表 *=rl<?tX  
@L0.Z1 ).  
struts.configuration.xml.reload _:J! |'  
      Whether to reload the XML configuration or not }QK-@T@4<  
      是否加载xml配置(true,false) yd $y\pN=<  
K\#+;\V  
struts.continuations.package /1YqDK0  
      The package containing actions that use Rife continuations W>.qGK|l  
      含有actions的完整连续的package名称 ==& =3  
]'Bz%[C)  
struts.custom.i18n.resources L]Uy+[gg  
      Location of additional localization properties files to load `J;_!~:  
      加载附加的国际化属性文件(不包含.properties后缀) +u7mw<A 8  
dXZV1e1b&#  
struts.custom.properties +NQw ^!0qy  
      Location of additional configuration properties files to load B--`=@IRf"  
      加载附加的配置文件的位置 3LG)s:p$/  
se&:Y&vrc~  
RaR$lcG+iY  
struts.devMode (c;$^xZK  
      Whether Struts is in development mode or not 5=eGiF;0\  
      是否为struts开发模式 Q/':<QY  
:EZTJu  
struts.dispatcher.parametersWorkaround ne%ckW?ks  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Gmc0yRN  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /J^yOR9  
O3S_P]{*ny  
struts.enable.DynamicMethodInvocation mU;TB%#)  
      Allows one to disable dynamic method invocation from the URL 8d-_'MXk3  
        允许动态方法调用 N7XRk= J  
Y:O%xtGi  
struts.freemarker.manager.classname {=TD^>?  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "~tEmMz  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 % %*t{0!H+  
l&zd7BM9(  
struts.i18n.encoding a4?:suX$  
      The encoding to use for localization messages P:=3;d{v  
      国际化信息内码 ,{$:Q}`  
*g7dB2{  
struts.i18n.reload > >p3#~/  
      Whether the localization messages should automatically be reloaded tcfUhSz,I  
      是否国际化信息自动加载 Y>r9"X| &H  
IYd)Vv3'j  
struts.locale fN@2 B  
      The default locale for the Struts application ydw')Em  
      默认的国际化地区信息 {$b]K-B  
n(&6 E3ZcI  
struts.mapper.class E}UlQq  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class dAR):ZKq?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [E+#+-n7  
1N2s[ \q$  
struts.multipart.maxSize m8.sHw  
      The maximize size of a multipart request (file upload) 99vm7"5hQ  
      multipart请求信息的最大尺寸(文件上传用) 9M<{@<]dm  
d+$a5 [^9  
struts.multipart.parser bX8Bn0#a+  
      The org.apache.struts2.dispatcher.multipart. +`zM^'^$  
      MultiPartRequest parser implementation for a multipart request (file upload) Ie4}F|#=  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &{99Owqg  
U)2\=%8  
jvA]EN6$;~  
struts.multipart.saveDir HKV]Rn  
      The directory to use for storing uploaded files lCDXFy(E  
      设置存储上传文件的目录夹 (h%!Kun  
X2~>Z^, U  
struts.objectFactory *:wu{3g}M`  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0Db#W6*^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) zgV{S Qo  
Drz#D1-2  
struts.objectFactory.spring.autoWire A~u-Iv(U  
      Whether Spring should autoWire or not iphe0QE[#}  
      是否自动绑定Spring x,pzX(  
a8''t_Dp  
struts.objectFactory.spring.useClassCache vk&C'&uV9@  
      Whether Spring should use its class cache or not IZ "d s=w  
      是否spring应该使用自身的cache jU/0a=h9  
p\1-.  
struts.objectTypeDeterminer wj /OYnMw  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }sZme3*J[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8sLp! O;f2  
b+,u_$@B  
struts.serve.static.browserCache qhc3 oRe  
If static content served by the Struts filter should set browser caching header properties or not 7YrX3Hx 8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 46Vx)xX  
Mz_*`lRN  
struts.serve.static |}t[- a  
      Whether the Struts filter should serve static content or not ;vnG  
      是否struts过滤器应该提供静态内容 W&qE_r  
%&0_0BU  
struts.tag.altSyntax 8V?O=3<a  
      Whether to use the alterative syntax for the tags or not zQ&`|kS  
      是否可以用替代的语法替代tags \:, dWL u  
Cwl#(; @  
struts.ui.templateDir ^h1EE=E"  
      The directory containing UI templates w|7<y8#qC  
      UI templates的目录夹 jw]~g+x#$  
>8\EdN59{  
struts.ui.theme uDbz`VpK  
      The default UI template theme 9v=5x[fE  
      默认的UI template主题 sz9C':`W  
Z7lv |m&  
struts.url.http.port _gxI=EYi  
      The HTTP port used by Struts URLs _Gv n1"l  
      设置http端口 |5^tp  
1--_E,Su>  
struts.url.https.port x8+W9i0[1  
      The HTTPS port used by Struts URLs zo4 IY`3  
      设置https端口 LR|LP)I  
gmd-$%"  
struts.url.includeParams kWZ?86!  
      The default includeParams method to generate Struts URLs =J:6p-\*  
      在url中产生 默认的includeParams $# klgiL  
wGr5V!  
 !*5vXN  
struts.velocity.configfile &==X.2XW  
      The Velocity configuration file path hE@s~ ~JYd  
      velocity配置文件路径 $)8b)Tb  
;H}XW=vO  
struts.velocity.contexts ,'N8Ivt  
      List of Velocity context names F l@%?  
      velocity的context列表 )%FRBO]  
C7:;<<"P  
_Z'[-rcXWh  
struts.velocity.manager.classname [<CIh46S.  
      org.apache.struts2.views.velocity.VelocityManager implementation class ] ;" blB  
      org.apache.struts2.views.velocity.VelocityManager接口名 V~([{  
lC):$W  
struts.velocity.toolboxlocation gJz~~g'  
      The location of the Velocity toolbox MZ]#9/  
      velocity工具盒的位置 Pv,Q*gh`  
struts.xslt.nocache LX5, _`B  
      Whether or not XSLT templates should not be cached Kw_> X&GcJ  
      是否XSLT模版应该被缓存 $ReoIU^<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八