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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9pSUIl9|j  
;;U :Jtn2  
struts.action.extension *_-'/i  
      The URL extension to use to determine if the request is meant for a Struts action j`>^1Q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Y%aWK~O  
rZ03x\2  
struts.configuration -ysn&d\rV  
      The org.apache.struts2.config.Configuration implementation class [2c{k  
        org.apache.struts2.config.Configuration接口名 ROb\Rx m  
19U]2D/z  
struts.configuration.files !{%:qQiA  
      A list of configuration files automatically loaded by Struts $jzFc!rs  
      struts自动加载的一个配置文件列表 Xrqx\X  
A[N{  
struts.configuration.xml.reload 0 p uY"[c  
      Whether to reload the XML configuration or not HIvZQQW|  
      是否加载xml配置(true,false) j}JZ  
F7}-!  
struts.continuations.package _e<o7Y@_  
      The package containing actions that use Rife continuations T6BFX0$  
      含有actions的完整连续的package名称 A#y@`} ]!'  
`ldz`yu6++  
struts.custom.i18n.resources +cu^%CXT  
      Location of additional localization properties files to load k!L@GQ  
      加载附加的国际化属性文件(不包含.properties后缀) zTm]AG|0  
^A_;#vK  
struts.custom.properties {8RFK4! V@  
      Location of additional configuration properties files to load B4H!5b  
      加载附加的配置文件的位置 g_.^O$}  
m_NCx]#e   
EG<s_d?  
struts.devMode 8At<Wic  
      Whether Struts is in development mode or not ['qnn|  
      是否为struts开发模式  :$r ^_  
YA]5~ ZE\  
struts.dispatcher.parametersWorkaround KLWDo%%u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0Q9T3X  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) =r. >N\  
/F/;G*n  
struts.enable.DynamicMethodInvocation S~OhtHwK  
      Allows one to disable dynamic method invocation from the URL E /<lGm:.  
        允许动态方法调用 3R$Z[D-  
'Prxocxq  
struts.freemarker.manager.classname G;iEo4\?  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .?W5{U  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @z`@f"l  
=6nD sibf  
struts.i18n.encoding 5jcte< 5I_  
      The encoding to use for localization messages S=|@L<O  
      国际化信息内码 L@Nu/(pB=  
LRb, VD:/Y  
struts.i18n.reload qt e>r  
      Whether the localization messages should automatically be reloaded q OhO qV  
      是否国际化信息自动加载 {p<Zbm.  
( )T[$.(  
struts.locale  a*dQ _  
      The default locale for the Struts application oMH.u^b]fT  
      默认的国际化地区信息 ^%T7.1'x  
c,\i"=!$  
struts.mapper.class ^eq</5q D  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3,X/,'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :Ixx<9c.  
9"{W,'r&d  
struts.multipart.maxSize HfNDD| Zz  
      The maximize size of a multipart request (file upload) `TLzVB-j3  
      multipart请求信息的最大尺寸(文件上传用) {tP%epQ  
B2=\2<  
struts.multipart.parser o2H1N~e#c  
      The org.apache.struts2.dispatcher.multipart. '-$XX%TOAc  
      MultiPartRequest parser implementation for a multipart request (file upload) Rqip kx  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q>!L6h5]t  
lEjwgk {  
/! ajsn  
struts.multipart.saveDir F'RUel_%  
      The directory to use for storing uploaded files z`@^5_  
      设置存储上传文件的目录夹 7E$&2U^Js  
iP@6hG`:  
struts.objectFactory iPG0o %  
      The com.opensymphony.xwork2.ObjectFactory implementation class *~XA'Vw!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Kb ;dKQ  
$D1w5o-  
struts.objectFactory.spring.autoWire RBKOM$7  
      Whether Spring should autoWire or not :*514N  
      是否自动绑定Spring ]jMKC8uz  
tl yJmdl  
struts.objectFactory.spring.useClassCache T.e.{yO  
      Whether Spring should use its class cache or not 7j<e)"  
      是否spring应该使用自身的cache Dr3n+Q   
|s+0~$O;  
struts.objectTypeDeterminer s54nF\3V  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class UPU+ver  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2 !1.E5.I  
6]cryf&b  
struts.serve.static.browserCache U%<rn(xWXD  
If static content served by the Struts filter should set browser caching header properties or not }j5 a[L  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 t0&@h\K  
SuBeNA[&  
struts.serve.static lJ;J~>  
      Whether the Struts filter should serve static content or not @exey  
      是否struts过滤器应该提供静态内容 oih5B<&f#  
dIwe g=x  
struts.tag.altSyntax t:~t@4j}  
      Whether to use the alterative syntax for the tags or not UKd'+R]  
      是否可以用替代的语法替代tags LwqC ~N  
-;(Q1)&  
struts.ui.templateDir =HDI \LD<  
      The directory containing UI templates q Dd~2"er  
      UI templates的目录夹 }Nj97 R  
F t&+vS  
struts.ui.theme >c8GW >\N  
      The default UI template theme |`k .y]9  
      默认的UI template主题 < E|s\u  
<Q < AwP  
struts.url.http.port q-$`k  
      The HTTP port used by Struts URLs &$FvWFRh#  
      设置http端口 nv0@xnbz  
q(o/yx{bm  
struts.url.https.port 5FKBv e@  
      The HTTPS port used by Struts URLs JNI>VP[c  
      设置https端口 ?WI3/>:<  
I_)*)d44_  
struts.url.includeParams ~^I> #Dd  
      The default includeParams method to generate Struts URLs >>Ar$  
      在url中产生 默认的includeParams '1SG(0  
}l0&a!C  
| $^;wP  
struts.velocity.configfile U 5w:"x  
      The Velocity configuration file path w?vVVA  
      velocity配置文件路径 5MTgK=c  
Lm*VN~2  
struts.velocity.contexts R,2=&+ e  
      List of Velocity context names ] f>]n  
      velocity的context列表 WKM)*@#,  
D87|q4  
&-yGVx  
struts.velocity.manager.classname \YJy#2K  
      org.apache.struts2.views.velocity.VelocityManager implementation class 'm=*u SJK  
      org.apache.struts2.views.velocity.VelocityManager接口名 8OhDjWVJ  
7k%T<;V  
struts.velocity.toolboxlocation 5A Bhj*7  
      The location of the Velocity toolbox fIC9WbiH-  
      velocity工具盒的位置 P'Q$d+F,  
struts.xslt.nocache m*0,s  
      Whether or not XSLT templates should not be cached 4EP<tV  
      是否XSLT模版应该被缓存 DC+wD Bp;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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