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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3x.|g   
\*1pFX#  
struts.action.extension $nBzYRc"3  
      The URL extension to use to determine if the request is meant for a Struts action M*{ EK  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1/JgirVA  
-.i1l/FzP  
struts.configuration ^~8l|d_  
      The org.apache.struts2.config.Configuration implementation class #Z(8 vA^@  
        org.apache.struts2.config.Configuration接口名 8iR%?5 >K  
w~X1Il7A  
struts.configuration.files sf@g $  
      A list of configuration files automatically loaded by Struts @y{Whun~  
      struts自动加载的一个配置文件列表 Z Oyq{w!2  
"{ AS5jw  
struts.configuration.xml.reload &3'II:x(  
      Whether to reload the XML configuration or not B7_:,R.l  
      是否加载xml配置(true,false) )$i7b  
VO/" ot  
struts.continuations.package mS0*%[S {  
      The package containing actions that use Rife continuations ?UQE;0 B  
      含有actions的完整连续的package名称 ,d@.@a] `  
>/eQjp?:  
struts.custom.i18n.resources @ 4j#X  
      Location of additional localization properties files to load {pm>F}Cwy  
      加载附加的国际化属性文件(不包含.properties后缀) ]7fqVOiOu  
rW&8#&  
struts.custom.properties >& \QLo[5  
      Location of additional configuration properties files to load G}AfCd4  
      加载附加的配置文件的位置 ^+Ec}+ Q  
LKFL2|af  
r8}GiP0|  
struts.devMode RWz^ MV5K  
      Whether Struts is in development mode or not *GTCVxu  
      是否为struts开发模式 v.c2(w/P  
} |(KI  
struts.dispatcher.parametersWorkaround K Ps 5? X  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic DU|0#z=*t5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A#f@0W:  
Tr-gdX ;  
struts.enable.DynamicMethodInvocation )1Z*kY?f!  
      Allows one to disable dynamic method invocation from the URL Z~9\7QJn  
        允许动态方法调用 |*e >hk  
%, XyhS5[o  
struts.freemarker.manager.classname yv[ s)c}  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ^kzw/. I{  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 W,}HQ  
=;i@,{ ~  
struts.i18n.encoding ,ZC^,Vq  
      The encoding to use for localization messages l{E+j%  
      国际化信息内码 5kofO  
oost}%WxN  
struts.i18n.reload ZS4lb=)G  
      Whether the localization messages should automatically be reloaded { P&l`  
      是否国际化信息自动加载 LTm2B_+  
.UU BAyjm  
struts.locale oZA?}#DRl  
      The default locale for the Struts application '/Hx0]V  
      默认的国际化地区信息 ix=HLF-0zC  
!/BXMj,=  
struts.mapper.class ezY _7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class "'~'xaU!=a  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 JD^(L~n]  
N;9@-Tb  
struts.multipart.maxSize wh<+.Zp  
      The maximize size of a multipart request (file upload) R]0awV1b  
      multipart请求信息的最大尺寸(文件上传用) e3yBB*@  
w<lHY=z E  
struts.multipart.parser 3BDAvdJ4.  
      The org.apache.struts2.dispatcher.multipart. {r#2X1  
      MultiPartRequest parser implementation for a multipart request (file upload) hp@g iu7  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )ZEUD] X  
tT ~}lW)Y  
k ?X  
struts.multipart.saveDir O\,n;oj  
      The directory to use for storing uploaded files 9_n!.zA<  
      设置存储上传文件的目录夹 "~jt0pp  
XnHcU=~q  
struts.objectFactory c8v+eyn  
      The com.opensymphony.xwork2.ObjectFactory implementation class kQxY"HD  
      com.opensymphony.xwork2.ObjectFactory接口(spring) sZ/~pk  
%`t;5kmR  
struts.objectFactory.spring.autoWire >%h_ R:  
      Whether Spring should autoWire or not (`>RwooE  
      是否自动绑定Spring %K@D{ )r_^  
G9TK)Nz  
struts.objectFactory.spring.useClassCache 2M3.xUS  
      Whether Spring should use its class cache or not ++W_4 B!  
      是否spring应该使用自身的cache Dt0S"`^=k  
t|jX%s=  
struts.objectTypeDeterminer bJj <xjBM  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .3l'&".'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )2C_6eR  
O['gp~P"  
struts.serve.static.browserCache .cdm@_Ls  
If static content served by the Struts filter should set browser caching header properties or not OW<i"?0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k6_RJ8I  
HeZ! "^w  
struts.serve.static 7hqa|  
      Whether the Struts filter should serve static content or not %3M(!X:[  
      是否struts过滤器应该提供静态内容 t,4q]Jt  
\Lv eZ_h5  
struts.tag.altSyntax w4H3($ K  
      Whether to use the alterative syntax for the tags or not _Pjo9z 9  
      是否可以用替代的语法替代tags ( 1T2? mO  
qba<$  
struts.ui.templateDir rR@ t5  
      The directory containing UI templates ,F`:4=H%  
      UI templates的目录夹 D642}VD  
h@7S hp  
struts.ui.theme wXIsc;  
      The default UI template theme zM%ILv4  
      默认的UI template主题 Wky=]C%  
=W"BfG  
struts.url.http.port v|C)Q %v  
      The HTTP port used by Struts URLs m=b~Wf39  
      设置http端口 lG;RfDI-  
*G7$wW:?  
struts.url.https.port D *RF._  
      The HTTPS port used by Struts URLs V'sp6:3*\  
      设置https端口 ??5qR8n.  
g^OU+7o  
struts.url.includeParams 8aQ\Yx  
      The default includeParams method to generate Struts URLs B<i )je!  
      在url中产生 默认的includeParams 8  !]$ljg  
\Q7Nz2X  
R ,-y  
struts.velocity.configfile p:U9#(v)  
      The Velocity configuration file path =PWh,lWS  
      velocity配置文件路径 Z;M]^?  
/.l8Jb4  
struts.velocity.contexts O'{UAb+-  
      List of Velocity context names =G2D4>q  
      velocity的context列表 |q"WJQ  
c+c3C8s*8  
<GC<uB |p  
struts.velocity.manager.classname OiH tobM  
      org.apache.struts2.views.velocity.VelocityManager implementation class SV}q8z\  
      org.apache.struts2.views.velocity.VelocityManager接口名 p(in.Xz  
rs2G{a  
struts.velocity.toolboxlocation +e+hIMur  
      The location of the Velocity toolbox u POmi F  
      velocity工具盒的位置 XP~bmh,T,  
struts.xslt.nocache &@u;xc| v  
      Whether or not XSLT templates should not be cached /Aoo h~  
      是否XSLT模版应该被缓存 H RJz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五