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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2dI:],7  
w|5}V6WD  
struts.action.extension \R#XSW,  
      The URL extension to use to determine if the request is meant for a Struts action q5RLIstQ\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 etDB|(,z  
(8ymQ!aY  
struts.configuration |n &6z  
      The org.apache.struts2.config.Configuration implementation class -0\$JAyrx  
        org.apache.struts2.config.Configuration接口名 7I.[1V`  
\dc`}}Lc  
struts.configuration.files Y|lMa?\E  
      A list of configuration files automatically loaded by Struts be@MQ}6>  
      struts自动加载的一个配置文件列表 uuC/F_='B  
{jq-dL  
struts.configuration.xml.reload p' gv5\u[w  
      Whether to reload the XML configuration or not <n`|zQ  
      是否加载xml配置(true,false) "M*\,IH  
'/p5tw8  
struts.continuations.package l`u*,"$  
      The package containing actions that use Rife continuations eeX)JC0A  
      含有actions的完整连续的package名称 (p2a{v}fEz  
w\QpQ~OX  
struts.custom.i18n.resources [,e_2<   
      Location of additional localization properties files to load 4i19HD_  
      加载附加的国际化属性文件(不包含.properties后缀) 5y~[2jB:  
UmJg-~  
struts.custom.properties HU'E}8%t6  
      Location of additional configuration properties files to load ><DE1tG  
      加载附加的配置文件的位置 a[JgR/E@x  
P~*fZ)\}F@  
qj/P4*6E  
struts.devMode ~\_E%NR yA  
      Whether Struts is in development mode or not :dj@i6  
      是否为struts开发模式 bVrvb`0  
d8K^`k+x  
struts.dispatcher.parametersWorkaround  )Ob{]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic p*'?(o:=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "h#=ctCx"  
F`N*{at  
struts.enable.DynamicMethodInvocation 2-6-kS)c  
      Allows one to disable dynamic method invocation from the URL O|/tRkDMP{  
        允许动态方法调用 lDA%M3(p  
i}YnJ  
struts.freemarker.manager.classname @GV^B'}*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 1hN! 2Y:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _1Eyqh`oh  
lV 1|\~?4  
struts.i18n.encoding MWuVV=rd8a  
      The encoding to use for localization messages "N;|~S)w!  
      国际化信息内码 S,v`rmI  
- t+Mh.  
struts.i18n.reload 'F~u \m=E  
      Whether the localization messages should automatically be reloaded B?4\IXek  
      是否国际化信息自动加载 8BN'fWl&E  
&d2/F i+  
struts.locale -Z@ p   
      The default locale for the Struts application g=%&p?1@E  
      默认的国际化地区信息 r3-3*_  
i>~?XVU  
struts.mapper.class D'&L wU,o  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class :z:Blp>nK/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Mc6y'w  
 96BMJE'  
struts.multipart.maxSize pqe tYu  
      The maximize size of a multipart request (file upload) 4M]8po/;  
      multipart请求信息的最大尺寸(文件上传用) )<|TEp4r-  
Q&J,"Vxw  
struts.multipart.parser ^/+sl-6/F  
      The org.apache.struts2.dispatcher.multipart. g[$B9 0  
      MultiPartRequest parser implementation for a multipart request (file upload) x<l1s  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gM*s/,;O"  
Vh<`MS0X  
7~16letQ  
struts.multipart.saveDir a !IH-XJ2  
      The directory to use for storing uploaded files ZUu^==a  
      设置存储上传文件的目录夹 W< n`[  
9NT;^K^ I  
struts.objectFactory i_MI!o  
      The com.opensymphony.xwork2.ObjectFactory implementation class \x!>5Z Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) oxzNV&D[{`  
q2Kn3{  
struts.objectFactory.spring.autoWire jz)H?UuDY  
      Whether Spring should autoWire or not piP8ObGjy  
      是否自动绑定Spring Rc4EFHL  
Q@8[ql1l  
struts.objectFactory.spring.useClassCache >W;i2%T  
      Whether Spring should use its class cache or not =T-w.}27O  
      是否spring应该使用自身的cache u!i5Q  
lm|`Lh-  
struts.objectTypeDeterminer ZeeuH"A  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |(%H O@i  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )>fi={!=c  
e-VL U;  
struts.serve.static.browserCache !r|X6`g  
If static content served by the Struts filter should set browser caching header properties or not 9<#D0hh$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BUb(BzC  
6"GpE5'*  
struts.serve.static  xYT.J 6  
      Whether the Struts filter should serve static content or not &Yg/ 08*  
      是否struts过滤器应该提供静态内容 %gaKnT(|r  
AVp [gr  
struts.tag.altSyntax wLtTC4D  
      Whether to use the alterative syntax for the tags or not D}T, z  
      是否可以用替代的语法替代tags "" U_|JH-  
{9Y'v  
struts.ui.templateDir `9ox?|iJ  
      The directory containing UI templates $<v_Vm?6d  
      UI templates的目录夹 K288&D|1WU  
:~(im_r  
struts.ui.theme !A!\S/x4  
      The default UI template theme R%%`wmG)"  
      默认的UI template主题 h uJqqC  
q}5A^QX  
struts.url.http.port R*X2Z{n  
      The HTTP port used by Struts URLs +HX'AC  
      设置http端口 +]-KzDsr"V  
lIz_0rE  
struts.url.https.port ))`Zv=y"  
      The HTTPS port used by Struts URLs 9^u?v`!  
      设置https端口 qN@a<row&~  
o!~bR  
struts.url.includeParams to3J@:V8e  
      The default includeParams method to generate Struts URLs d<'xpdxc  
      在url中产生 默认的includeParams |Z ,G  
Q7|13^ |C  
kre&J  
struts.velocity.configfile $1+K}tP  
      The Velocity configuration file path 5F"?]'*/  
      velocity配置文件路径 Z+"&{g  
N^+ww]f?  
struts.velocity.contexts ^>Y%L(>  
      List of Velocity context names &r%*_pX  
      velocity的context列表 ^{:jY, ?]  
iIE(zw)H  
<^U(ya  
struts.velocity.manager.classname %7msAvbk  
      org.apache.struts2.views.velocity.VelocityManager implementation class (GG"'bYk  
      org.apache.struts2.views.velocity.VelocityManager接口名 2~V Im#  
>x4[7YAU{  
struts.velocity.toolboxlocation :eW~nI.Vc  
      The location of the Velocity toolbox hli 10p$  
      velocity工具盒的位置 #-T.@a1X  
struts.xslt.nocache /BM1AV{s6  
      Whether or not XSLT templates should not be cached Nz*sD^SJa  
      是否XSLT模版应该被缓存 2HXKz7da  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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