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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2gI_*fG1  
Fi% W\Y'  
struts.action.extension Ny,A#-?  
      The URL extension to use to determine if the request is meant for a Struts action -u9yR"n\}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Dh(T) yc  
9^#gVTGXv  
struts.configuration w <>6>w@GZ  
      The org.apache.struts2.config.Configuration implementation class " IkF/  
        org.apache.struts2.config.Configuration接口名 L Yg$M@  
)]?egw5l  
struts.configuration.files m4U+,|Fa  
      A list of configuration files automatically loaded by Struts =#2qX> ?  
      struts自动加载的一个配置文件列表 qL5#.bR  
*r,&@UB  
struts.configuration.xml.reload 6Y_O^f  
      Whether to reload the XML configuration or not roj04|  
      是否加载xml配置(true,false) 6+nMH +[  
yX.5Y|A<  
struts.continuations.package %^?3s5PXD  
      The package containing actions that use Rife continuations f@Rpb}zg+C  
      含有actions的完整连续的package名称 pebx#}]p-  
Y:!/4GF  
struts.custom.i18n.resources D7WI(j\  
      Location of additional localization properties files to load pY!dG-;  
      加载附加的国际化属性文件(不包含.properties后缀) '=,rb  
/z)3gsF  
struts.custom.properties vgA!?P3  
      Location of additional configuration properties files to load a;'E}b{`F  
      加载附加的配置文件的位置 *- IlF]  
]AZ\5C-J  
JdUz!=I  
struts.devMode D PS1GO*  
      Whether Struts is in development mode or not g\\1C2jG  
      是否为struts开发模式 ZA_zKJ[[7  
s 9|a2/{  
struts.dispatcher.parametersWorkaround 5}MlZp  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ^M(`/1:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o~o6S=4,}  
UC+7-y,  
struts.enable.DynamicMethodInvocation mU3Y)  
      Allows one to disable dynamic method invocation from the URL 2 ]DCF  
        允许动态方法调用 aFr!PQp4{  
3:~l2KIP4  
struts.freemarker.manager.classname v(Bp1~PPZM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )`s;~_ZZ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 gN, k/U8  
_/jUs_W  
struts.i18n.encoding =|gJb|?w  
      The encoding to use for localization messages z>mZT.  
      国际化信息内码 *qO]v9 j  
VM!-I8t  
struts.i18n.reload o!s%h!%L  
      Whether the localization messages should automatically be reloaded Iu-'o  
      是否国际化信息自动加载 ,a9D~i 9R  
esh$*)1  
struts.locale T@Ss&eGT2  
      The default locale for the Struts application YHO;IQ5  
      默认的国际化地区信息 B-\,2rCCZ  
|B%BwE  
struts.mapper.class N /sEec  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |6sT,/6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 CQBT::  
~']&.  
struts.multipart.maxSize ZRXI?Jr%  
      The maximize size of a multipart request (file upload) QmH/yy3.%  
      multipart请求信息的最大尺寸(文件上传用) f.b8ZBNj>  
FylWbQU9  
struts.multipart.parser -GDV[Bg  
      The org.apache.struts2.dispatcher.multipart. vx\nr8'k  
      MultiPartRequest parser implementation for a multipart request (file upload) *Nv y+V  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) m\*&2Na  
^i{,z*vi  
W>p\O9BG  
struts.multipart.saveDir 69[V <1  
      The directory to use for storing uploaded files \#\`!L[1  
      设置存储上传文件的目录夹 U;x1}eFT  
%rM-"6Q  
struts.objectFactory 9,S,NvSq  
      The com.opensymphony.xwork2.ObjectFactory implementation class Yw~;g: =  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ur/Oc24i1n  
o5N]((9  
struts.objectFactory.spring.autoWire xZ^ywa_  
      Whether Spring should autoWire or not 2j8Cv:{Nn%  
      是否自动绑定Spring I;Al? &uw  
8l U;y)Z  
struts.objectFactory.spring.useClassCache _-@ZOhw&  
      Whether Spring should use its class cache or not F3r S6_  
      是否spring应该使用自身的cache Fy 4Tvg  
<KHv|)ak  
struts.objectTypeDeterminer ?gd'M_-J,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class wD<vg3e[H  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (y=dR1p  
%:" RzHN  
struts.serve.static.browserCache 2-8YSHlh  
If static content served by the Struts filter should set browser caching header properties or not "NxOOLL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 nnfY$&3A  
<8iYL`3  
struts.serve.static ` !zQ  
      Whether the Struts filter should serve static content or not ,`D/sNP ,q  
      是否struts过滤器应该提供静态内容 +-ewE-:|L  
|Puj7Ru  
struts.tag.altSyntax 8\_*1h40s  
      Whether to use the alterative syntax for the tags or not OjATSmZ@@  
      是否可以用替代的语法替代tags JqEb;NiP)5  
tJm{I)G  
struts.ui.templateDir sam[s4@eQ  
      The directory containing UI templates aAcKwCGq\  
      UI templates的目录夹 j@t{@Ke  
f?-J#x)  
struts.ui.theme [q"NU&SX  
      The default UI template theme QgZJ`G--  
      默认的UI template主题 (&c,twa~  
NWnWk  
struts.url.http.port LG6I_[  
      The HTTP port used by Struts URLs !Bj^i cR  
      设置http端口 mu>] 9ZW  
AY;<q$8j%,  
struts.url.https.port JWWInuH  
      The HTTPS port used by Struts URLs A^L?_\e6  
      设置https端口 DaDUK?  
' &N20w  
struts.url.includeParams 'M-)Os "  
      The default includeParams method to generate Struts URLs K0 QH?F  
      在url中产生 默认的includeParams }5hZo%w[n  
1tyNRoET  
kQ[Jo%YT?E  
struts.velocity.configfile 5p{25N_t  
      The Velocity configuration file path WL/5 oj  
      velocity配置文件路径 Gym#b{#":  
nF|Oy0  
struts.velocity.contexts z L8J`W  
      List of Velocity context names B G5X_s0/  
      velocity的context列表 g/B\ObY  
L6x B`E9  
-)>(8f  
struts.velocity.manager.classname J@gm@ jLc  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z*Zc]hD  
      org.apache.struts2.views.velocity.VelocityManager接口名 j@CKO cn2  
p9Z ].5Pd"  
struts.velocity.toolboxlocation  h,~tXj  
      The location of the Velocity toolbox 0}D-KvjyP  
      velocity工具盒的位置 7?,7TR2Ny  
struts.xslt.nocache T;J7+0  
      Whether or not XSLT templates should not be cached Eo Ko   
      是否XSLT模版应该被缓存 !YY 6o V  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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