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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 zh<[ /'l  
O$2'$44HX  
struts.action.extension ZMI!Sl  
      The URL extension to use to determine if the request is meant for a Struts action 9AxeA2/X  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 KqE5{ q  
BJ]4j-^o  
struts.configuration bi^Xdu  
      The org.apache.struts2.config.Configuration implementation class k!^Au8Up?  
        org.apache.struts2.config.Configuration接口名 BM@:=>ypQ  
NFEF{|}BM  
struts.configuration.files /tu+L6  
      A list of configuration files automatically loaded by Struts $GR 3tLzK:  
      struts自动加载的一个配置文件列表 RJz$$,RU  
h5x_Vjj  
struts.configuration.xml.reload )Yc jx~   
      Whether to reload the XML configuration or not Wd R~  
      是否加载xml配置(true,false) Q|O! cEW/  
w,<nH:~  
struts.continuations.package xux j  
      The package containing actions that use Rife continuations  bK7j"  
      含有actions的完整连续的package名称 sI7<rI.t){  
K)z! e;r  
struts.custom.i18n.resources BaLvlB  
      Location of additional localization properties files to load RbY=O OQ  
      加载附加的国际化属性文件(不包含.properties后缀) |@rPd=G^(/  
O!3MXmaO  
struts.custom.properties bm &$wf  
      Location of additional configuration properties files to load vp4l g1/  
      加载附加的配置文件的位置 EEU)eltI  
mihR *8p  
|#6B<'e'  
struts.devMode >A+0"5+_p  
      Whether Struts is in development mode or not U|Du9_0  
      是否为struts开发模式 S:*.,zC  
AWY#t&  
struts.dispatcher.parametersWorkaround 123 6W+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [+q':T1W-  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >AbgJ*X.  
@Yv.HhO9  
struts.enable.DynamicMethodInvocation 7({"dW  
      Allows one to disable dynamic method invocation from the URL %LH~Im=  
        允许动态方法调用 Spnshv8  
Nan@SuKY  
struts.freemarker.manager.classname 3k AhvL  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 0E6tH& ;>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Jvk!a~e  
DvBL #iC   
struts.i18n.encoding y rSTU-5u  
      The encoding to use for localization messages 2hlb$N-hk  
      国际化信息内码 vp"b_x1-  
AB!P(  
struts.i18n.reload epcBr_}  
      Whether the localization messages should automatically be reloaded wVSk.OOB  
      是否国际化信息自动加载 KfSI6 Y _  
,-C%+SC  
struts.locale y@5{.jsr_  
      The default locale for the Struts application Wsz-#kc\[  
      默认的国际化地区信息 6@"lIKeP  
GE2^v_  
struts.mapper.class ]dx6E6A,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class OwdA6it^f  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *?'^R c  
V<ZohB?y  
struts.multipart.maxSize K,!"5WrX*  
      The maximize size of a multipart request (file upload) W+F^(SC\  
      multipart请求信息的最大尺寸(文件上传用) 9]{(~=D7  
, ;'y <GA  
struts.multipart.parser eQiK\iDS  
      The org.apache.struts2.dispatcher.multipart. IfeCSK,x  
      MultiPartRequest parser implementation for a multipart request (file upload) Gk!06   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $P9'"a)Lm  
yX^/Oc@j  
Au-_6dT  
struts.multipart.saveDir @Kx@ 2#~b  
      The directory to use for storing uploaded files s/;iZiWK  
      设置存储上传文件的目录夹 lWVvAoe  
X9J&OQ  
struts.objectFactory c v .R`)l  
      The com.opensymphony.xwork2.ObjectFactory implementation class *A2D}X3s  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (1t b  
-HE@wda  
struts.objectFactory.spring.autoWire b5-WK;  
      Whether Spring should autoWire or not -^Pn4y]A)  
      是否自动绑定Spring k>2tC<  
=JqKdLH  
struts.objectFactory.spring.useClassCache tX<. Ud  
      Whether Spring should use its class cache or not 2MV!@rx  
      是否spring应该使用自身的cache jkzC^aG  
l7+[Zn/v *  
struts.objectTypeDeterminer ;;A8TcE '  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4iXB`@k  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R\^n2gK  
u%o2BLx  
struts.serve.static.browserCache _a~uIGN  
If static content served by the Struts filter should set browser caching header properties or not $.7Ov|  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1>KZ1Kf  
h{J=Rq  
struts.serve.static aSN"MTw.  
      Whether the Struts filter should serve static content or not d x/NY1  
      是否struts过滤器应该提供静态内容 yF~iVt  
6N6}3J5  
struts.tag.altSyntax qu}&4_`%:V  
      Whether to use the alterative syntax for the tags or not 4 Qo(Wl  
      是否可以用替代的语法替代tags d0b`qk @4  
*0*1.>Vg  
struts.ui.templateDir )L,.K O  
      The directory containing UI templates 5._=m"Pl  
      UI templates的目录夹 P5qY|_  
q|;Sn  
struts.ui.theme T6P9Icv?@7  
      The default UI template theme ;Q1/53Y<  
      默认的UI template主题 w9Eb\An  
-naj.omG|  
struts.url.http.port 62}rZVJq  
      The HTTP port used by Struts URLs YH:murJMZ  
      设置http端口 7sC8|+  
$@ous4&  
struts.url.https.port uT#MVv~.  
      The HTTPS port used by Struts URLs e >OYJd0s  
      设置https端口 mYE8]4  
U{)|z-n  
struts.url.includeParams Po~u-5  
      The default includeParams method to generate Struts URLs RPXkf71iM  
      在url中产生 默认的includeParams ;;*'<\lP.j  
Q>G lA  
1L4-hYtCj  
struts.velocity.configfile !oJ226>WI  
      The Velocity configuration file path f&n6;N  
      velocity配置文件路径 UC u4S >  
B!;qz[]I  
struts.velocity.contexts AP2BND9  
      List of Velocity context names cAL*Md8+  
      velocity的context列表 l'K3)yQEJ  
YFGQPg  
SWrt4G  
struts.velocity.manager.classname 5ree3 quh  
      org.apache.struts2.views.velocity.VelocityManager implementation class .y)Y20=o!  
      org.apache.struts2.views.velocity.VelocityManager接口名 XDot3)2`  
"!fvEE  
struts.velocity.toolboxlocation Qd{h3K^hlu  
      The location of the Velocity toolbox A#WvN>  
      velocity工具盒的位置 SEL7,8 Hm  
struts.xslt.nocache bnm3 cR:h"  
      Whether or not XSLT templates should not be cached lrE|>R  
      是否XSLT模版应该被缓存 gvoo1 Sa  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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