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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Kd:l8%+  
wgFX')l:  
struts.action.extension SkjG}  
      The URL extension to use to determine if the request is meant for a Struts action 2uj .*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j_<qnBeQ  
DTO_IP  
struts.configuration Ohm{m^VD"  
      The org.apache.struts2.config.Configuration implementation class | 6{JINW  
        org.apache.struts2.config.Configuration接口名 {H)7K.hQN  
+[76_EXy  
struts.configuration.files r#zcl)rbU  
      A list of configuration files automatically loaded by Struts wAHuPQ&_Q  
      struts自动加载的一个配置文件列表 nM[yBA  
I=!kPuw  
struts.configuration.xml.reload NBk0P*SI  
      Whether to reload the XML configuration or not ?I+{S  
      是否加载xml配置(true,false) [Hh*lKg  
iT'doF  
struts.continuations.package bdL= ?KS  
      The package containing actions that use Rife continuations VhO+nvd*W  
      含有actions的完整连续的package名称 [* <x)  
S~/2Bw!2  
struts.custom.i18n.resources \5a.JfF  
      Location of additional localization properties files to load Mt.Cj;h@^[  
      加载附加的国际化属性文件(不包含.properties后缀) /43l}6I  
wV )\M]@  
struts.custom.properties Ph^1Ko" 2  
      Location of additional configuration properties files to load B_[efM<R$  
      加载附加的配置文件的位置 %9cT#9!7  
 }u8(7  
J _rrc;F  
struts.devMode }ny7LQ  
      Whether Struts is in development mode or not }H ~-oYMu  
      是否为struts开发模式 j|KDgI<0  
L-9fo-  
struts.dispatcher.parametersWorkaround CcQc!`YC  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )0/9 L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /9br&s$B  
lC($@sC%  
struts.enable.DynamicMethodInvocation m!ZY]:)$  
      Allows one to disable dynamic method invocation from the URL 9J/[7TzSZ  
        允许动态方法调用 30v xOkS  
@&?(XY 'M%  
struts.freemarker.manager.classname [H*JFKpx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &g;!n&d zP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 v~ >Bbe  
k2 Ju*W&  
struts.i18n.encoding `,}7LfY  
      The encoding to use for localization messages -))S  
      国际化信息内码 b-ss^UL  
A:m+v{*`4  
struts.i18n.reload  qNJc*@s  
      Whether the localization messages should automatically be reloaded ."wF86jW|  
      是否国际化信息自动加载 @T^FOTW  
%SC Jmn2  
struts.locale kWW2N0~$  
      The default locale for the Struts application -=5~h  
      默认的国际化地区信息 ].Yz =:  
)#i@DHt=  
struts.mapper.class t`B@01;8A  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T +vo)9w  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0si1:+t-[+  
:\[l~S  
struts.multipart.maxSize (RFH.iX  
      The maximize size of a multipart request (file upload) %*Ex2we&  
      multipart请求信息的最大尺寸(文件上传用) 4s 7 RB  
pg%(6dqK4  
struts.multipart.parser j!agD_J  
      The org.apache.struts2.dispatcher.multipart. !=eNr<:V.  
      MultiPartRequest parser implementation for a multipart request (file upload) r#OPW7mhE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .e7tq\k  
i.^ytbH  
- VJx)g  
struts.multipart.saveDir loIb}8  
      The directory to use for storing uploaded files a <C?- g|  
      设置存储上传文件的目录夹 qb[hKp5K6  
IL|Q-e}Ol  
struts.objectFactory Lf(( zk:pt  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3RaW\cWzg  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ulxlh8=  
U;W9`JT<.f  
struts.objectFactory.spring.autoWire nF'YG+;|@  
      Whether Spring should autoWire or not P!]uJ8bi  
      是否自动绑定Spring _tHhS@   
Mz&/.A  
struts.objectFactory.spring.useClassCache l:'#pZ4T  
      Whether Spring should use its class cache or not 0!,uo\`  
      是否spring应该使用自身的cache / <)Vd  
X&WP.n)  
struts.objectTypeDeterminer Z5Lmg  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \2kLj2!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &%rM|  
l Xa/5QKC  
struts.serve.static.browserCache l_}d Q&R  
If static content served by the Struts filter should set browser caching header properties or not |RL#BKC`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 t.8r~2(?  
V22z-$cb  
struts.serve.static QdgJNT<=H,  
      Whether the Struts filter should serve static content or not 6C VH)=%  
      是否struts过滤器应该提供静态内容 O q$_ q  
jRjeL'"G  
struts.tag.altSyntax "r46Rfa  
      Whether to use the alterative syntax for the tags or not RiQ ]AsTtl  
      是否可以用替代的语法替代tags %)7t2D  
HaVhdv3L  
struts.ui.templateDir jMn,N9Mf  
      The directory containing UI templates Hk*1Wrs*  
      UI templates的目录夹 e' M&Eh  
Imv#7{ndq  
struts.ui.theme N" L&Z4Z  
      The default UI template theme l$&~(YE f  
      默认的UI template主题 Os<E7l zqO  
F6}RPk\=i  
struts.url.http.port ~)f^y!PMQ  
      The HTTP port used by Struts URLs FGi7KV=N  
      设置http端口 r>(,)rs(l  
vS\2zwb}  
struts.url.https.port yD~,+}0)  
      The HTTPS port used by Struts URLs -  ]wT  
      设置https端口  p?f\/  
[uU!\xe  
struts.url.includeParams }O*`I(  
      The default includeParams method to generate Struts URLs @?<[//1  
      在url中产生 默认的includeParams T)gulP  
^7y t>  
3`cA!ZVQ  
struts.velocity.configfile bVUIeX'  
      The Velocity configuration file path n/skDx TE  
      velocity配置文件路径 k^Qf |  
s21} a,eB  
struts.velocity.contexts xuv W6Q;  
      List of Velocity context names jTR?!Mt0  
      velocity的context列表 D#LV&4e>.E  
r>fGj\#R =  
{]+t<  
struts.velocity.manager.classname SyVGm@  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]i#p2?BR  
      org.apache.struts2.views.velocity.VelocityManager接口名 h&i*=&<HP6  
yIL=jzm`7  
struts.velocity.toolboxlocation O=3/ qs6m  
      The location of the Velocity toolbox \I!mzo  
      velocity工具盒的位置 JVu j u$k  
struts.xslt.nocache m}'_Poc  
      Whether or not XSLT templates should not be cached XX/gS=NE#.  
      是否XSLT模版应该被缓存 \Sd8PGl*'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八