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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !-x^b.${B  
6aCAz2 /  
struts.action.extension qOZe\<.V<  
      The URL extension to use to determine if the request is meant for a Struts action '68{dyFZL  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7R<<}dA]  
|=l;UqB  
struts.configuration -DX|[70  
      The org.apache.struts2.config.Configuration implementation class Y!i4P#4+q  
        org.apache.struts2.config.Configuration接口名  tAP~  
H h$D:ZO  
struts.configuration.files | g> K$m^  
      A list of configuration files automatically loaded by Struts [@#P3g\:>W  
      struts自动加载的一个配置文件列表 I6YN&9Y  
:b^tu 8E  
struts.configuration.xml.reload `"I^nD^t>Y  
      Whether to reload the XML configuration or not R2x(8k"LPU  
      是否加载xml配置(true,false) ~c! XQJ  
p8[Z/]p  
struts.continuations.package [>;U1Wt  
      The package containing actions that use Rife continuations RNcHU  
      含有actions的完整连续的package名称 bY+Hf\A  
L2P~moVIi  
struts.custom.i18n.resources ED[PP2[/  
      Location of additional localization properties files to load Sq-mH=rs]  
      加载附加的国际化属性文件(不包含.properties后缀) s=~r. x  
r@"Vbq%  
struts.custom.properties _R]la&^2F\  
      Location of additional configuration properties files to load q3T'rw%Eh  
      加载附加的配置文件的位置 ?5'UrqYSW  
<bXfjj6YJ@  
"1&C\}.7  
struts.devMode vNd4Fn)H  
      Whether Struts is in development mode or not TTmNPp4q  
      是否为struts开发模式 ]^VC@$\)+  
zvdtP'&uj  
struts.dispatcher.parametersWorkaround ~( -B%Az  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic rh${pHl  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3VB{Qj  
$eX; 2  
struts.enable.DynamicMethodInvocation 4tCyd5u a8  
      Allows one to disable dynamic method invocation from the URL m-5Dbx!j  
        允许动态方法调用 zYYc#N/  
E >KV1P  
struts.freemarker.manager.classname 477jS6^e&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class tE9%;8;H  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 syv6" 2Z'B  
JDD(e_dw  
struts.i18n.encoding dW,$yH_  
      The encoding to use for localization messages j*q]-$2E  
      国际化信息内码 !R[o6V5T  
HMS9_#[kE  
struts.i18n.reload 'd|_i6:y&  
      Whether the localization messages should automatically be reloaded jv5p_v4%O  
      是否国际化信息自动加载 u(\b1h n  
Ue^upx  
struts.locale 5bH@R@3m  
      The default locale for the Struts application B<H5WI  
      默认的国际化地区信息 }a'8lwF%I  
wP+wA}SN  
struts.mapper.class BB|w-W=Kd  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class + 3aAL&  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 H^B/ '#mO  
hoO8s#0ED  
struts.multipart.maxSize }PK8[N  
      The maximize size of a multipart request (file upload) i 0L)hkV  
      multipart请求信息的最大尺寸(文件上传用) ;I:jd")  
ljlQ9wb[s  
struts.multipart.parser nr! kx)j  
      The org.apache.struts2.dispatcher.multipart. 55zimv&DV  
      MultiPartRequest parser implementation for a multipart request (file upload) 4Xe3PdE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'X<R)E  
0KHA5dt  
Nf}G "!  
struts.multipart.saveDir ]gQgNn?  
      The directory to use for storing uploaded files yg5Ik{  
      设置存储上传文件的目录夹 T,!?+#  
JyjS#BWi  
struts.objectFactory [q?{e1  
      The com.opensymphony.xwork2.ObjectFactory implementation class -SlLX\>p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 0V}%'Ec<e  
L/F!Y%=;[  
struts.objectFactory.spring.autoWire @2L+"=u#  
      Whether Spring should autoWire or not m.&z:`x[  
      是否自动绑定Spring 'eLO#1Ipf  
U9SByqa1  
struts.objectFactory.spring.useClassCache <FRYt-+  
      Whether Spring should use its class cache or not bfQ+}|;  
      是否spring应该使用自身的cache WDP$w( M  
rMH\;\ I|U  
struts.objectTypeDeterminer GW]Ygf1t  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K`M8[ %S  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 y7u"a)T  
=BMON{K  
struts.serve.static.browserCache 2VrF~+  
If static content served by the Struts filter should set browser caching header properties or not A]WU*GL2H  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f*0[[J0]  
:;#^h]Q  
struts.serve.static KWLI7fTgj$  
      Whether the Struts filter should serve static content or not Pn[-{nz  
      是否struts过滤器应该提供静态内容 T5=3 jPQ  
2LiJ IO8N  
struts.tag.altSyntax X<OwB-N  
      Whether to use the alterative syntax for the tags or not lOCMKaCD  
      是否可以用替代的语法替代tags 'hf#Q9W5  
l <Tkg9  
struts.ui.templateDir =d!3_IZ  
      The directory containing UI templates -L NJ*?b  
      UI templates的目录夹 O8w R#(/  
V) a<)  
struts.ui.theme VWj]X7v  
      The default UI template theme lSPQXu*[  
      默认的UI template主题 mcP]k8?C  
-S"YEH9  
struts.url.http.port ,_!pUal  
      The HTTP port used by Struts URLs yrSmI)&%  
      设置http端口 Q=)$  
ey_3ah3x  
struts.url.https.port ,ZHIXylZ  
      The HTTPS port used by Struts URLs QgqR93Ic  
      设置https端口 dAh&Z:86\  
`k+ci7;  
struts.url.includeParams `1=n H/E  
      The default includeParams method to generate Struts URLs H!y1&  
      在url中产生 默认的includeParams C?fd.2#U  
[6`8^-}?  
@>}!g9c  
struts.velocity.configfile CCNrjaA  
      The Velocity configuration file path 3,8<5)ds*  
      velocity配置文件路径 ]]Sz|6P  
Sp]"Xr)  
struts.velocity.contexts ,,sKPj[  
      List of Velocity context names 6U Q~Fv`]  
      velocity的context列表 ,6=j'j1#a  
M2W4 RovfR  
9{RCh 9  
struts.velocity.manager.classname _ho9}7 >  
      org.apache.struts2.views.velocity.VelocityManager implementation class G|H+ ,B  
      org.apache.struts2.views.velocity.VelocityManager接口名 --6C>iY[&u  
UMILAoR  
struts.velocity.toolboxlocation F0qpJM,  
      The location of the Velocity toolbox y'(( tBWa!  
      velocity工具盒的位置 s/"&k  
struts.xslt.nocache M+j V`J!  
      Whether or not XSLT templates should not be cached J$F 1sy  
      是否XSLT模版应该被缓存 JfGU3d*c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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