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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 hpd(d$j  
)*q7pO\cty  
struts.action.extension &<\4q  
      The URL extension to use to determine if the request is meant for a Struts action IBn'iE[>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 TyxU6<>4J4  
9;;]q?*  
struts.configuration ,(1vEE[9-  
      The org.apache.struts2.config.Configuration implementation class (,d4"C  
        org.apache.struts2.config.Configuration接口名 @]?? +f}#  
:mCw.Jz<h  
struts.configuration.files LZ=wz.'u  
      A list of configuration files automatically loaded by Struts <(u3+`f1s  
      struts自动加载的一个配置文件列表 G_4K+ -K  
#"3[f@|e  
struts.configuration.xml.reload a>;3 j  
      Whether to reload the XML configuration or not +xoyKP!  
      是否加载xml配置(true,false) A52LH,  
c+)36/; X  
struts.continuations.package kMfc"JXF  
      The package containing actions that use Rife continuations dXf]G6  
      含有actions的完整连续的package名称 OX#eLco  
^+.+I cH  
struts.custom.i18n.resources F:[Nw#gj/  
      Location of additional localization properties files to load llTQ\7zP  
      加载附加的国际化属性文件(不包含.properties后缀) /6i Tq^.%  
Mm:a+T  
struts.custom.properties   2  
      Location of additional configuration properties files to load |IyM"UH  
      加载附加的配置文件的位置 rw40<SS"Z  
XZUB*P}]D  
/h}wM6pg  
struts.devMode ,u8ZS|9  
      Whether Struts is in development mode or not {Oc?C:aI=  
      是否为struts开发模式 t(uB66(_F  
S20 nk.x  
struts.dispatcher.parametersWorkaround "Gi+zkVm  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic YG}p$\R  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &UJ Ty'  
&k%wOz1vM  
struts.enable.DynamicMethodInvocation mTrI""Jsu;  
      Allows one to disable dynamic method invocation from the URL .>AFf9P  
        允许动态方法调用 Q+y-*1   
x`j$9XN5  
struts.freemarker.manager.classname V)WIfRs  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class b7>-aem@I  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  HzgQI  
YKs^%GO+  
struts.i18n.encoding \pBYWf  
      The encoding to use for localization messages n##w[7B*  
      国际化信息内码 /jK17}j  
it/C y\f  
struts.i18n.reload .5Z,SGBf  
      Whether the localization messages should automatically be reloaded H$=h-  
      是否国际化信息自动加载 pDq^W @Rq  
b3y,4ke"  
struts.locale 8`rAE_n`%  
      The default locale for the Struts application ino7!T`  
      默认的国际化地区信息 ^Xt]wl*]+  
H;b'"./  
struts.mapper.class P}.yEta  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]6i_d  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Wj  
^)%wq@Hi  
struts.multipart.maxSize #Kb)>gzT  
      The maximize size of a multipart request (file upload) I2Or& _  
      multipart请求信息的最大尺寸(文件上传用) 7DHT)9lD/  
Hjo:;s  
struts.multipart.parser RJ`/qXL  
      The org.apache.struts2.dispatcher.multipart. ]ukj]m/@  
      MultiPartRequest parser implementation for a multipart request (file upload) 7y)|^4X2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :`Zl\!]E`o  
$+)x)1  
t<EX#_i,  
struts.multipart.saveDir /FNj|7s  
      The directory to use for storing uploaded files +^]PBMM1w  
      设置存储上传文件的目录夹 8YJqM,t5)  
b/D9P~cE  
struts.objectFactory 4<eJ  
      The com.opensymphony.xwork2.ObjectFactory implementation class J4K|KS7   
      com.opensymphony.xwork2.ObjectFactory接口(spring) Is*0?9qU  
;03*qOYc  
struts.objectFactory.spring.autoWire A]~iuUHm  
      Whether Spring should autoWire or not 8en#PH }  
      是否自动绑定Spring 6wvhvMkS  
;>QK}#'  
struts.objectFactory.spring.useClassCache WkU) I2oH  
      Whether Spring should use its class cache or not Tr}$Pb1  
      是否spring应该使用自身的cache  S9ak '  
9{]r+z:  
struts.objectTypeDeterminer sP8-gkkor  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class "#eNFCo7k  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 W0uM?J\O  
f'zFg["aZS  
struts.serve.static.browserCache 7]HIE]#  
If static content served by the Struts filter should set browser caching header properties or not Ph7(JV{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U%B]N@  
);/5#b@<Y  
struts.serve.static RGPU~L  
      Whether the Struts filter should serve static content or not e&a[k  
      是否struts过滤器应该提供静态内容 xz Gsfd  
48"Y-TV  
struts.tag.altSyntax !\D] \|Bo  
      Whether to use the alterative syntax for the tags or not [0,q7d?"  
      是否可以用替代的语法替代tags t2-zJJf8  
Lh9>8@ jf  
struts.ui.templateDir (j"~]T!)1  
      The directory containing UI templates y8(?:#ZC  
      UI templates的目录夹 ,ex(pmZ;  
7yCx !P;  
struts.ui.theme k @/SeE  
      The default UI template theme Wp9 2sm+  
      默认的UI template主题 |yl0}. ()  
5\*wX.wp  
struts.url.http.port 2" {]A;@  
      The HTTP port used by Struts URLs !A^w6Q;`V  
      设置http端口 Z@aL"@2]a  
RxDxLU2kt  
struts.url.https.port yfw>y=/p  
      The HTTPS port used by Struts URLs RT+30Q?  
      设置https端口 %RD7=Z-z  
BQfAen]  
struts.url.includeParams Jv{"R!e"P  
      The default includeParams method to generate Struts URLs 0 f#a_  
      在url中产生 默认的includeParams ]zR;%p  
R7;rBEt8  
,;ruH^  
struts.velocity.configfile BO\`m%8md  
      The Velocity configuration file path Er+3S@sfq,  
      velocity配置文件路径 H/la'f#o%  
O |I:[S},  
struts.velocity.contexts d\<aJOi+-  
      List of Velocity context names #/sE{jm  
      velocity的context列表 17[t_T&Ak9  
[Jh))DIx  
>fzzrD}]  
struts.velocity.manager.classname kFZu/HRI  
      org.apache.struts2.views.velocity.VelocityManager implementation class >zx50e)  
      org.apache.struts2.views.velocity.VelocityManager接口名 u.K'"-xt4K  
'FA)LuAok  
struts.velocity.toolboxlocation . eag84_  
      The location of the Velocity toolbox eRqexqO!  
      velocity工具盒的位置 `q{'_\gVt(  
struts.xslt.nocache >D^7v(&  
      Whether or not XSLT templates should not be cached _(s|Q  
      是否XSLT模版应该被缓存 9qO:K79|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五