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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 jIT|Kk&]  
xS tsw5d  
struts.action.extension c{I]!y^!  
      The URL extension to use to determine if the request is meant for a Struts action Cm)TFh6  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n19A>,m  
8Iw)]}T'  
struts.configuration {+hABusq  
      The org.apache.struts2.config.Configuration implementation class .=J- !{z  
        org.apache.struts2.config.Configuration接口名 o cW~I3  
XV]xym~  
struts.configuration.files 8+}rm6Y+  
      A list of configuration files automatically loaded by Struts <3BGW?=WP  
      struts自动加载的一个配置文件列表 l3>e-kP  
XZARy:+bc  
struts.configuration.xml.reload bRy(`  
      Whether to reload the XML configuration or not ;9mRumLG"  
      是否加载xml配置(true,false) UHvA43  
lWj*tnnn[  
struts.continuations.package 7)jN:+4N  
      The package containing actions that use Rife continuations tm.60udbo  
      含有actions的完整连续的package名称 {{Ox%Zm  
3`%E;?2  
struts.custom.i18n.resources n4S`k%CI  
      Location of additional localization properties files to load xw}yl4WT{  
      加载附加的国际化属性文件(不包含.properties后缀) .Ji9j[[#D  
hZ*vk  
struts.custom.properties tt?`,G.(]  
      Location of additional configuration properties files to load 2} pZyS  
      加载附加的配置文件的位置 BYEZ[cM  
1bQO:n):~  
c.Sd~k:3  
struts.devMode _MTZuhY  
      Whether Struts is in development mode or not L7buY(F(  
      是否为struts开发模式 6CHb\k  
j AOy3c  
struts.dispatcher.parametersWorkaround dv\bkDF4A  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic gR# k'   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M9R'ONYAa  
tUx H 6IS  
struts.enable.DynamicMethodInvocation 9gw;MFP)D  
      Allows one to disable dynamic method invocation from the URL /Q(boY{  
        允许动态方法调用 V sl,u  
]b%U9hmL^f  
struts.freemarker.manager.classname ZN $%\,<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class b`D]L/}pr  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 v:4j 3J$z  
; >H1A  
struts.i18n.encoding d-1D:Hs?  
      The encoding to use for localization messages Z3{1`"\<K  
      国际化信息内码 NT 5=%X]  
I*.nwV<  
struts.i18n.reload :Q("  
      Whether the localization messages should automatically be reloaded F*@2)  
      是否国际化信息自动加载 iKrk?B<  
we`BqZV  
struts.locale #W)m({}  
      The default locale for the Struts application ?g4Rk9<!i  
      默认的国际化地区信息 |Qcz5M90e  
9&f+I@K  
struts.mapper.class T,9q~*"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class S!u8JG1  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 6WZffB{-TK  
\f^xlX3&`  
struts.multipart.maxSize ca7Y+9< ;  
      The maximize size of a multipart request (file upload) &mVClq  
      multipart请求信息的最大尺寸(文件上传用) e`g+Jf`AT  
kh.P)h'9  
struts.multipart.parser MZQDFuvDxZ  
      The org.apache.struts2.dispatcher.multipart. W.[!Q`  
      MultiPartRequest parser implementation for a multipart request (file upload) g&y (-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) <A Hzs  
zO"De~[9  
v(yJGEf0  
struts.multipart.saveDir %P s.r{%{  
      The directory to use for storing uploaded files C @<T(`o  
      设置存储上传文件的目录夹 r'{N_|:vv  
2_HIn  
struts.objectFactory xA7~"q&u  
      The com.opensymphony.xwork2.ObjectFactory implementation class ; &6 {c  
      com.opensymphony.xwork2.ObjectFactory接口(spring) yZNG>1 N  
b-VtQ%Q  
struts.objectFactory.spring.autoWire k5aB|xo  
      Whether Spring should autoWire or not 2YZ>nqy  
      是否自动绑定Spring # tu>h  
d~~, 5E  
struts.objectFactory.spring.useClassCache Y|r7gy9%  
      Whether Spring should use its class cache or not @!dIa1Q"  
      是否spring应该使用自身的cache * rlV E  
1qNO$M  
struts.objectTypeDeterminer N gF7$@S  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tE=09J%z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2)\->$Q(H  
xAd@.^  
struts.serve.static.browserCache ?} 8r h%  
If static content served by the Struts filter should set browser caching header properties or not Jg=!GU/::  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "!zJQl@  
p*0[:/4  
struts.serve.static WC<[<uI*  
      Whether the Struts filter should serve static content or not W=^.s>7G  
      是否struts过滤器应该提供静态内容 LJ <pE;`d  
gQ0,KYmI3_  
struts.tag.altSyntax ,uC-^T |n  
      Whether to use the alterative syntax for the tags or not u@e.5_:S)  
      是否可以用替代的语法替代tags ]P wS3:x  
k^;n$r"i5  
struts.ui.templateDir wO%lM  
      The directory containing UI templates s$pXn&:  
      UI templates的目录夹 8&8!(\xv  
ow9a^|@a  
struts.ui.theme !@Qk=Xkg  
      The default UI template theme -}UY2)  
      默认的UI template主题 8_4!Ar>2  
ds!n l1  
struts.url.http.port B;N<{Gb  
      The HTTP port used by Struts URLs j3 6Y Iz$a  
      设置http端口 Z}!'fX."  
x@q.u3o9  
struts.url.https.port #fa,}aj  
      The HTTPS port used by Struts URLs ;GG,Z#\m  
      设置https端口 =>5Lp  
BM?!?  
struts.url.includeParams fdK E1,;  
      The default includeParams method to generate Struts URLs +_fFRyu>  
      在url中产生 默认的includeParams #d,)Qe[  
![K\)7iKo  
ZT!8h$SE:  
struts.velocity.configfile QG?!XWz  
      The Velocity configuration file path _[&V9 Jt  
      velocity配置文件路径 lFt!  
xk~gGT&  
struts.velocity.contexts }p6]az3  
      List of Velocity context names 0yC~"u[N Y  
      velocity的context列表 `.pEI q^  
! 1I# L!9  
af | mk@  
struts.velocity.manager.classname 6k;5T   
      org.apache.struts2.views.velocity.VelocityManager implementation class 6vbKKn`ST  
      org.apache.struts2.views.velocity.VelocityManager接口名 E<+ G5j  
~{lb`M^]h  
struts.velocity.toolboxlocation :5/Ue,~ag  
      The location of the Velocity toolbox +'g O%^{l  
      velocity工具盒的位置 BkB _?^Nv8  
struts.xslt.nocache f> Jj5he/  
      Whether or not XSLT templates should not be cached {7m2vv?Z  
      是否XSLT模版应该被缓存 h#4n  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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