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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !D7\$ g6g  
uQ5NN*C=  
struts.action.extension wrK$ZO]  
      The URL extension to use to determine if the request is meant for a Struts action H1s{JJAM>i  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )WwysGkqol  
eq(|%]a=  
struts.configuration e4khReF;  
      The org.apache.struts2.config.Configuration implementation class rZKv:x}{6  
        org.apache.struts2.config.Configuration接口名 No =f&GVg  
'?_I-="Mr  
struts.configuration.files AY [7yPP  
      A list of configuration files automatically loaded by Struts [9'5+RXw3  
      struts自动加载的一个配置文件列表 L6r&Y~+/  
;Zw!  
struts.configuration.xml.reload !yoj ZG MB  
      Whether to reload the XML configuration or not tE(x8>5A:  
      是否加载xml配置(true,false) gS4K](KH |  
0b?9LFd  
struts.continuations.package 31w?bx !Pp  
      The package containing actions that use Rife continuations yc_(L-'n  
      含有actions的完整连续的package名称 dQ/Xs.8  
K4,VSy1byI  
struts.custom.i18n.resources i:qc2#O:J  
      Location of additional localization properties files to load 0}Kl47}aD  
      加载附加的国际化属性文件(不包含.properties后缀) u'yePJTE  
[9[tn -  
struts.custom.properties |pq z(j7  
      Location of additional configuration properties files to load ~AjbF(Ad  
      加载附加的配置文件的位置 WuSRA<{P  
o'>jO.|  
x03GJy5  
struts.devMode ] A<\ d  
      Whether Struts is in development mode or not 3j]La  
      是否为struts开发模式 P)(Ly5$*  
D;BFl(l  
struts.dispatcher.parametersWorkaround gRSM~<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [MFV:Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) YjvqU /[3  
Vxo3RwmR  
struts.enable.DynamicMethodInvocation */O6cF7  
      Allows one to disable dynamic method invocation from the URL 7QQ3IepP  
        允许动态方法调用 bnB}VRal  
_$MoMg{uJH  
struts.freemarker.manager.classname I/XVo2Ee  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class G1$DV Go  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $Snwx  
GrVvOJr  
struts.i18n.encoding 8eWb{n uJ>  
      The encoding to use for localization messages w2/%e$D!9  
      国际化信息内码 "N7C7`izc  
n; v8Vc'  
struts.i18n.reload -']#5p l  
      Whether the localization messages should automatically be reloaded h8pc<t\6  
      是否国际化信息自动加载 CDU^X$Q  
Gx'mVC"{  
struts.locale 2=["jP!B  
      The default locale for the Struts application KhXW5hS1  
      默认的国际化地区信息 &NHIX(b6  
D2>=^WP6+  
struts.mapper.class "84.qgYaG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class w`F}3zm  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 top3o{ 4  
8Ln:y'K  
struts.multipart.maxSize 2s|[!:L5  
      The maximize size of a multipart request (file upload) {P1W{|  
      multipart请求信息的最大尺寸(文件上传用) 5OpK~f5  
&EA4`p  
struts.multipart.parser )o AK)e  
      The org.apache.struts2.dispatcher.multipart. pg4M$;ED  
      MultiPartRequest parser implementation for a multipart request (file upload) FjkE^o>  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) >"zSW?  
1ub03$pL;  
w y:USS?  
struts.multipart.saveDir pBK[j ([  
      The directory to use for storing uploaded files f{* G%  
      设置存储上传文件的目录夹 mR8&9]g&  
# ?}WQP!  
struts.objectFactory 3o"~_l$z  
      The com.opensymphony.xwork2.ObjectFactory implementation class R%7k<1d'`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5x=tOR/h  
&S''fxGL  
struts.objectFactory.spring.autoWire Nm#KHA='Z  
      Whether Spring should autoWire or not ~y B[}BPf  
      是否自动绑定Spring pZjyzH{~  
,((5|MbM/  
struts.objectFactory.spring.useClassCache SJy:5e?zk  
      Whether Spring should use its class cache or not UL"Jwq D  
      是否spring应该使用自身的cache -2% [ ]  
xU67ztS'E'  
struts.objectTypeDeterminer |JuXOcr4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class hb`b Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A6TNtXk  
96MRnj*Y[  
struts.serve.static.browserCache BE%#4c.b  
If static content served by the Struts filter should set browser caching header properties or not HbZ3QWP  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 - bFz  
7/Ve=7]  
struts.serve.static 1eiH%{w  
      Whether the Struts filter should serve static content or not RX7,z.9@'O  
      是否struts过滤器应该提供静态内容 OEq8gpqY  
}v=q6C#Q>  
struts.tag.altSyntax D{a{$P r  
      Whether to use the alterative syntax for the tags or not :tzCuK?e  
      是否可以用替代的语法替代tags hj0uv6t.c  
a/>={mb Ki  
struts.ui.templateDir |}'}TYX0:  
      The directory containing UI templates {,P&05iSi  
      UI templates的目录夹 Z^h'&c#  
'3%!Gi!g  
struts.ui.theme P`V#Wj4\  
      The default UI template theme I-fs*yzj;8  
      默认的UI template主题 zx;x@";p  
d:<{!}BR3  
struts.url.http.port tao3Xr^?  
      The HTTP port used by Struts URLs /c3 DltOdr  
      设置http端口 ~~'XY(\L@  
;uR8pz e  
struts.url.https.port F?5kl/("  
      The HTTPS port used by Struts URLs 3smcCQA%  
      设置https端口 RFQa9Rxk  
HZfcLDrO  
struts.url.includeParams YBHmd  
      The default includeParams method to generate Struts URLs K _O3DcQ  
      在url中产生 默认的includeParams #l8CUg~Uj  
9Tjvc!4_b  
BXyZn0k  
struts.velocity.configfile ];zi3oS^  
      The Velocity configuration file path o8Q(,P  
      velocity配置文件路径 !7^fji  
i"sVk8+o!  
struts.velocity.contexts C.pNDpx-  
      List of Velocity context names "6Ly?'H K  
      velocity的context列表 \*d@_oQ$  
}JrM!'  
BD,~M*%z  
struts.velocity.manager.classname Hsx`P  
      org.apache.struts2.views.velocity.VelocityManager implementation class 36&7J{MU  
      org.apache.struts2.views.velocity.VelocityManager接口名 @: %}clZ  
tEBf2|<  
struts.velocity.toolboxlocation :~U1JAs$  
      The location of the Velocity toolbox !=k\Rr@qx  
      velocity工具盒的位置 cs~ }k7><  
struts.xslt.nocache _;X# &S(q-  
      Whether or not XSLT templates should not be cached &k : |  
      是否XSLT模版应该被缓存 ?G.9D`95  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五