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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 p;av63 i  
(r_xs  
struts.action.extension "7_6iB&@<  
      The URL extension to use to determine if the request is meant for a Struts action yE3g0@*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 mO$]f4}  
&E.ckWf  
struts.configuration #&vP(4p  
      The org.apache.struts2.config.Configuration implementation class _iBNy   
        org.apache.struts2.config.Configuration接口名 S[!-M\b  
VIo %((  
struts.configuration.files Lc;4 Hg  
      A list of configuration files automatically loaded by Struts mVGQyX  
      struts自动加载的一个配置文件列表 jdxwS  
OZdiM&Zss  
struts.configuration.xml.reload gf6<`+/  
      Whether to reload the XML configuration or not D6!`p6r+  
      是否加载xml配置(true,false) /YYI 4  
x6A*vP0nm)  
struts.continuations.package SEm3T4dfzf  
      The package containing actions that use Rife continuations ,ZyTYD|7  
      含有actions的完整连续的package名称  WTi8  
OF^v;4u  
struts.custom.i18n.resources F$Q( 2:w  
      Location of additional localization properties files to load F)4Y;;#  
      加载附加的国际化属性文件(不包含.properties后缀) (xffU%C^  
_uL{@(  
struts.custom.properties 9W$FX  
      Location of additional configuration properties files to load \`?l6'!  
      加载附加的配置文件的位置 a5o&6_  
-~Kw~RX<(  
]Bw2>6W  
struts.devMode 0sW=;R2  
      Whether Struts is in development mode or not OgjSyzc  
      是否为struts开发模式 j`1% a]Bwc  
L{xCsJ3d  
struts.dispatcher.parametersWorkaround WXP=U^5Si  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;RNU`I p  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F"xD^<i  
=}5;rK  
struts.enable.DynamicMethodInvocation )F;`07  
      Allows one to disable dynamic method invocation from the URL Q/rOIHiI  
        允许动态方法调用 >YuBi:z  
0?525^   
struts.freemarker.manager.classname :Rc>=)<7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E[bJ5o**#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 k4te[6)  
.]`LR@qf  
struts.i18n.encoding \v bU| a  
      The encoding to use for localization messages *9((X,v@/  
      国际化信息内码 #|76dU  
xwG=&+66  
struts.i18n.reload o*H j E  
      Whether the localization messages should automatically be reloaded VH1PC  
      是否国际化信息自动加载 B '\^[  
5I9~OJ>  
struts.locale _gZ8UZ)  
      The default locale for the Struts application HIP6L,$  
      默认的国际化地区信息 KWIH5* AM  
n@[&SgZq  
struts.mapper.class <oG+=h  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ] fz0E:x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 iK{ a9pt  
86!"b  
struts.multipart.maxSize 7(B|NYq  
      The maximize size of a multipart request (file upload) rnWU[U8%  
      multipart请求信息的最大尺寸(文件上传用) "HTp1  
-.= q6N4  
struts.multipart.parser k@nx+fO}P  
      The org.apache.struts2.dispatcher.multipart. <H3njv  
      MultiPartRequest parser implementation for a multipart request (file upload) iLf:an*vH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Dpp 3]en.  
w7NJ~iy  
vKYdYa\  
struts.multipart.saveDir [|PVq#(  
      The directory to use for storing uploaded files B,?Fjot#m  
      设置存储上传文件的目录夹 jH26-b<  
,Oojh;P_  
struts.objectFactory &kh7|:{j  
      The com.opensymphony.xwork2.ObjectFactory implementation class g#0h{%3A \  
      com.opensymphony.xwork2.ObjectFactory接口(spring) "/6<k0.D&  
z,/0e@B >  
struts.objectFactory.spring.autoWire 9{bG @g  
      Whether Spring should autoWire or not p@`rBzGp  
      是否自动绑定Spring w8E6)wF=7  
!<\"XxK+l  
struts.objectFactory.spring.useClassCache @cNBY7=  
      Whether Spring should use its class cache or not SiJ0r @  
      是否spring应该使用自身的cache J9J[.6k8  
wW s<{ T  
struts.objectTypeDeterminer Zp~2WJQ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z(LDAZG  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 VP^Yph 8R  
=Ly7H7Q2  
struts.serve.static.browserCache kgfOH.P  
If static content served by the Struts filter should set browser caching header properties or not O<nJbsl_w  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N\XZ=t^h(  
5qo^SiB.  
struts.serve.static , |SO'dG  
      Whether the Struts filter should serve static content or not OM5"&ZIZb  
      是否struts过滤器应该提供静态内容 .`4N#EjP  
_%#Q \ D  
struts.tag.altSyntax -'& 4No  
      Whether to use the alterative syntax for the tags or not Ezw(J[).C  
      是否可以用替代的语法替代tags QF:">G  
H'68K8i0  
struts.ui.templateDir 5HP6o  
      The directory containing UI templates ?d`?Ss;v  
      UI templates的目录夹 @ @$=MSN  
Rt!G:hy7  
struts.ui.theme ]Cd 1&  
      The default UI template theme /VB n  
      默认的UI template主题 @7 xb/&N  
IxC/X5Mp^q  
struts.url.http.port }}Ah-QU  
      The HTTP port used by Struts URLs ='f<_FD  
      设置http端口 ]Hk8XT@Q+  
<4s$$Uw}6%  
struts.url.https.port OoOKr  
      The HTTPS port used by Struts URLs 5 OR L  
      设置https端口 !Irmc*;QE  
9hG)9X4  
struts.url.includeParams jSbO1go#  
      The default includeParams method to generate Struts URLs pVe@HJy6G  
      在url中产生 默认的includeParams pjr,X+6o  
>xu}eWSz  
zA[6rYXY  
struts.velocity.configfile cQDn_Sjhi  
      The Velocity configuration file path \ F=w~ $)  
      velocity配置文件路径 fhqc[@Y[  
iyNyj44 H  
struts.velocity.contexts hY=#_r8  
      List of Velocity context names .lrI|BH?z  
      velocity的context列表 W,Q"?(+]B  
AP.WTFf  
%0 (,f  
struts.velocity.manager.classname hPtSY'_@_  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3c] oU1GfF  
      org.apache.struts2.views.velocity.VelocityManager接口名 .zr2!}lB  
:@KU_U)\  
struts.velocity.toolboxlocation wWm 1G)  
      The location of the Velocity toolbox =mV1jGqX  
      velocity工具盒的位置 krwY_$q  
struts.xslt.nocache =1 g  
      Whether or not XSLT templates should not be cached ##VS%&{  
      是否XSLT模版应该被缓存 g+8{{o=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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