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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |R\>@Mg#B  
Ffta](Z;  
struts.action.extension #d2.\X}A"3  
      The URL extension to use to determine if the request is meant for a Struts action ly3\e_z:G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Bad:n o\W  
b |p)9&^r  
struts.configuration __GqQUQ  
      The org.apache.struts2.config.Configuration implementation class  LsS  
        org.apache.struts2.config.Configuration接口名 uT7B#b7  
7!TueP0Zd  
struts.configuration.files R>mmoG}MQ[  
      A list of configuration files automatically loaded by Struts xw2[d+mB  
      struts自动加载的一个配置文件列表 +@k+2?] FO  
e@* EzvO  
struts.configuration.xml.reload  dZ0vA\z|  
      Whether to reload the XML configuration or not !fR3 (=oN  
      是否加载xml配置(true,false) =\:qo'l  
6?~"V  
struts.continuations.package JB]q   
      The package containing actions that use Rife continuations .j<]mUY  
      含有actions的完整连续的package名称 ktBj|-'>  
_k ~KZ;l  
struts.custom.i18n.resources 7f!YoW;1  
      Location of additional localization properties files to load Ay w ;N  
      加载附加的国际化属性文件(不包含.properties后缀) WQL\y3f5  
`gf0l /d  
struts.custom.properties % *INT  
      Location of additional configuration properties files to load )@Yf]qx+Y<  
      加载附加的配置文件的位置 YhE+W  
3L}!RB  
=sJ7=39  
struts.devMode T1Z;r*}  
      Whether Struts is in development mode or not (I{rLS!o,L  
      是否为struts开发模式 # ,_u_'C*!  
JJ2_hVU  
struts.dispatcher.parametersWorkaround 4UvZ)^r  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,UGRrS  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^c4@(]v'G  
KZ ;k)O.Ov  
struts.enable.DynamicMethodInvocation ~8P!XAU56%  
      Allows one to disable dynamic method invocation from the URL {rH@gz|@i  
        允许动态方法调用 ADP%QTdqFJ  
6NM:DI\%  
struts.freemarker.manager.classname c[4i9I3v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2Mvrey)  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 kJzoFFWo$  
4N zwE(  
struts.i18n.encoding _'>oXQJ  
      The encoding to use for localization messages fW3(&@  
      国际化信息内码 9c#+qH  
(# Gw1  
struts.i18n.reload 'H&2HXw&2  
      Whether the localization messages should automatically be reloaded rrqR}}l  
      是否国际化信息自动加载 (SDr!!V<  
KB`!Sj\  
struts.locale L> 9V&\  
      The default locale for the Struts application w?wG(+X7  
      默认的国际化地区信息 aM2l2  
3z)Kz*xr  
struts.mapper.class Ax?y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class v7jq@#-   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 D!NQ~'.a=2  
m~P CB_ifW  
struts.multipart.maxSize NI#:|}CYS  
      The maximize size of a multipart request (file upload) Vq5k+3W+  
      multipart请求信息的最大尺寸(文件上传用) W<$Z=(_v  
Hl/ QnI!  
struts.multipart.parser EQ`(yj  
      The org.apache.struts2.dispatcher.multipart. c5l.B#-lY  
      MultiPartRequest parser implementation for a multipart request (file upload) Lz!,kwg  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `U)hjQ~pP  
jR2 2t`4  
9{}1r2xW  
struts.multipart.saveDir (m.ob+D  
      The directory to use for storing uploaded files p|jV{P  
      设置存储上传文件的目录夹 i;jw\ed  
)Xak JU^o  
struts.objectFactory | e?64%l5P  
      The com.opensymphony.xwork2.ObjectFactory implementation class feNdMR7eM  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ##;Er47@^  
NufLzg{  
struts.objectFactory.spring.autoWire ( Qcp{q  
      Whether Spring should autoWire or not .ir<s>YM  
      是否自动绑定Spring qg!|l7e  
x&9hI  
struts.objectFactory.spring.useClassCache R_68-WO  
      Whether Spring should use its class cache or not 2f:Eof(B  
      是否spring应该使用自身的cache mc_ch$r!  
gu<'QV"  
struts.objectTypeDeterminer W$rH"_@m  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #hf ak  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 0-|byAh  
/D^"X 4!"  
struts.serve.static.browserCache H(2]7dRS%  
If static content served by the Struts filter should set browser caching header properties or not Nwt" \3  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^Au _U  
%Gj8F4{  
struts.serve.static 1jPJw3"3h  
      Whether the Struts filter should serve static content or not WxJf{=-  
      是否struts过滤器应该提供静态内容 bH2MdU  
?a8(a zn  
struts.tag.altSyntax D3^7y.u<)  
      Whether to use the alterative syntax for the tags or not IWveW8qJ  
      是否可以用替代的语法替代tags %4 XJn@J  
0=q;@OIf  
struts.ui.templateDir &q~:~   
      The directory containing UI templates B`o]*"xkB  
      UI templates的目录夹 }kK[S|XVO  
4jBC9b}O  
struts.ui.theme oY|,GvCnK  
      The default UI template theme T?1Du"d8  
      默认的UI template主题 H_Kj7(=&>  
vZ N!Zl7S  
struts.url.http.port !F4@KAv  
      The HTTP port used by Struts URLs -zO2|@S,  
      设置http端口 E55t*^`  
=w5O&(  
struts.url.https.port pM&YXb?  
      The HTTPS port used by Struts URLs ?N=m<fn  
      设置https端口 <ggtjw S  
LIVU^Os.  
struts.url.includeParams ,i6RE  
      The default includeParams method to generate Struts URLs A@D2+fS  
      在url中产生 默认的includeParams HCJ>X;(`f?  
pD2<fP_  
}^*F59>H  
struts.velocity.configfile ^6P3%  
      The Velocity configuration file path [kzd(u  
      velocity配置文件路径 6^n0[7  
(N K9vW4F  
struts.velocity.contexts uV hCxUMQ  
      List of Velocity context names eo!zW  
      velocity的context列表 ]cC[-F[  
-;XKcS7Ue  
P;8>5;U4-  
struts.velocity.manager.classname [;.`,/  
      org.apache.struts2.views.velocity.VelocityManager implementation class  6vTo*8D  
      org.apache.struts2.views.velocity.VelocityManager接口名 j9U%7u]-k  
\[>9UC%  
struts.velocity.toolboxlocation KZ e)K_1[  
      The location of the Velocity toolbox <U9/InN0[  
      velocity工具盒的位置 cx$Gic:4  
struts.xslt.nocache oi&Wo'DX  
      Whether or not XSLT templates should not be cached vF/ =J  
      是否XSLT模版应该被缓存 $W42vjr4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五