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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~<bZ1TD   
(L&d!$,Dv  
struts.action.extension U iW>J  
      The URL extension to use to determine if the request is meant for a Struts action g! |kp?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;6$jf:2m  
n-;`Cy`k  
struts.configuration k y7Gwc  
      The org.apache.struts2.config.Configuration implementation class wi=v}R_  
        org.apache.struts2.config.Configuration接口名 vk^xT  
H1 ./x6Hr  
struts.configuration.files S=5o < 1  
      A list of configuration files automatically loaded by Struts lL3U8}vn  
      struts自动加载的一个配置文件列表 +r2-S~f3N  
CA~-rv  
struts.configuration.xml.reload ?6U0PChy  
      Whether to reload the XML configuration or not R-$!9mnr  
      是否加载xml配置(true,false) _Fl9>C"u  
U[MA)41  
struts.continuations.package )ez9"# MH'  
      The package containing actions that use Rife continuations W|mo5qrLS2  
      含有actions的完整连续的package名称 m-, x<bM?  
PJH&  
struts.custom.i18n.resources 3]S$ih&A  
      Location of additional localization properties files to load gM:".Ee  
      加载附加的国际化属性文件(不包含.properties后缀) q2E_ A  
f ;n3&e0eC  
struts.custom.properties Fx.=#bVX7  
      Location of additional configuration properties files to load Dp9+HA9t  
      加载附加的配置文件的位置 (!WD1w   
nNn :-  
kffcm/  
struts.devMode ~]2K ^bh8&  
      Whether Struts is in development mode or not + ePS14G  
      是否为struts开发模式 kxv1Hn"`{E  
YaqJ,"GlT  
struts.dispatcher.parametersWorkaround 7kE n \  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  \4fQMG  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c^W)07-X5y  
a:w#s}bL  
struts.enable.DynamicMethodInvocation &^jXEz;  
      Allows one to disable dynamic method invocation from the URL ` Sz}`+E  
        允许动态方法调用 G 3ptx! D  
NgPk&niM  
struts.freemarker.manager.classname bk[!8- b/a  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R6->t #n,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 f@!.mDm]  
i/Zd8+.n$  
struts.i18n.encoding -iZ`Y?  
      The encoding to use for localization messages 3Y$GsN4ln  
      国际化信息内码 Q$"D]!G  
FYQS)s  
struts.i18n.reload ;2QP7PrSY  
      Whether the localization messages should automatically be reloaded |A(Iti{v  
      是否国际化信息自动加载 tCt#%7J;a  
+ZP7{%  
struts.locale Nh44]*  
      The default locale for the Struts application f/?P514h  
      默认的国际化地区信息 (tW`=]z-<  
BI@[\aRLQ  
struts.mapper.class $ I?"lky  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >A"(KSNL  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 pQB."[n  
%xLh Z\  
struts.multipart.maxSize xAm6BB c  
      The maximize size of a multipart request (file upload) Ny/MJ#Lq  
      multipart请求信息的最大尺寸(文件上传用) $F.a><1rY  
[$UI8tV  
struts.multipart.parser dM@1l1h/  
      The org.apache.struts2.dispatcher.multipart. J{G?-+`  
      MultiPartRequest parser implementation for a multipart request (file upload) @H8EWTZ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) s eJ^s@H5l  
{' H(g[k  
:ShT|n7  
struts.multipart.saveDir jPkn[W# 6  
      The directory to use for storing uploaded files aN3;`~{9  
      设置存储上传文件的目录夹 e\/w'  
J'r^/  
struts.objectFactory GQ ;;bcj&  
      The com.opensymphony.xwork2.ObjectFactory implementation class B9S@(/"7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) lyhiFkO iH  
A=0'Ks  
struts.objectFactory.spring.autoWire  Vxt+]5X  
      Whether Spring should autoWire or not (QB2T2x  
      是否自动绑定Spring MolgwVd  
)+Pus~w  
struts.objectFactory.spring.useClassCache 5"H=zJ=r  
      Whether Spring should use its class cache or not \~wMfP8  
      是否spring应该使用自身的cache $ocdI5  
9lE_nc  
struts.objectTypeDeterminer F:DrX_O%  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \fe]c :  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a8Wwq?@  
aw>#P   
struts.serve.static.browserCache _o~ nr]zx  
If static content served by the Struts filter should set browser caching header properties or not 8q7b_Pq1U  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <gBA1oRz  
<OPArht  
struts.serve.static L}NSR  
      Whether the Struts filter should serve static content or not }<:}XlwT%  
      是否struts过滤器应该提供静态内容 w4Z'K&d=  
7K:PdF>/  
struts.tag.altSyntax \73ch  
      Whether to use the alterative syntax for the tags or not 32 =z)]FZ  
      是否可以用替代的语法替代tags u]@['7  
|ENh)M8}r  
struts.ui.templateDir Xn ;AZu^'R  
      The directory containing UI templates NGWxN8P6  
      UI templates的目录夹 / XIhj  
+ck}l2&#  
struts.ui.theme FN73+-:n:j  
      The default UI template theme i}?>g-(  
      默认的UI template主题 QmIBaMI#  
1BEHw?dLU  
struts.url.http.port ? =+WRjF  
      The HTTP port used by Struts URLs 9cm#56  
      设置http端口 { (}By/_  
Z/J y'$x  
struts.url.https.port #$y?v%^  
      The HTTPS port used by Struts URLs T[A 69O]v  
      设置https端口 :~^ (g$Z  
WX0tgXl  
struts.url.includeParams HpnWo DM  
      The default includeParams method to generate Struts URLs Z%\,w(o[h  
      在url中产生 默认的includeParams GPkpXVm  
8\gjST*  
Lj;2\]  
struts.velocity.configfile 1-QS~)+  
      The Velocity configuration file path T]p-0?=4vv  
      velocity配置文件路径 B7vpsSL  
Q NVa?'0"Y  
struts.velocity.contexts 1aABzB ^  
      List of Velocity context names wlmRe`R  
      velocity的context列表 `@s^(hc7i  
X\ F|Tk3_  
5/z/>D;  
struts.velocity.manager.classname =nHgDrA_  
      org.apache.struts2.views.velocity.VelocityManager implementation class FC"8#*x  
      org.apache.struts2.views.velocity.VelocityManager接口名 _wL BA^d^  
WMg~Y"W  
struts.velocity.toolboxlocation lb1Xsgm{  
      The location of the Velocity toolbox 2f_:v6   
      velocity工具盒的位置 2GStN74Xr  
struts.xslt.nocache ~y[7K{{ ;T  
      Whether or not XSLT templates should not be cached O|UC ?]6  
      是否XSLT模版应该被缓存 Y[S1$(K&*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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