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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >v4k_JX  
WA);Z=  
struts.action.extension U3ygFW%  
      The URL extension to use to determine if the request is meant for a Struts action 3J\NkaSR  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6~g:"}  
7ko7)"N  
struts.configuration *%0f^~!G<p  
      The org.apache.struts2.config.Configuration implementation class A<6V$e$:2  
        org.apache.struts2.config.Configuration接口名 H>AzxhX[n  
 8ad!.  
struts.configuration.files dhW;|  
      A list of configuration files automatically loaded by Struts ~;ink   
      struts自动加载的一个配置文件列表 1'|6IR1'  
`[+9n2j  
struts.configuration.xml.reload 9"yBO`  
      Whether to reload the XML configuration or not =k4yWC5-  
      是否加载xml配置(true,false) C,C=W]G  
DdI7%?hK  
struts.continuations.package Z_%}pe39B  
      The package containing actions that use Rife continuations DSwF }  
      含有actions的完整连续的package名称 h]Zc&&+8{  
Y^dVNC3vd  
struts.custom.i18n.resources Q*TxjE7K  
      Location of additional localization properties files to load  m8rz i:  
      加载附加的国际化属性文件(不包含.properties后缀) 7R\!'`]\M  
uo1G   
struts.custom.properties Z2chv,SqCJ  
      Location of additional configuration properties files to load FswMEf-|  
      加载附加的配置文件的位置 =goZI67  
2|k*rv}l  
Rl4r 9  
struts.devMode CvpqQ7&k7  
      Whether Struts is in development mode or not [7Nn%eZC  
      是否为struts开发模式 W7N Hr5RC  
7YRDQjg  
struts.dispatcher.parametersWorkaround PVO9KWv**  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *$(=I6b  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $ Z;HE/ 3  
<$liWAGX\  
struts.enable.DynamicMethodInvocation 5iola}6  
      Allows one to disable dynamic method invocation from the URL YtQKsM  
        允许动态方法调用 FV/xp}nz  
da@y*TO#i  
struts.freemarker.manager.classname wAHb 5>!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class syh0E= If_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 H+zn:j@~L  
\Rn.ug  
struts.i18n.encoding PMZdz>>T  
      The encoding to use for localization messages VGcl)fIqw?  
      国际化信息内码 Q}jbk9gM5  
f}4c#x  
struts.i18n.reload ,8uu,,c  
      Whether the localization messages should automatically be reloaded ;U<) $5  
      是否国际化信息自动加载 f5a%/1?  
0:G@a&Lr  
struts.locale 1at$_\{.(  
      The default locale for the Struts application gb:Cc,F,%  
      默认的国际化地区信息 K/[v>(<  
4~a0   
struts.mapper.class o,) p*glO  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *9^CgLF  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Cu({%Gy+  
^JtGT  
struts.multipart.maxSize hBsjO3n  
      The maximize size of a multipart request (file upload) whNRUOK:  
      multipart请求信息的最大尺寸(文件上传用) 5q]u:  
{s8''+Q#(-  
struts.multipart.parser 'D(Hqdr;:  
      The org.apache.struts2.dispatcher.multipart. n#3y2,Ml  
      MultiPartRequest parser implementation for a multipart request (file upload) 89l_%To  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }jU{RR%6B  
&3{:h  
:kZ2N67  
struts.multipart.saveDir p!'wOThO`  
      The directory to use for storing uploaded files Vm8;{Sq  
      设置存储上传文件的目录夹 ]_BG"IR!..  
"EpE!jh  
struts.objectFactory 17D167\X  
      The com.opensymphony.xwork2.ObjectFactory implementation class }sy3M rb  
      com.opensymphony.xwork2.ObjectFactory接口(spring) LWbWj ^  
MC#bo{Bq3-  
struts.objectFactory.spring.autoWire gb(\c:yg1R  
      Whether Spring should autoWire or not v03~=(  
      是否自动绑定Spring tBBN62^ X  
(Xq eX(s  
struts.objectFactory.spring.useClassCache RqHxKj  
      Whether Spring should use its class cache or not q1dYiG.-Z  
      是否spring应该使用自身的cache 5, Yk5?l<'  
v,>F0ofJ  
struts.objectTypeDeterminer aic6,>\!'  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {>FA ~}cX.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &P3B  
B_5q}Bp<  
struts.serve.static.browserCache =< CH(4!  
If static content served by the Struts filter should set browser caching header properties or not d; #9xD'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Wc3!aLNx  
|[34<tIN  
struts.serve.static C,PCU<q  
      Whether the Struts filter should serve static content or not Rl5}W\&  
      是否struts过滤器应该提供静态内容 N#.IpY'7Ze  
+G/~v`Bv  
struts.tag.altSyntax 3"[ KXzn  
      Whether to use the alterative syntax for the tags or not s* 9tWSd  
      是否可以用替代的语法替代tags <i`EP/x  
c<&+[{|  
struts.ui.templateDir ^J% w[FE  
      The directory containing UI templates #UND'c(5  
      UI templates的目录夹 <2cq 0*$  
l}Xmm^@)  
struts.ui.theme [JAd1%$3  
      The default UI template theme h]EXD   
      默认的UI template主题 3C,e>zE}  
b}"/K$`Fd  
struts.url.http.port 1}jE?{V*  
      The HTTP port used by Struts URLs XVv7W5/q]  
      设置http端口 s?Q`#qD  
]}v`#-Px(  
struts.url.https.port rW\~sTH  
      The HTTPS port used by Struts URLs #-lk=>  
      设置https端口 [/#n+sz.A  
}Xc|Z.6  
struts.url.includeParams CKBi-q FH  
      The default includeParams method to generate Struts URLs M.OWw#?p:_  
      在url中产生 默认的includeParams 5 h{Hf]A  
|e< U%v  
It_yh #s  
struts.velocity.configfile +H<%)Lk J  
      The Velocity configuration file path T!a8c<'V  
      velocity配置文件路径 +^69>L2V  
V GvOwd)E  
struts.velocity.contexts G,"$Erx  
      List of Velocity context names V)(pe #P  
      velocity的context列表 w@:o:yLS  
[\.>BK  
gdG: &{|x  
struts.velocity.manager.classname ONfJ"Rp3  
      org.apache.struts2.views.velocity.VelocityManager implementation class Z#J{tXZc  
      org.apache.struts2.views.velocity.VelocityManager接口名 ' xi..  
"   c  
struts.velocity.toolboxlocation Ck^=H  
      The location of the Velocity toolbox mmjB1 L  
      velocity工具盒的位置 t!iF(R\  
struts.xslt.nocache Ow^%n(Ezh  
      Whether or not XSLT templates should not be cached S i>TG  
      是否XSLT模版应该被缓存 j_H T  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八