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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9c806>]U^  
TeQWrm s  
struts.action.extension BpCzmU  
      The URL extension to use to determine if the request is meant for a Struts action PDX^MYoN  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O!sZMGF$p  
]?^m;~MQZ  
struts.configuration (]>c8;o#b  
      The org.apache.struts2.config.Configuration implementation class KS'? DO  
        org.apache.struts2.config.Configuration接口名 4D[W;4/p  
-) $$4<L  
struts.configuration.files =4yME  
      A list of configuration files automatically loaded by Struts lMp)T**  
      struts自动加载的一个配置文件列表 [dsH0 D&T  
jh`&c{#*)M  
struts.configuration.xml.reload gyieSXz[  
      Whether to reload the XML configuration or not FgRlxz  
      是否加载xml配置(true,false) YmHn*N}:U  
lcvWx%/o@  
struts.continuations.package l{aXX[E&1  
      The package containing actions that use Rife continuations ;,Sl+)@h  
      含有actions的完整连续的package名称 f6^H Q1SSt  
(I,PC*:  
struts.custom.i18n.resources j0o_``  
      Location of additional localization properties files to load ? YX2CJ6N  
      加载附加的国际化属性文件(不包含.properties后缀) g!D?Yj4  
Bfaj4i ;_  
struts.custom.properties uI-te~]  
      Location of additional configuration properties files to load "sf8~P9qy  
      加载附加的配置文件的位置 rO 6oVz#x  
x!MYIaZ7  
of8/~VO  
struts.devMode UBi0 /  
      Whether Struts is in development mode or not tp_*U,  
      是否为struts开发模式 ]gkI:scPA  
h5x FP  
struts.dispatcher.parametersWorkaround |>GtClL  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3Zdkf]Gh  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >va#PFHA  
lW?}jzuo  
struts.enable.DynamicMethodInvocation `>'E4z]-_  
      Allows one to disable dynamic method invocation from the URL -GCGxC2u  
        允许动态方法调用 >&e|ins^N  
LwkZ(Tt  
struts.freemarker.manager.classname I 8`@Srw8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MH`f!%c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 P$Xig  
k%/Z.4vQG  
struts.i18n.encoding qWtvo';3  
      The encoding to use for localization messages 5>"$95D  
      国际化信息内码 O|#^&d  
)fpZrpLXE  
struts.i18n.reload  hPx=3L$  
      Whether the localization messages should automatically be reloaded : UD<1fh  
      是否国际化信息自动加载 sk$MJSE ~  
yFshV\   
struts.locale 1'R]An BV  
      The default locale for the Struts application tH2y:o 72  
      默认的国际化地区信息 e[yk'E  
L=VJl[DL  
struts.mapper.class ]U! ?{~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Bh"o{-$p8`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ,F.\z^\{  
W<xu*U(A  
struts.multipart.maxSize )O"5dF1l  
      The maximize size of a multipart request (file upload) ^4O1:_|G  
      multipart请求信息的最大尺寸(文件上传用) fZ]Y  
V3xC"maA@  
struts.multipart.parser d5\w'@Di  
      The org.apache.struts2.dispatcher.multipart. c@~\ FUr  
      MultiPartRequest parser implementation for a multipart request (file upload) 7z)Hq./3@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) BE:HO^-.1  
w8kp6_i'  
7\rz*  
struts.multipart.saveDir =\ iV=1iB  
      The directory to use for storing uploaded files 6^s=25>p  
      设置存储上传文件的目录夹 :7<spd(%"  
D^]7/w:$-  
struts.objectFactory {2}O\A  
      The com.opensymphony.xwork2.ObjectFactory implementation class `Ou\:Iz0u  
      com.opensymphony.xwork2.ObjectFactory接口(spring) M8ZpNa  
\e T0d<  
struts.objectFactory.spring.autoWire U{} bx  
      Whether Spring should autoWire or not TPt<(-}W  
      是否自动绑定Spring /^G1wz2  
6OF&Q`*4  
struts.objectFactory.spring.useClassCache ib0M$Y1tIS  
      Whether Spring should use its class cache or not `!kOyh:X  
      是否spring应该使用自身的cache CQW#o_\  
{l%Of  
struts.objectTypeDeterminer |gA~E>IqF  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class c-z ,}`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 81O`#DfZ  
7;) T;X  
struts.serve.static.browserCache 'mp@!@_  
If static content served by the Struts filter should set browser caching header properties or not 8Sd<!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?gY^,Ckj  
!0CC&8C`  
struts.serve.static HbX>::J8  
      Whether the Struts filter should serve static content or not ^J< I Ia4  
      是否struts过滤器应该提供静态内容 0+}42g|_Z  
Cz-eiPlq  
struts.tag.altSyntax x?9rT 0D  
      Whether to use the alterative syntax for the tags or not <3m_} =\  
      是否可以用替代的语法替代tags Pb]: i+c)  
%# ?)+8"l  
struts.ui.templateDir ?]]> WP  
      The directory containing UI templates R7r` (c!  
      UI templates的目录夹 HJo&snT3  
-uIu-a]  
struts.ui.theme 3'}(:X(  
      The default UI template theme  SS[jk  
      默认的UI template主题 zp:kdN7!^  
ARGtWW~:  
struts.url.http.port T ]hVO'z  
      The HTTP port used by Struts URLs /X~l%Xm  
      设置http端口 {~_X-g5|]  
P%A;EF~ v  
struts.url.https.port 7#SXqyP[  
      The HTTPS port used by Struts URLs @@"}i7  
      设置https端口 'c*Q/C;  
~,WG284  
struts.url.includeParams _HW~sz|  
      The default includeParams method to generate Struts URLs N_rz~$|@9  
      在url中产生 默认的includeParams ?n)d: )Ud"  
RZ-=UIf  
w=Ac/ 12  
struts.velocity.configfile <u]M):b3  
      The Velocity configuration file path ?`bi8 Ck  
      velocity配置文件路径 `w` f[dU-  
C#d .3t  
struts.velocity.contexts [APwHIS  
      List of Velocity context names HQJ_:x Y  
      velocity的context列表 %nk]zf..  
1G$fU zS  
T2<?4^xN  
struts.velocity.manager.classname {VtmQU? cJ  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8[\F*H  
      org.apache.struts2.views.velocity.VelocityManager接口名 Yj3j?.JJk  
M!Q27wT8 O  
struts.velocity.toolboxlocation F6 ?4&h?n  
      The location of the Velocity toolbox r"sK@  
      velocity工具盒的位置 C62:G+W&o  
struts.xslt.nocache &TJMopVn  
      Whether or not XSLT templates should not be cached X|zQZ<CO  
      是否XSLT模版应该被缓存 I .jB^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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