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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /j}Tv.'d  
: [328X2  
struts.action.extension ".$kOH_:  
      The URL extension to use to determine if the request is meant for a Struts action 'j, ([  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T 4p}5ew'  
6QbDU[  
struts.configuration KN`k+!@/7  
      The org.apache.struts2.config.Configuration implementation class -6s:D/t1'  
        org.apache.struts2.config.Configuration接口名 !/u  
<N$Hb2b  
struts.configuration.files CJ%'VijhD  
      A list of configuration files automatically loaded by Struts K8MET&  
      struts自动加载的一个配置文件列表 o5DT1>h  
^>Z_3 {s:$  
struts.configuration.xml.reload 1/w8'Kf'u  
      Whether to reload the XML configuration or not QOYMT( j  
      是否加载xml配置(true,false) %<a3[TQd`\  
ej&.tNvq  
struts.continuations.package ,52 IR[I<T  
      The package containing actions that use Rife continuations [f6BA|   
      含有actions的完整连续的package名称 }u3|w0~c)  
Nc{&AV8Y_v  
struts.custom.i18n.resources fxoEK}TM  
      Location of additional localization properties files to load 0E!-G= v  
      加载附加的国际化属性文件(不包含.properties后缀) `'<$N<!  
{}ADsh@7d'  
struts.custom.properties WQ[n K5#  
      Location of additional configuration properties files to load '@hUmrl  
      加载附加的配置文件的位置 =FV(m S  
tlUh8os  
7<MEMNYX  
struts.devMode d 94k  
      Whether Struts is in development mode or not Kc2y  
      是否为struts开发模式 gDLS)4^w  
EJTM >Rpor  
struts.dispatcher.parametersWorkaround nb=mY&q}~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6)*fr'P  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .!0Rh9yyl  
9?O8j1F  
struts.enable.DynamicMethodInvocation 4s9@4  
      Allows one to disable dynamic method invocation from the URL so$(-4(E O  
        允许动态方法调用 {R(CGrI  
{cOx0=  
struts.freemarker.manager.classname 7`t"fS  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >| ,`E  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _v0iH   
E]/2 u3p  
struts.i18n.encoding }BI6dZ~2A  
      The encoding to use for localization messages y,|2hrj/0E  
      国际化信息内码 ' *a}*(0OA  
W-#DEU 7_  
struts.i18n.reload wzju)qS  
      Whether the localization messages should automatically be reloaded .#SgU<Wq  
      是否国际化信息自动加载 1~K'r&  
B t}90#  
struts.locale oj Y.6w  
      The default locale for the Struts application Q;y5E`G  
      默认的国际化地区信息 C 4C /  
^U5N!"6R  
struts.mapper.class }aE'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class FsWp>}o  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 WVpx  
G6a 2]  
struts.multipart.maxSize /96lvn]8lO  
      The maximize size of a multipart request (file upload) c( U,FUS  
      multipart请求信息的最大尺寸(文件上传用) !"qT2<A  
EF\OM?R  
struts.multipart.parser WXmfh  
      The org.apache.struts2.dispatcher.multipart. T\.(e*hC  
      MultiPartRequest parser implementation for a multipart request (file upload) QCZ88 \jX[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) oJQS&3;/r  
/"D,gn1S*  
cb]X27uww  
struts.multipart.saveDir q#mL-3OQ  
      The directory to use for storing uploaded files bH/4f93Nb  
      设置存储上传文件的目录夹 8b]4uI <  
=-:%~n g  
struts.objectFactory o^X3YaS)  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9|<Li[  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Kq Jln)7  
J+IItO4%  
struts.objectFactory.spring.autoWire f<wYJGI  
      Whether Spring should autoWire or not -+1O*L!  
      是否自动绑定Spring dGOFSH  
tmS2%1o  
struts.objectFactory.spring.useClassCache i'H]N8,A  
      Whether Spring should use its class cache or not 5Z; 5?\g  
      是否spring应该使用自身的cache j]kgdAq>  
Bc }o3oc  
struts.objectTypeDeterminer [T =>QS@g  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class NN'pBU R  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $zCCeRP  
l3F$5n  
struts.serve.static.browserCache P8X9bW~GQ  
If static content served by the Struts filter should set browser caching header properties or not 'pIrwA^6N  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \ .#Y  
N7lg6$s Aj  
struts.serve.static Rh~b,"  
      Whether the Struts filter should serve static content or not 6Y ]P7j  
      是否struts过滤器应该提供静态内容 ,.ivdg( /  
&nr{-][  
struts.tag.altSyntax ^P~,bO&H.Z  
      Whether to use the alterative syntax for the tags or not vi^YtA  
      是否可以用替代的语法替代tags _";w*lg}  
PVlC j  
struts.ui.templateDir o5&b'WUJ=  
      The directory containing UI templates K1J |\!o  
      UI templates的目录夹 <lIm==U<-  
_xh)]R  
struts.ui.theme t{iRCj  
      The default UI template theme k-n`R)p:  
      默认的UI template主题 -~8PI2  
K% FK  
struts.url.http.port o"X..m<  
      The HTTP port used by Struts URLs pp(09y`]  
      设置http端口 q&>fKSnKs  
1O0. CC,p  
struts.url.https.port G) KI{D  
      The HTTPS port used by Struts URLs >qNpY(Ql  
      设置https端口 XV%R Mr6  
Wfd`v  
struts.url.includeParams @, fvWNI  
      The default includeParams method to generate Struts URLs hzM;{g>t  
      在url中产生 默认的includeParams 2qE_SSXn  
O DN_i  
E`JW4)AH  
struts.velocity.configfile R_/;U&R  
      The Velocity configuration file path Mo N/?VA  
      velocity配置文件路径 W3!-;l  
<bhGpLh-E  
struts.velocity.contexts )cizd^{  
      List of Velocity context names ps2j]g  
      velocity的context列表 akr2Os  
G?Gf,{#K  
+8Q @R)3  
struts.velocity.manager.classname Nm&'&L%Ch  
      org.apache.struts2.views.velocity.VelocityManager implementation class :n13v @q  
      org.apache.struts2.views.velocity.VelocityManager接口名 [LjiLKW  
$Xt""mlQ  
struts.velocity.toolboxlocation ^"|q~2  
      The location of the Velocity toolbox Ey: ?!  
      velocity工具盒的位置 "Y:>^F;  
struts.xslt.nocache &Wa3/mWK  
      Whether or not XSLT templates should not be cached HN367j2e  
      是否XSLT模版应该被缓存 Ln&~t(7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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