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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \*&?o51 !e  
6<9}>Wkf  
struts.action.extension !Eg2#a?  
      The URL extension to use to determine if the request is meant for a Struts action &8pGq./lr=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !C|Z+w9Y  
3 l}9'j  
struts.configuration ~;z] _`_Va  
      The org.apache.struts2.config.Configuration implementation class M~7Cb>%<  
        org.apache.struts2.config.Configuration接口名 &Z3%UOY  
&uF~t |!c  
struts.configuration.files 1KY0hAx  
      A list of configuration files automatically loaded by Struts 5 1N/XEk  
      struts自动加载的一个配置文件列表 =''WA:,=h  
Ir-QD !!<  
struts.configuration.xml.reload A|4om=MO  
      Whether to reload the XML configuration or not 3AglvGK7{  
      是否加载xml配置(true,false) a~J!G:(  
-LT!LBnEkf  
struts.continuations.package 8#HnV%|N  
      The package containing actions that use Rife continuations HI{h>g T  
      含有actions的完整连续的package名称 ~]#-S20  
<Y6zJ#BD  
struts.custom.i18n.resources MGq\\hLD\-  
      Location of additional localization properties files to load ]R>NmjAI  
      加载附加的国际化属性文件(不包含.properties后缀) 5]up%.  
4JU 2x  
struts.custom.properties XjCx`bX^<  
      Location of additional configuration properties files to load :?j=MV  
      加载附加的配置文件的位置 :nR80]  
@/?i|!6  
b`$qKO  
struts.devMode Trs2M+r)  
      Whether Struts is in development mode or not {* :^K\-  
      是否为struts开发模式 d"IZt;s/,  
Phk3Jv  
struts.dispatcher.parametersWorkaround O$;#GpR  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `d^Q!QxE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Dn@ZS_f  
!H@HgJ -  
struts.enable.DynamicMethodInvocation rM^2yr7H  
      Allows one to disable dynamic method invocation from the URL 9-V'U\}L  
        允许动态方法调用 x/CM)!U)  
P 4t@BwU$  
struts.freemarker.manager.classname 6Q\|8a  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3!\h'5{  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pW@W-k:u  
-.y1]4  
struts.i18n.encoding [|YvVA  
      The encoding to use for localization messages /g. c( -#]  
      国际化信息内码 : .-z!  
vK@U K"m  
struts.i18n.reload [OTn>/W'  
      Whether the localization messages should automatically be reloaded zwU[!i)  
      是否国际化信息自动加载 T9%|B9FeJ  
']>9 /r#  
struts.locale ?}v/)hjp=?  
      The default locale for the Struts application pDYJLh-C  
      默认的国际化地区信息 [U",yN]d  
NN2mOJ:-  
struts.mapper.class W6}>iB  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class UimofFmI%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 J _dgP[  
{J izCUo_'  
struts.multipart.maxSize {|hg3R~A  
      The maximize size of a multipart request (file upload) ~##FW|N)  
      multipart请求信息的最大尺寸(文件上传用) qEXN} Pq<  
q4Wr$T$gs=  
struts.multipart.parser M_Ag *?2I  
      The org.apache.struts2.dispatcher.multipart. f,E7eL@  
      MultiPartRequest parser implementation for a multipart request (file upload) PuREqa\_[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) FG[rH]   
\eNB L[  
M;Pry 3J  
struts.multipart.saveDir >W8"Ar  
      The directory to use for storing uploaded files 1P[x.t#  
      设置存储上传文件的目录夹 8U(o@1PT  
>V?0#f45@  
struts.objectFactory h'};spv  
      The com.opensymphony.xwork2.ObjectFactory implementation class (E)hEQ@8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `7w-_o %  
aVHIU3  
struts.objectFactory.spring.autoWire ^~-YS-.J#,  
      Whether Spring should autoWire or not _~;%zFX  
      是否自动绑定Spring KcpYHWCa.  
\u{4=-C.  
struts.objectFactory.spring.useClassCache [.fh2XrVM  
      Whether Spring should use its class cache or not "Kp#Lx  
      是否spring应该使用自身的cache @L~erg>8=  
bY.VNA  
struts.objectTypeDeterminer #@OPi6.#!<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c'tQA  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #:0-t!<0C  
;veD?|  
struts.serve.static.browserCache m{=Q88k!@.  
If static content served by the Struts filter should set browser caching header properties or not oRSA&h Ss  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -W1p=od  
j\IdB:}j  
struts.serve.static 64mEZ_kG,  
      Whether the Struts filter should serve static content or not z9[TjTH^}T  
      是否struts过滤器应该提供静态内容 WYTqQqQk  
qE[YZ(/f0&  
struts.tag.altSyntax vs=q<Uw)  
      Whether to use the alterative syntax for the tags or not X.;VZwT+  
      是否可以用替代的语法替代tags C 5gdvJN  
c/tB_]  
struts.ui.templateDir YIg43Av  
      The directory containing UI templates z8ZQL.z%h  
      UI templates的目录夹 PBb&.<   
f0 sGE5  
struts.ui.theme "E\mj'k  
      The default UI template theme .gDq+~r8O  
      默认的UI template主题 \H:T)EVy  
CA0XcLiFt  
struts.url.http.port $ch`.$wx  
      The HTTP port used by Struts URLs hI!BX};+}  
      设置http端口 ]}N01yw|s  
)h]#:,pm  
struts.url.https.port =?.oH|&\h  
      The HTTPS port used by Struts URLs KH;~VR8"/  
      设置https端口 O6G'!h\F  
9;U?_   
struts.url.includeParams t kj  
      The default includeParams method to generate Struts URLs Y /_CPY  
      在url中产生 默认的includeParams o= ($'(1  
QcQ%A%VIV  
 A\Ib  
struts.velocity.configfile H,L{N'[Xph  
      The Velocity configuration file path \(P?=] -  
      velocity配置文件路径 Icrnu}pl_  
N7J?S~x  
struts.velocity.contexts )xyjQ|b  
      List of Velocity context names %r(WS_%K|  
      velocity的context列表 )e?&'wa>  
R\3a Sx L  
D;V[9E=g/  
struts.velocity.manager.classname }l7+W4~  
      org.apache.struts2.views.velocity.VelocityManager implementation class $!.>)n  
      org.apache.struts2.views.velocity.VelocityManager接口名 '^_u5Y]  
7:u+cv  
struts.velocity.toolboxlocation hOAZvrfQ4  
      The location of the Velocity toolbox ALTOi?  
      velocity工具盒的位置 +_i{4Iz~p  
struts.xslt.nocache +n;nvf}(  
      Whether or not XSLT templates should not be cached @h{|tP%"  
      是否XSLT模版应该被缓存 W[O]Aal{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八