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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 w#i[_  
z'p:gv]  
struts.action.extension x]5@>5  
      The URL extension to use to determine if the request is meant for a Struts action ]\RRqLDzkg  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 FZiW|G  
,%bhyww<  
struts.configuration 9t@:4O  
      The org.apache.struts2.config.Configuration implementation class ~](fFa{  
        org.apache.struts2.config.Configuration接口名 OPBt$Ki  
UueD(T;p  
struts.configuration.files z=&z_}M8  
      A list of configuration files automatically loaded by Struts \RQ='/H*  
      struts自动加载的一个配置文件列表 }Vu\(~  
6I_Hd>4  
struts.configuration.xml.reload (eCFWmO  
      Whether to reload the XML configuration or not ECa$vvK m  
      是否加载xml配置(true,false) 9s +z B  
+D#Zn!P  
struts.continuations.package 8&"(WuZ@  
      The package containing actions that use Rife continuations ;jK#[*y  
      含有actions的完整连续的package名称 }_QKJw6/"  
f^e6<5gdf  
struts.custom.i18n.resources ^5=UK7e5KY  
      Location of additional localization properties files to load sM1RU  
      加载附加的国际化属性文件(不包含.properties后缀) EPW7+Ve  
c':ezEaC  
struts.custom.properties C9S@v D+  
      Location of additional configuration properties files to load W&:[r/8wA  
      加载附加的配置文件的位置 zBf-8]"^  
!e#xx]v3  
ihT~xt  
struts.devMode URcR  
      Whether Struts is in development mode or not %[<Y9g,:Q  
      是否为struts开发模式 o-7>eE}+  
!\[+99F#  
struts.dispatcher.parametersWorkaround ~`Qko-a&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M^rM-{?<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3-40'$lE  
+w| 9x.&W  
struts.enable.DynamicMethodInvocation V's:>;  
      Allows one to disable dynamic method invocation from the URL XC15K@K  
        允许动态方法调用 vjViX<#(V  
puJ#w1!x`  
struts.freemarker.manager.classname !/K8xD$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  'k&?DZ!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7dh1W@\  
~$O1`IT  
struts.i18n.encoding 09M;}4ev&7  
      The encoding to use for localization messages +?RGta'%k  
      国际化信息内码 @E`?<|B}  
-jg (GGJ  
struts.i18n.reload /7$mxtB5%L  
      Whether the localization messages should automatically be reloaded 47 u@4"M  
      是否国际化信息自动加载 &;H{cv`  
Iy {U'a!  
struts.locale ZeasYSo4P  
      The default locale for the Struts application BH0!6Oq  
      默认的国际化地区信息 guN4-gGDr<  
+-068k(  
struts.mapper.class z)F#u:t  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `NwdbKX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 juToO  
w5]"ga>Y  
struts.multipart.maxSize Q F-)^`N  
      The maximize size of a multipart request (file upload) .BTx&AqU  
      multipart请求信息的最大尺寸(文件上传用) !jS4!2'  
hN`gB#N3  
struts.multipart.parser Pn TZ/|  
      The org.apache.struts2.dispatcher.multipart. +I|8Q|^SD  
      MultiPartRequest parser implementation for a multipart request (file upload) B{, Bno  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) h"QbA"  
c|wCKn}`  
VlW9UF-W  
struts.multipart.saveDir 'zSgCgCHX8  
      The directory to use for storing uploaded files hQh9ok8S  
      设置存储上传文件的目录夹 Z$K+ 7>^  
j~ym<-[{a  
struts.objectFactory g"t^r3  
      The com.opensymphony.xwork2.ObjectFactory implementation class f[/.I,9U^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) L@|#Bbmx  
R$b,h  
struts.objectFactory.spring.autoWire $"fo^?d/s  
      Whether Spring should autoWire or not @vH2Vydu  
      是否自动绑定Spring \v`#|lT$  
^/KfH &E  
struts.objectFactory.spring.useClassCache  ';lfS  
      Whether Spring should use its class cache or not .A<sr  
      是否spring应该使用自身的cache +802`eax  
iV)ac\  
struts.objectTypeDeterminer |Mg }2!/L  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6zYaA  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (:?&G9k "  
'tWAuI  
struts.serve.static.browserCache SfI*bJo>V  
If static content served by the Struts filter should set browser caching header properties or not 9G:TW|)L[Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 GfsBQY/  
*m_93J  
struts.serve.static dXP6"V@iI  
      Whether the Struts filter should serve static content or not 9={N4}<  
      是否struts过滤器应该提供静态内容 >iy^$bqF  
Fe= "EDh  
struts.tag.altSyntax ?R?Grw)`H  
      Whether to use the alterative syntax for the tags or not #4y,a_)  
      是否可以用替代的语法替代tags A o3HX  
1k>naf~O  
struts.ui.templateDir gg8c7d:Q  
      The directory containing UI templates vj3isI4lU  
      UI templates的目录夹 *C_[jk@6  
1)U} i ^  
struts.ui.theme SMq9j,k  
      The default UI template theme qc0 B<,x7  
      默认的UI template主题 atnQC  
R#0{Wg0O)  
struts.url.http.port ,+-?Zv 2  
      The HTTP port used by Struts URLs k/#M<z  
      设置http端口 aW`dFitpM  
a>b8- j=J  
struts.url.https.port B T7Id  
      The HTTPS port used by Struts URLs Qq0O0U  
      设置https端口 E/"SU*Co  
P0#`anUr1  
struts.url.includeParams ;QidDi_s>  
      The default includeParams method to generate Struts URLs $r"A@69^RS  
      在url中产生 默认的includeParams ]18Ucf  
Iq,v  
"-U3=+  
struts.velocity.configfile ~PYFYjHC  
      The Velocity configuration file path F"BL #g66  
      velocity配置文件路径 .}p|`3$P  
G^KC&  
struts.velocity.contexts @^wpAQfd4  
      List of Velocity context names 6F ;Or  
      velocity的context列表 ,I39&;Iq  
G7Ny"{Z  
*tG11gR,&  
struts.velocity.manager.classname {&`VGXG  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8*)4"rS  
      org.apache.struts2.views.velocity.VelocityManager接口名 ('HxHOh2  
6h@+?{F.  
struts.velocity.toolboxlocation hNVMz`r  
      The location of the Velocity toolbox thV Tdz  
      velocity工具盒的位置 S>EDL  
struts.xslt.nocache E!dp~RwZu  
      Whether or not XSLT templates should not be cached /hfUPO5  
      是否XSLT模版应该被缓存 [0(mFMC`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五