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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >`NM?KP s  
ivagS\Q  
struts.action.extension C>MoR3]  
      The URL extension to use to determine if the request is meant for a Struts action 22*t%{(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I|LS_m  
BF_k~  
struts.configuration JPpYT~4  
      The org.apache.struts2.config.Configuration implementation class Y"lxh/l$}  
        org.apache.struts2.config.Configuration接口名 q2 f/#"k  
[7Kn$OfP  
struts.configuration.files T.|0;Eb  
      A list of configuration files automatically loaded by Struts wG|3 iFK  
      struts自动加载的一个配置文件列表 VAthQ<  
+<q^[<pS  
struts.configuration.xml.reload B!N807  
      Whether to reload the XML configuration or not lGM3?AN  
      是否加载xml配置(true,false) BT#>b@Xub  
j)]'kg  
struts.continuations.package nAX |=qp#  
      The package containing actions that use Rife continuations pIrAGA;  
      含有actions的完整连续的package名称 D!<$uAT  
0 /kbxpih  
struts.custom.i18n.resources CX:^]wY  
      Location of additional localization properties files to load FQ87[| S  
      加载附加的国际化属性文件(不包含.properties后缀) JZtFt=>q  
HaC3y[LJ0  
struts.custom.properties s<dD>SU  
      Location of additional configuration properties files to load @t2 Q5c  
      加载附加的配置文件的位置 SKtEEFyIR_  
7L\GI`y  
y$&a(S]  
struts.devMode 2$Ji4`p}S  
      Whether Struts is in development mode or not GHlra^  
      是否为struts开发模式 njX:[_&  
g SwG=e\  
struts.dispatcher.parametersWorkaround QbNv+Eu5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jQr~@15J#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $XI<s$P%(%  
PRLV1o1#  
struts.enable.DynamicMethodInvocation !'gz&3B~h  
      Allows one to disable dynamic method invocation from the URL "''<:K|  
        允许动态方法调用 m0* B[  
Y5NbY02E  
struts.freemarker.manager.classname TZP{=v<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class mQvKreo~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 m@Nx`aS?  
N 4v)0  
struts.i18n.encoding 2(rZ@Wl  
      The encoding to use for localization messages &B2c]GoW  
      国际化信息内码 w2,T.3DT  
=%u|8Ea*`  
struts.i18n.reload NY;UI (<]  
      Whether the localization messages should automatically be reloaded q7]WR(e  
      是否国际化信息自动加载 #,PAM.rH  
b mm@oi  
struts.locale 6m" 75  
      The default locale for the Struts application _9@?Th&_e  
      默认的国际化地区信息  bSR<d  
[s34N+vU  
struts.mapper.class 0B4(t6o  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =c.q]/M  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8 (KfX%  
A{J1 n  
struts.multipart.maxSize *0hiPj:  
      The maximize size of a multipart request (file upload) bsP ;  
      multipart请求信息的最大尺寸(文件上传用) ]~.J@ 1?  
7gMtnwT  
struts.multipart.parser KVcZ@0[S  
      The org.apache.struts2.dispatcher.multipart. CU;nrd"  
      MultiPartRequest parser implementation for a multipart request (file upload) z-gwNE{  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &0eB@8{N  
 ke#;1  
4@V] zfu^Q  
struts.multipart.saveDir L@_">' pR  
      The directory to use for storing uploaded files &+j^{a  
      设置存储上传文件的目录夹 (rG1_lUDu  
XH *tChf<  
struts.objectFactory D+)=bPMe  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0;h1LI)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3uw7 J5x  
/h M>dkwu  
struts.objectFactory.spring.autoWire yK B[HpU-  
      Whether Spring should autoWire or not `I>K?  
      是否自动绑定Spring xI: 'Hk1  
+.lWck  
struts.objectFactory.spring.useClassCache huoKr  
      Whether Spring should use its class cache or not  mo,l`UL  
      是否spring应该使用自身的cache h3lDDyu  
Qkib;\2  
struts.objectTypeDeterminer WhZaq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B#?2,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tv OAN|+F  
~0-764%  
struts.serve.static.browserCache e] K=Nm  
If static content served by the Struts filter should set browser caching header properties or not BR^J y<^F'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Vrj1$NL%  
k4$q|x7+%  
struts.serve.static KY`96~z  
      Whether the Struts filter should serve static content or not xN m32~  
      是否struts过滤器应该提供静态内容 _0*>I1F~  
B -~&6D,  
struts.tag.altSyntax p},Fwbl  
      Whether to use the alterative syntax for the tags or not .G_3blE;  
      是否可以用替代的语法替代tags M#cr*%  
l>UUaf|O  
struts.ui.templateDir GeaDaYh#T  
      The directory containing UI templates (<3lo ZaX  
      UI templates的目录夹 lZM3Q58?\  
dl6v <  
struts.ui.theme klJ[ {p  
      The default UI template theme F!&pENQ  
      默认的UI template主题 2]3HX3  
~Ex.Yp8.  
struts.url.http.port :dguQ|e  
      The HTTP port used by Struts URLs b!X"2'  
      设置http端口 9I\3T6&tr  
eqZ+no  
struts.url.https.port -+rF]|Wi  
      The HTTPS port used by Struts URLs 3Y{)(%I  
      设置https端口 pRwGv  
UB$`;'|i  
struts.url.includeParams 2rCY&8  
      The default includeParams method to generate Struts URLs }=hoATs  
      在url中产生 默认的includeParams OJsd[l3xR  
m6r )Z5}f  
XLmMK{gs  
struts.velocity.configfile o~x39  
      The Velocity configuration file path ~'2r&?=\  
      velocity配置文件路径 Px#QZZ  
.W :  
struts.velocity.contexts LBkcs4+  
      List of Velocity context names q Iy^N:C2'  
      velocity的context列表 WjrMd#^  
%Lp7@  
_ML~c&9jv  
struts.velocity.manager.classname \`/E !ub  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^ Y7/Ow  
      org.apache.struts2.views.velocity.VelocityManager接口名 }utNZhJ  
V`\f+Uu  
struts.velocity.toolboxlocation `cP'~OT  
      The location of the Velocity toolbox h Y}/Y  
      velocity工具盒的位置 v0C;j (2zb  
struts.xslt.nocache ?JgO-.  
      Whether or not XSLT templates should not be cached H_?B{We  
      是否XSLT模版应该被缓存 hOB\n!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五