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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !}P FiT^  
Zn/9BO5  
struts.action.extension t!T}Pg(Bo  
      The URL extension to use to determine if the request is meant for a Struts action F889JSZ%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jF3!}*7,  
8x9kF]=  
struts.configuration )>Q 2G/@  
      The org.apache.struts2.config.Configuration implementation class o5D"<-=>  
        org.apache.struts2.config.Configuration接口名 H4m6H)KOG  
23f[i<4e  
struts.configuration.files PPqTmx5S  
      A list of configuration files automatically loaded by Struts X<m%EXvV  
      struts自动加载的一个配置文件列表 xk*3,J6BK  
!Q(xOc9>Ug  
struts.configuration.xml.reload h/fCCfO,  
      Whether to reload the XML configuration or not kr*c?^b  
      是否加载xml配置(true,false) #w*pWD^  
lQsQRp  
struts.continuations.package {.lF~cOu  
      The package containing actions that use Rife continuations E&>,B81  
      含有actions的完整连续的package名称 ommKf[h%i  
!U#++Zig%  
struts.custom.i18n.resources x7@WWFF>  
      Location of additional localization properties files to load YEQW:r_h.S  
      加载附加的国际化属性文件(不包含.properties后缀) &CL|q+-  
osd^SnL1/5  
struts.custom.properties I1myuZ  
      Location of additional configuration properties files to load gZjOlp  
      加载附加的配置文件的位置 ob] lCX)  
ii;WmE&  
g& "(- :  
struts.devMode |x6mkSf]ke  
      Whether Struts is in development mode or not ]v{fFmL  
      是否为struts开发模式 NVj J/  
V{h@nhq  
struts.dispatcher.parametersWorkaround ;/V@N |$n  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ft7a\vn*B  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) N-rm k  
ya{>=  
struts.enable.DynamicMethodInvocation Z0=m:h  
      Allows one to disable dynamic method invocation from the URL +hg\DqO^M  
        允许动态方法调用 Y/S3)o  
HLe^|  
struts.freemarker.manager.classname $CmX &%L=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class z/YMl3$l~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 &5.~XM;  
Hk]BC  
struts.i18n.encoding tqQ0lv^J  
      The encoding to use for localization messages <c ovApx  
      国际化信息内码 ~}5Ml_J$,l  
h6h1.lZ  
struts.i18n.reload u3wC}Zo  
      Whether the localization messages should automatically be reloaded U  R@BSK'  
      是否国际化信息自动加载 r}\h\ {  
Is@a,k  
struts.locale IMGqJc,7  
      The default locale for the Struts application ~B&*7Q7  
      默认的国际化地区信息 d# 3tQ*G/  
m I zBK]@^  
struts.mapper.class ]|N4 #4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class QklNw6,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #eC;3Kq#-  
;:c%l.Y2  
struts.multipart.maxSize B Z?W>'B%$  
      The maximize size of a multipart request (file upload) p? ?/r  
      multipart请求信息的最大尺寸(文件上传用) O|Ic[XfLx  
x~;EH6$5'/  
struts.multipart.parser tHtV[We.:  
      The org.apache.struts2.dispatcher.multipart. /Tj"Fl\h  
      MultiPartRequest parser implementation for a multipart request (file upload) !/}FPM_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `XxG"k\/S  
e(#IewKp  
=YGP%}_.p{  
struts.multipart.saveDir + |qfgi  
      The directory to use for storing uploaded files >Mn>P!  
      设置存储上传文件的目录夹 {1MGb%xW  
v{2DBr  
struts.objectFactory tin|,jA =  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;a#*|vx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) P!y`$Ky&  
yK077zH_  
struts.objectFactory.spring.autoWire atf%7}2  
      Whether Spring should autoWire or not WkaR{{nM  
      是否自动绑定Spring }6J7 <g  
ZB[(Tv1  
struts.objectFactory.spring.useClassCache ;:Z=%R$wJ  
      Whether Spring should use its class cache or not @%<?GNSO  
      是否spring应该使用自身的cache 6B''9V:s  
PDIclIMS'F  
struts.objectTypeDeterminer m*!f%}T  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4C1FPrh  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 k=7Gr;;l=p  
*w/WHQ`xI  
struts.serve.static.browserCache /u)Rppu  
If static content served by the Struts filter should set browser caching header properties or not :B=8_M  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 R|1xXDLm*E  
0HR|aqPo  
struts.serve.static ck+b/.gw`  
      Whether the Struts filter should serve static content or not gKN}Of@^1  
      是否struts过滤器应该提供静态内容 L"foL  
C4{\@v}t  
struts.tag.altSyntax VI24+h'J  
      Whether to use the alterative syntax for the tags or not YN@6}B#1  
      是否可以用替代的语法替代tags :Sc8PLT  
%)axGbZG;  
struts.ui.templateDir 0zbLc%  
      The directory containing UI templates xHB/]Vd-  
      UI templates的目录夹 o-~~,n\  
nMG rG  
struts.ui.theme |rFR8srPG  
      The default UI template theme -2\ZzK0tM  
      默认的UI template主题 5r4gmy>  
l RDxIuTK  
struts.url.http.port YZGS-+  
      The HTTP port used by Struts URLs w(/DTQc~d  
      设置http端口 t'R':+0Vf  
t<sNc8x  
struts.url.https.port 3@)obb  
      The HTTPS port used by Struts URLs e40udLH~x  
      设置https端口 O4EIE)c  
8geek$FY x  
struts.url.includeParams YOV :  
      The default includeParams method to generate Struts URLs %X4-a%512  
      在url中产生 默认的includeParams dk_,YU'z  
$;Vc@mYGW;  
kG1;]1tT#  
struts.velocity.configfile [q-;/ed  
      The Velocity configuration file path M!gBmQZ1  
      velocity配置文件路径 mz\NFC<  
?j/kOD0  
struts.velocity.contexts u 1ZJHry  
      List of Velocity context names mX&xn2}qZ"  
      velocity的context列表 Hz?!BV0  
> z=Ou<,  
ptpW41t}^  
struts.velocity.manager.classname |3{+6cg  
      org.apache.struts2.views.velocity.VelocityManager implementation class f.oP   
      org.apache.struts2.views.velocity.VelocityManager接口名  {l2N&  
f=ac I|w  
struts.velocity.toolboxlocation ; 8P_av}C  
      The location of the Velocity toolbox o]Wz6 L  
      velocity工具盒的位置 |2)Sd[ q  
struts.xslt.nocache X9fNGM1  
      Whether or not XSLT templates should not be cached TDlZ!$g(  
      是否XSLT模版应该被缓存 e?V,fzg  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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