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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 xZtA) Bp  
0@,,YZ f  
struts.action.extension X"J79?5  
      The URL extension to use to determine if the request is meant for a Struts action Ts0.Ck  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 wke$  
:::"C"Ge  
struts.configuration wED~^[]f  
      The org.apache.struts2.config.Configuration implementation class ?)Z~H,Q(z  
        org.apache.struts2.config.Configuration接口名 R_uA!MoLs  
{~16j"  
struts.configuration.files }CaL:kY8  
      A list of configuration files automatically loaded by Struts #93;V'b]  
      struts自动加载的一个配置文件列表 z|}Anc[\  
eL^,-3JA(]  
struts.configuration.xml.reload x*i5g`jx  
      Whether to reload the XML configuration or not =w".B[r  
      是否加载xml配置(true,false) ~Ht[kO  
8l>/ZZ.NXi  
struts.continuations.package Cv{rd##Y8  
      The package containing actions that use Rife continuations g Gg8O? Z  
      含有actions的完整连续的package名称 ma~WJ0LM\  
y_qFXd  
struts.custom.i18n.resources U?>P6p  
      Location of additional localization properties files to load g-oHu8   
      加载附加的国际化属性文件(不包含.properties后缀) #PoUCRRC  
*ky5SM(NR  
struts.custom.properties qOZe\<.V<  
      Location of additional configuration properties files to load '68{dyFZL  
      加载附加的配置文件的位置 7R<<}dA]  
5 LhFD  
hc>hNC:a  
struts.devMode >T.U\,om7  
      Whether Struts is in development mode or not V.'EP  
      是否为struts开发模式 =4 &9!Z  
*`ji2+4Sjw  
struts.dispatcher.parametersWorkaround /4w&! $M-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {qx}f^WV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T$GhE  
r4Pm i  
struts.enable.DynamicMethodInvocation 3?Bq((  
      Allows one to disable dynamic method invocation from the URL cliP+#  
        允许动态方法调用 n1DD+@  
j?/T7a^  
struts.freemarker.manager.classname W)<us?5Ec5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *M/3 1qI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FlD !?  
& @^|=>L  
struts.i18n.encoding DDN#w<#  
      The encoding to use for localization messages 5Tb93Q@c  
      国际化信息内码 ff?:_q+.N  
65=i`!f  
struts.i18n.reload N#C,_ k  
      Whether the localization messages should automatically be reloaded #`); UAf  
      是否国际化信息自动加载 7O;v5k~iQ  
nW{ ). P  
struts.locale h<6@&yzp  
      The default locale for the Struts application ?t'O\n)M  
      默认的国际化地区信息 CO0Nq/@  
:v Pzw!  
struts.mapper.class Jmf&&)p  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class TaG'?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [#)-F_S  
|6"zIHvtc  
struts.multipart.maxSize 6 jRF[N8  
      The maximize size of a multipart request (file upload) xO'1|b^&  
      multipart请求信息的最大尺寸(文件上传用) mxq'A  
3Q~ng2Wv%  
struts.multipart.parser n_)d4d zl  
      The org.apache.struts2.dispatcher.multipart.  -"\z|OQ  
      MultiPartRequest parser implementation for a multipart request (file upload) bf'@sh%W  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9FX'Uws  
4ZQX YwfC|  
P[8`]=  
struts.multipart.saveDir _Wk!d3bsx  
      The directory to use for storing uploaded files fwf]1@#   
      设置存储上传文件的目录夹 ;l &mA1+  
HMS9_#[kE  
struts.objectFactory 72&xEx  
      The com.opensymphony.xwork2.ObjectFactory implementation class KFLIO>hE  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7zgU>$i  
.^l;3*X@  
struts.objectFactory.spring.autoWire 9-Qu b+0o  
      Whether Spring should autoWire or not U"aFi  
      是否自动绑定Spring F4e<=R  
EbY%:jR  
struts.objectFactory.spring.useClassCache [|<|a3']|  
      Whether Spring should use its class cache or not "DjD"?/b  
      是否spring应该使用自身的cache fN?HF'7V  
y_Bmd   
struts.objectTypeDeterminer w~;1R\?|  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %=]~5a9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A>xFNem  
g.s~Ph-G  
struts.serve.static.browserCache ] GJIrtS4  
If static content served by the Struts filter should set browser caching header properties or not 71@V|$Dy  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #QXB2x<*  
+K; X$kB  
struts.serve.static (Y)$+9  
      Whether the Struts filter should serve static content or not lmp0Ye|  
      是否struts过滤器应该提供静态内容 oZmni9*SD  
ORA +>  
struts.tag.altSyntax wX<)Fj'  
      Whether to use the alterative syntax for the tags or not bv4lgRE6Y  
      是否可以用替代的语法替代tags cmZ39pjBJ  
^ bexXYh  
struts.ui.templateDir W.HM!HQp  
      The directory containing UI templates <Ktx*(D  
      UI templates的目录夹 R3jhq3F\Y  
wx>BNlT@?  
struts.ui.theme Ih{(d O;  
      The default UI template theme |*fGG?}  
      默认的UI template主题 ^^{K[sLB  
k129)79  
struts.url.http.port =xw) [  
      The HTTP port used by Struts URLs 54-sb~]  
      设置http端口 &+xNR2";  
p4fU/  
struts.url.https.port |/Ggsfmby  
      The HTTPS port used by Struts URLs (VI4kRj  
      设置https端口 qYl%v  
1Vp['&  
struts.url.includeParams ';^VdR]fk  
      The default includeParams method to generate Struts URLs GghZ".O  
      在url中产生 默认的includeParams v<ASkkh>  
DKPX_::  
,*+F*:o(m  
struts.velocity.configfile [as\>@o  
      The Velocity configuration file path Z7V 1e<E  
      velocity配置文件路径 %S. _3`A  
<2fZYt vt  
struts.velocity.contexts %{Kp#R5E  
      List of Velocity context names qdx(wGG  
      velocity的context列表 w +fsw@dK&  
N41)?-7F  
o 3#qp>R  
struts.velocity.manager.classname 7ykpDl^@  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2>Xgo%  
      org.apache.struts2.views.velocity.VelocityManager接口名 *_}ft-*w  
Ovq-rI{  
struts.velocity.toolboxlocation [O2xE037h`  
      The location of the Velocity toolbox ,gVA^]eDh  
      velocity工具盒的位置 0B>hVaj>-  
struts.xslt.nocache K63OjR >H  
      Whether or not XSLT templates should not be cached &u&/t?  
      是否XSLT模版应该被缓存 c/jU+,_g  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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