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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 V gLnpPOQ  
2l5>>yY  
struts.action.extension 0fhz7\a^_<  
      The URL extension to use to determine if the request is meant for a Struts action QkJAjmB  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fi*@m,-  
nCF1i2*6|"  
struts.configuration LadE4:oy  
      The org.apache.struts2.config.Configuration implementation class df}DJB  
        org.apache.struts2.config.Configuration接口名 nH*JR  
z;? 3 2K  
struts.configuration.files BeAkG_uG  
      A list of configuration files automatically loaded by Struts XJ &'4h  
      struts自动加载的一个配置文件列表 $)w9EGZ  
`9IG//  
struts.configuration.xml.reload &jJj6 +P\  
      Whether to reload the XML configuration or not $j? zEz  
      是否加载xml配置(true,false) _]~`t+W'DJ  
>OP[ qj  
struts.continuations.package qx,>j4y w  
      The package containing actions that use Rife continuations V^9c:!aI  
      含有actions的完整连续的package名称 p*F.WxB)4  
DEj6 ky  
struts.custom.i18n.resources @LQe[`  
      Location of additional localization properties files to load 7[=MgnmuC  
      加载附加的国际化属性文件(不包含.properties后缀) jQDXl  
.xnJT2uu'  
struts.custom.properties }=.:bwX5  
      Location of additional configuration properties files to load Bp #:sAG  
      加载附加的配置文件的位置 Li[ :L  
0s>ozAJ  
9"T&P_   
struts.devMode _}4l4  
      Whether Struts is in development mode or not !Zf< j  
      是否为struts开发模式 J]|Zh  
oC"1{ybyl  
struts.dispatcher.parametersWorkaround 7f!"vhCXM;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i8CO+Iv*{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) QahM)Gb  
''Lf6S`4X~  
struts.enable.DynamicMethodInvocation RM/q\100  
      Allows one to disable dynamic method invocation from the URL AUZ^XiK  
        允许动态方法调用 0$8iWL  
Mi+<|5is  
struts.freemarker.manager.classname QtM9G@%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;- ~}g7$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 N@Fof(T&  
OAGI|`E$/-  
struts.i18n.encoding 6x?3%0Km  
      The encoding to use for localization messages *^|.bBG  
      国际化信息内码 5,H,OZ}  
HB+{vuN*L  
struts.i18n.reload WS17DsWW  
      Whether the localization messages should automatically be reloaded Y 6B7qp  
      是否国际化信息自动加载 QU&LC  
J0{;"  
struts.locale QLr.5Wcg>  
      The default locale for the Struts application J['pBlEb\  
      默认的国际化地区信息 F#<$yUf%  
)zU bMzF  
struts.mapper.class IEbk_-h[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class B !>hHQ2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?<mxv"  
}q-*Ls~  
struts.multipart.maxSize V 4~`yT?*"  
      The maximize size of a multipart request (file upload) gaBVD*>  
      multipart请求信息的最大尺寸(文件上传用) =a!w)z_rw  
gK8E|f-z  
struts.multipart.parser S5a?KU  
      The org.apache.struts2.dispatcher.multipart. ?g7O([*[  
      MultiPartRequest parser implementation for a multipart request (file upload) E@uxEF  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6S`J7[  
~hx__^]d  
Vifh`BSP  
struts.multipart.saveDir g!<=NVhYt  
      The directory to use for storing uploaded files ;:2:f1_  
      设置存储上传文件的目录夹 ZA1u  
D\"F?>  
struts.objectFactory <G+IbUG:  
      The com.opensymphony.xwork2.ObjectFactory implementation class K<#Q;(SFU  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~Vh< mt  
YwYCXFQ|  
struts.objectFactory.spring.autoWire 8v|?g8e3  
      Whether Spring should autoWire or not 8ux?K5_  
      是否自动绑定Spring 5;:P^[cH9  
I=vGS  
struts.objectFactory.spring.useClassCache P&3Z,f0  
      Whether Spring should use its class cache or not ^seb8o7  
      是否spring应该使用自身的cache OhNEt>  
i.~*G8!DM  
struts.objectTypeDeterminer c5vi Y|C^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2|n)ZP2cp  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 p`oSI}ZwB  
r]6X  
struts.serve.static.browserCache ;";#{B:  
If static content served by the Struts filter should set browser caching header properties or not Ug2^cgL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?G|*=-8  
v;=| -y  
struts.serve.static ho J{C 0  
      Whether the Struts filter should serve static content or not @'D ,T^I  
      是否struts过滤器应该提供静态内容 -D?-ctFYj^  
.YYLMI  
struts.tag.altSyntax :h(r2?=7  
      Whether to use the alterative syntax for the tags or not =zetZJg  
      是否可以用替代的语法替代tags 0vi)m y;!  
=Su~i Oa  
struts.ui.templateDir 0P?\eoB@8  
      The directory containing UI templates ggP#2I\  
      UI templates的目录夹 T?!D?YV  
|mHxkd  
struts.ui.theme [H-r0Ah  
      The default UI template theme G/y@`A)  
      默认的UI template主题 Y\Grf$e  
-n>JlfCd2  
struts.url.http.port B'@a36  
      The HTTP port used by Struts URLs q>n0'`q   
      设置http端口 EKr#i}(x<  
FF}A_ZFY  
struts.url.https.port j 1Ng[  
      The HTTPS port used by Struts URLs xllk hD4F  
      设置https端口 CLn}BxgD  
K0YUN^St  
struts.url.includeParams @0v%5@  
      The default includeParams method to generate Struts URLs r=S6yq}  
      在url中产生 默认的includeParams _--kK+rU  
Gdi8Al]\Nl  
ko Tb{UL  
struts.velocity.configfile  ~[wh  
      The Velocity configuration file path q.GA\o  
      velocity配置文件路径 #0F6{&; M  
 o(q][:,h  
struts.velocity.contexts li`4&<WGC  
      List of Velocity context names 3Mlwq'pzD  
      velocity的context列表 vwc)d{ND  
7y/Pch  
fc,^H&  
struts.velocity.manager.classname VK~ OL  
      org.apache.struts2.views.velocity.VelocityManager implementation class [Y%H8}  
      org.apache.struts2.views.velocity.VelocityManager接口名 @a[Y[F S  
.5ItH^  
struts.velocity.toolboxlocation s{30#^1R  
      The location of the Velocity toolbox S1`;2mAf*  
      velocity工具盒的位置 2)W~7GED  
struts.xslt.nocache *!W<yNrR  
      Whether or not XSLT templates should not be cached Gs0x;91  
      是否XSLT模版应该被缓存  Ie<`WU K  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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