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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 <YH=3[  
Tg0CE60"  
struts.action.extension Zyu/|O g  
      The URL extension to use to determine if the request is meant for a Struts action c+g@Z"es  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?F_)-  
Ird|C[la  
struts.configuration L0L2Ns  
      The org.apache.struts2.config.Configuration implementation class z8"7u /4v{  
        org.apache.struts2.config.Configuration接口名 RO.U(T  
D<>@ %"%  
struts.configuration.files u#@RM^738d  
      A list of configuration files automatically loaded by Struts rOcg+5  
      struts自动加载的一个配置文件列表 ?2 f_aY ;  
\vRd}   
struts.configuration.xml.reload }gv8au<  
      Whether to reload the XML configuration or not O6X"RsI}  
      是否加载xml配置(true,false) ((bTwx  
wMWW=$h#\  
struts.continuations.package Jxa4hM0  
      The package containing actions that use Rife continuations .UQE{.?  
      含有actions的完整连续的package名称 JeCg|@  
sILSey5`  
struts.custom.i18n.resources ;j9\b9m  
      Location of additional localization properties files to load > ' i  
      加载附加的国际化属性文件(不包含.properties后缀) `\CVV*hP  
vUesV%9hq  
struts.custom.properties %\Wf^6Y^  
      Location of additional configuration properties files to load Mxl]"?z  
      加载附加的配置文件的位置  }ptq )p  
%JyXbv3m,  
gE])!GMM3  
struts.devMode lz<]5T|  
      Whether Struts is in development mode or not U*)m' ,  
      是否为struts开发模式 g[[;w*;z  
mJ}opy!{;  
struts.dispatcher.parametersWorkaround 'hqBo|  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +>\id~c(  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) . (}1%22  
`5~3G2T  
struts.enable.DynamicMethodInvocation i+{yMol1  
      Allows one to disable dynamic method invocation from the URL OLC{iD#  
        允许动态方法调用 sN6N >{  
~j9O$s~)  
struts.freemarker.manager.classname ep/Y^&$M  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .6f%?oo  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 cyM-)r@YQV  
qIMA6u/  
struts.i18n.encoding Np+&t}  
      The encoding to use for localization messages p< "3&HA  
      国际化信息内码 6CbxuzYer  
RsJ6OFcWV  
struts.i18n.reload ({WyDu&=  
      Whether the localization messages should automatically be reloaded \QE)m<GUe  
      是否国际化信息自动加载 cWyW~Ek  
U.!lTLjfLz  
struts.locale ?>"Yr,b?  
      The default locale for the Struts application d5 7i)=  
      默认的国际化地区信息 \*f;Xaa  
Vv1|51B  
struts.mapper.class B=8Iu5m  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9o*,P,j'}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qt%D'  
_j?e~w&0b  
struts.multipart.maxSize 7\FXz'hA  
      The maximize size of a multipart request (file upload) 2owEw*5jl/  
      multipart请求信息的最大尺寸(文件上传用) :+Om]#`Vls  
,<BbpIQ2o  
struts.multipart.parser Suk  
      The org.apache.struts2.dispatcher.multipart. LI2&&Mw  
      MultiPartRequest parser implementation for a multipart request (file upload) Tou/5?# %e  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )9l^O  
HK|ynBAo  
./Q,  
struts.multipart.saveDir AL#4_]m'  
      The directory to use for storing uploaded files Vq;dJ%sY  
      设置存储上传文件的目录夹 b4^`DHRu6  
]BR,M4   
struts.objectFactory J+d1&Tw&  
      The com.opensymphony.xwork2.ObjectFactory implementation class 2{|h8oz  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .`>y@p!  
8JmFi  
struts.objectFactory.spring.autoWire jck}" N  
      Whether Spring should autoWire or not Xd^\@  
      是否自动绑定Spring .9Y)AtJTS  
i[wb0yL  
struts.objectFactory.spring.useClassCache _6 ay-u  
      Whether Spring should use its class cache or not |2{wG 4  
      是否spring应该使用自身的cache 8Q_SRwN  
ZXm/A0)S  
struts.objectTypeDeterminer _h}kp\sps  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class HRB<Y mP@  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 jH_JmYd  
M(/r%-D  
struts.serve.static.browserCache "etPT@gF  
If static content served by the Struts filter should set browser caching header properties or not (<^yqH?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;G%R<Z  
Ja9e^`i;  
struts.serve.static _%QhOY5tv"  
      Whether the Struts filter should serve static content or not _3ZYtmn.  
      是否struts过滤器应该提供静态内容 8<Hf" M  
fkac_X$7  
struts.tag.altSyntax W*2U="t  
      Whether to use the alterative syntax for the tags or not -Z's@'*  
      是否可以用替代的语法替代tags r?/'!!4  
~ 0M'7q'  
struts.ui.templateDir qT+%;(  
      The directory containing UI templates .0es 3Rj  
      UI templates的目录夹 Dd\jHF>u  
aTt 12Sc  
struts.ui.theme 0=?<y'=  
      The default UI template theme +llR204  
      默认的UI template主题 *6VF $/rP  
~;N^g4s  
struts.url.http.port J@u;H$@/y  
      The HTTP port used by Struts URLs pS:4CNI{  
      设置http端口 [EKQR>s)  
aeD;5VV  
struts.url.https.port %rv7Jy   
      The HTTPS port used by Struts URLs nR-YrR*k  
      设置https端口 R#I0|;q4|p  
r[*Vqcz  
struts.url.includeParams lz?$f4TzA  
      The default includeParams method to generate Struts URLs H5Io{B%=  
      在url中产生 默认的includeParams ax<?GjpM  
2I,^YWR  
Jt}Bpg!J  
struts.velocity.configfile }F#okU  
      The Velocity configuration file path !*7 vFl  
      velocity配置文件路径 N u<_}  
;;#qmGoE  
struts.velocity.contexts q-}Fvel u  
      List of Velocity context names JPoN&BTCj  
      velocity的context列表 oY933i@l)P  
$}!p+$  
 ']2E {V  
struts.velocity.manager.classname |Uc_G13Y{D  
      org.apache.struts2.views.velocity.VelocityManager implementation class t%E!o0+8Z  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~?K~L~f5  
M`,)wi  
struts.velocity.toolboxlocation [PNT\ElT  
      The location of the Velocity toolbox tFp Ygff<  
      velocity工具盒的位置 h4 T5+~rw  
struts.xslt.nocache B><d9d  
      Whether or not XSLT templates should not be cached nU7>uU  
      是否XSLT模版应该被缓存 NQJq6S4@  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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