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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 So0f)`A  
Wzw7tLY._  
struts.action.extension s (zL   
      The URL extension to use to determine if the request is meant for a Struts action 8>0e*jC  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +xrr? g  
f ` R/ i  
struts.configuration ;j^H)."A\  
      The org.apache.struts2.config.Configuration implementation class E=>FjCsu<-  
        org.apache.struts2.config.Configuration接口名 .ox8*OO<  
%d?cP}V  
struts.configuration.files .7l&1C)i  
      A list of configuration files automatically loaded by Struts *g6n  
      struts自动加载的一个配置文件列表 P %#<I}0C  
EJsM(iG]~M  
struts.configuration.xml.reload .w0s%T,8}^  
      Whether to reload the XML configuration or not cUY`97bn  
      是否加载xml配置(true,false) M7@2^G]p  
8DegN,?  
struts.continuations.package a>GyO&+Dkg  
      The package containing actions that use Rife continuations ~S8*t~  
      含有actions的完整连续的package名称 !t gi  
> U%gctIg  
struts.custom.i18n.resources bI:zp!-.  
      Location of additional localization properties files to load 8$0rR55  
      加载附加的国际化属性文件(不包含.properties后缀) V+VkY3  
b)=[1g/=L  
struts.custom.properties /+@p7FqlE  
      Location of additional configuration properties files to load }Q=!Y>Tc  
      加载附加的配置文件的位置 dvt9u9Vg=  
T3k#VNH  
vvKEv/pN7  
struts.devMode Y?(r3E^x  
      Whether Struts is in development mode or not zmSUw}-4 N  
      是否为struts开发模式 _Em.  
{= F /C,-  
struts.dispatcher.parametersWorkaround pKit~A,Q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic bT^I"  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5 u*-L_  
'H \9:7  
struts.enable.DynamicMethodInvocation 4:r!|PJn{G  
      Allows one to disable dynamic method invocation from the URL @>W(1mRi  
        允许动态方法调用 Z@]e{zO  
. r[Hu40p  
struts.freemarker.manager.classname +f@U6Vv  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class cd$m25CxC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a{ ?`t|  
{TX]\ufG  
struts.i18n.encoding I?ae\X@M  
      The encoding to use for localization messages %Ti}CwI`  
      国际化信息内码 kPF9Z "l  
Si6al78  
struts.i18n.reload L IZRoG8  
      Whether the localization messages should automatically be reloaded =o&>fw  
      是否国际化信息自动加载 K':K{ee>  
YKO){f5  
struts.locale ;#oie< Vit  
      The default locale for the Struts application L5 veX}  
      默认的国际化地区信息 %*`J k#W:  
UrYZ` J  
struts.mapper.class y0'Rmk,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  PYM(Xz$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7z!tKs"TMT  
wnM9('\  
struts.multipart.maxSize dIRm q+d^  
      The maximize size of a multipart request (file upload) Qj.l:9%  
      multipart请求信息的最大尺寸(文件上传用) 4KH45|; 3  
5[* qi?w=  
struts.multipart.parser _Jme!Oaa  
      The org.apache.struts2.dispatcher.multipart. }Rz3<eON  
      MultiPartRequest parser implementation for a multipart request (file upload) eC[$B99\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :9$F'd\  
Q 4f/Z  
H\qC["  
struts.multipart.saveDir YN!>}  
      The directory to use for storing uploaded files FE2f'e  
      设置存储上传文件的目录夹 [&&1j@LQ*  
m0cP(  
struts.objectFactory rzh#CnL3  
      The com.opensymphony.xwork2.ObjectFactory implementation class pO ml8SQf  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]y,==1To  
rld67'KcE  
struts.objectFactory.spring.autoWire `<\1[HJ\  
      Whether Spring should autoWire or not X&0 uI*r  
      是否自动绑定Spring @> E2?CV  
2ioQb`=  
struts.objectFactory.spring.useClassCache Bh=u|8yxc  
      Whether Spring should use its class cache or not }T%}wdj  
      是否spring应该使用自身的cache 4*e0 hWp  
1rkE yh??  
struts.objectTypeDeterminer B:!W$ <  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z(Bp 0a  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~[\_N\rm  
V??dYB(  
struts.serve.static.browserCache u"d~!j1  
If static content served by the Struts filter should set browser caching header properties or not AO=h 23ZI  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 *T~Ve;3h;  
ub;ZtsM,%  
struts.serve.static 8"fD`jtQ  
      Whether the Struts filter should serve static content or not /XhIx\40 l  
      是否struts过滤器应该提供静态内容 =u+d_'P7-R  
.8y3O]  
struts.tag.altSyntax F@<CsgKB-  
      Whether to use the alterative syntax for the tags or not GQ9\'z#+  
      是否可以用替代的语法替代tags 7D!u1?]d{  
KN7n@$8YM  
struts.ui.templateDir 76Vl6cPu>  
      The directory containing UI templates Er+nk`UR_  
      UI templates的目录夹 ,ztI,1"k  
?ON-+u  
struts.ui.theme Qt/8r*Oe  
      The default UI template theme Z| V`B `  
      默认的UI template主题 3 AsT  
zJ)*Z,7  
struts.url.http.port =9"W@n[>W  
      The HTTP port used by Struts URLs hNd}Y'%V  
      设置http端口 lhw()u  
w Axrc+  
struts.url.https.port /yZQ\{=  
      The HTTPS port used by Struts URLs VxXzAeM  
      设置https端口 ]Yvga!S"C  
pGK;1gVj  
struts.url.includeParams &&VqD w  
      The default includeParams method to generate Struts URLs yb/%?DNQT  
      在url中产生 默认的includeParams 3Ei5pX=g  
4qYUoCR&  
I;Bjfv5  
struts.velocity.configfile UGuxV+Nwf  
      The Velocity configuration file path .F(i/)vaq|  
      velocity配置文件路径 ^1L>l9F  
])Qs{hs~s  
struts.velocity.contexts |"9 #bU  
      List of Velocity context names E[bd@[N 8  
      velocity的context列表 !ykx^z  
9$|Gfyv  
]- 4QNc=  
struts.velocity.manager.classname cg*)0U-_(  
      org.apache.struts2.views.velocity.VelocityManager implementation class *0>mB  
      org.apache.struts2.views.velocity.VelocityManager接口名 y !!E\b=  
V`7FKL@"  
struts.velocity.toolboxlocation ^pe{b9c  
      The location of the Velocity toolbox  R#DwF,  
      velocity工具盒的位置 5GPo*Qpl  
struts.xslt.nocache >$,y5 AJ&  
      Whether or not XSLT templates should not be cached N1}={yF.fQ  
      是否XSLT模版应该被缓存 N~NQ6:R[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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