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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 H@{Objh 1  
#(C/Cx54  
struts.action.extension `} =yG_!A  
      The URL extension to use to determine if the request is meant for a Struts action ! ja[ 4.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V vu(`9u]  
|h}B{D  
struts.configuration h T<n1q~  
      The org.apache.struts2.config.Configuration implementation class N{8"s&  
        org.apache.struts2.config.Configuration接口名 v*SAI]{#~  
]q{ PDZ   
struts.configuration.files 6vto++  
      A list of configuration files automatically loaded by Struts y&"!m }  
      struts自动加载的一个配置文件列表 n~tqO!q  
{<2>6 _z  
struts.configuration.xml.reload hd B |#t  
      Whether to reload the XML configuration or not #,L~w  
      是否加载xml配置(true,false) rK7W(D}  
$I@GUtzjp  
struts.continuations.package ,CciTXf  
      The package containing actions that use Rife continuations J$Fnm\  
      含有actions的完整连续的package名称 c<wavvfUo  
P;vxT}1  
struts.custom.i18n.resources e+'%!w"B  
      Location of additional localization properties files to load MIq"Wy|Zs  
      加载附加的国际化属性文件(不包含.properties后缀) B0d%c&N${  
G @g h#[b  
struts.custom.properties jd 1jG2=f  
      Location of additional configuration properties files to load %j7:tf=  
      加载附加的配置文件的位置 k=[pm5ZvT~  
0GZq`a7[  
DAdYg0efex  
struts.devMode ['cz;2{:W  
      Whether Struts is in development mode or not 4KXc~eF[M"  
      是否为struts开发模式 XphE loL  
!:WW  
struts.dispatcher.parametersWorkaround [4*1}}gW%5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic BOvF)4`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y ,E.SB  
s)zJT  
struts.enable.DynamicMethodInvocation }`xdWY  
      Allows one to disable dynamic method invocation from the URL dAc ?O-~  
        允许动态方法调用 3e%nA8?  
FJeiY#us  
struts.freemarker.manager.classname gAt~?HvW6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h}Rx_d  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 i?>tgmu.  
0:"2MSf>  
struts.i18n.encoding mdW~~-@H  
      The encoding to use for localization messages F";.6%;AC  
      国际化信息内码 F;8*H1  
 c 6"Ib)  
struts.i18n.reload ;au*V5a%  
      Whether the localization messages should automatically be reloaded ,zhJY ?sk  
      是否国际化信息自动加载 VfSj E.|  
e_.Gw"/Yl  
struts.locale :^i^0dC  
      The default locale for the Struts application p[9s<lEh  
      默认的国际化地区信息 |mhKIis U  
eQUe >*  
struts.mapper.class +5!&E7bcd  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {u"8[@@./  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Apj;  
H4:&%"j7  
struts.multipart.maxSize s$w;q\1z  
      The maximize size of a multipart request (file upload) LlHa5]E@6  
      multipart请求信息的最大尺寸(文件上传用) edipA P~!  
kJ{+M]pW  
struts.multipart.parser %Jp|z? [/  
      The org.apache.struts2.dispatcher.multipart. vDFGd-S  
      MultiPartRequest parser implementation for a multipart request (file upload) AiP!hw/V$  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) / vxm"CJR  
os4{0Mxu  
u5B:^.:p  
struts.multipart.saveDir dtZE67KS  
      The directory to use for storing uploaded files 4;<ut$G  
      设置存储上传文件的目录夹 Dnw|%6Y  
Vi *e@IP/  
struts.objectFactory 8R/dA<Ww  
      The com.opensymphony.xwork2.ObjectFactory implementation class t~``md4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3Fs5RC~a  
&c>?~-!W  
struts.objectFactory.spring.autoWire / 3!fA=+  
      Whether Spring should autoWire or not tyh@ ^7  
      是否自动绑定Spring %eg+F  
H,QTYXi "  
struts.objectFactory.spring.useClassCache d\]Yk]r  
      Whether Spring should use its class cache or not ;Hmp f0$  
      是否spring应该使用自身的cache L\%orLEmK  
0.Ta Xbi  
struts.objectTypeDeterminer @WMA}\Cc  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k*?I>%^6#T  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "%qzj93>  
Ts.wh>`  
struts.serve.static.browserCache 1yQejw  
If static content served by the Struts filter should set browser caching header properties or not =LkR!R=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'Gl&Pa1g?  
k D5!}+y  
struts.serve.static |'d>JT:  
      Whether the Struts filter should serve static content or not ^uBxgWIC  
      是否struts过滤器应该提供静态内容 ? *>]")[>  
*.#oxcll  
struts.tag.altSyntax >UDd @  
      Whether to use the alterative syntax for the tags or not ~PnTaAPJ  
      是否可以用替代的语法替代tags Fv74bC %  
h[o6-f<D  
struts.ui.templateDir zZ=pP5y8  
      The directory containing UI templates #P<N^[m  
      UI templates的目录夹 Hnk:K9u.B:  
"ZwKk G  
struts.ui.theme ,<-G<${  
      The default UI template theme S35~Cp  
      默认的UI template主题 .8(OT./  
{vEOn-(7  
struts.url.http.port m_+sR!\H8  
      The HTTP port used by Struts URLs UCW V2Mu  
      设置http端口 F+m }#p  
Ep9W-n?}  
struts.url.https.port "]K>j'^Zs<  
      The HTTPS port used by Struts URLs MN ^Aw9U  
      设置https端口 `d7n?|pD  
Zf$Np50@(  
struts.url.includeParams qz?mh4Oh  
      The default includeParams method to generate Struts URLs M(x$xAiD  
      在url中产生 默认的includeParams b~=0[Rv  
t>=fTkB  
&i+Ce  
struts.velocity.configfile 7x);x/#8Z  
      The Velocity configuration file path kF(n!2"W  
      velocity配置文件路径 7lV.[&aKW  
%yBB?cp+_  
struts.velocity.contexts #7ohQrP  
      List of Velocity context names U_x)#,4  
      velocity的context列表 Hso|e?Z  
%`Z+a.~U  
S*o[ZA   
struts.velocity.manager.classname ,XDRO./+T  
      org.apache.struts2.views.velocity.VelocityManager implementation class ktIi$v  
      org.apache.struts2.views.velocity.VelocityManager接口名 2 3OC2|  
0}!\$"|D  
struts.velocity.toolboxlocation *Kdda} J+  
      The location of the Velocity toolbox p sL?Y  
      velocity工具盒的位置 #(An6itl  
struts.xslt.nocache P3$Q&^?  
      Whether or not XSLT templates should not be cached OnQdq^UB  
      是否XSLT模版应该被缓存 .7K7h^*F  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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