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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 jr$]kLY  
vvEr}G  
struts.action.extension @SA:64 9  
      The URL extension to use to determine if the request is meant for a Struts action 7VWq8FH`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "PO>@tY  
oZ% rzLH  
struts.configuration CT1)tRN  
      The org.apache.struts2.config.Configuration implementation class + k1|+zzS  
        org.apache.struts2.config.Configuration接口名 NbPv>/r  
tz{W69k+  
struts.configuration.files RL =  
      A list of configuration files automatically loaded by Struts }[a  
      struts自动加载的一个配置文件列表 yEm[C(gZ  
L~nVoKY*V  
struts.configuration.xml.reload iY @MnnX  
      Whether to reload the XML configuration or not n_}=G RR  
      是否加载xml配置(true,false) &6*X&]V!Z  
vb 2mY  
struts.continuations.package *$uj)*5,  
      The package containing actions that use Rife continuations 9|19ia@[\  
      含有actions的完整连续的package名称 wBr$3:  
>0yx!Iao  
struts.custom.i18n.resources 6ybpPls  
      Location of additional localization properties files to load 4{!7T  
      加载附加的国际化属性文件(不包含.properties后缀) L`v7|!X  
{Vy2uow0  
struts.custom.properties &p>VTD  
      Location of additional configuration properties files to load cB~D3a0Th  
      加载附加的配置文件的位置 `Mj>t(  
<w@ziUr  
2%0J/]n\A"  
struts.devMode >s3H_X3F  
      Whether Struts is in development mode or not m0I/X$-Cl5  
      是否为struts开发模式 m0XdIC]s  
:_ _z?<?(  
struts.dispatcher.parametersWorkaround 9d7`R'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mj\]oWS7d  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S!*wK-  
;| (_;d  
struts.enable.DynamicMethodInvocation N%8O9Dp8;  
      Allows one to disable dynamic method invocation from the URL S.,om;`  
        允许动态方法调用 <[7 bUB  
(8bo"{zI  
struts.freemarker.manager.classname 6y;R1z b  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E1p?v!   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 yXg #<H6V  
eC+S'Jgf  
struts.i18n.encoding 9 gt$z}oU  
      The encoding to use for localization messages NkWU5E!  
      国际化信息内码 {rp5qgVE<  
zT;F4_p3G-  
struts.i18n.reload # tN#_<W  
      Whether the localization messages should automatically be reloaded `tmd'  
      是否国际化信息自动加载 6pyLb3[e  
``l7|b jJ  
struts.locale .<GU2&;!  
      The default locale for the Struts application v;!f  
      默认的国际化地区信息 3vs;ZBM  
7#\\Ava$T  
struts.mapper.class Yh=/?&*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class pq<302uBQ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Q]9g  
J<[Hw g  
struts.multipart.maxSize -Xm/sq(i)%  
      The maximize size of a multipart request (file upload) 9rO,h|L   
      multipart请求信息的最大尺寸(文件上传用) ?Q`u\G3.m  
_*(n2'2B  
struts.multipart.parser 'IR2H{Q  
      The org.apache.struts2.dispatcher.multipart. :?LUv:G  
      MultiPartRequest parser implementation for a multipart request (file upload) Wnp\yx`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ryk(Am<  
$j ZU(<4,  
'"# W!p  
struts.multipart.saveDir cr;\;Ta_!W  
      The directory to use for storing uploaded files z%$,F9/  
      设置存储上传文件的目录夹 A^ :/*  
GqYE=Q  
struts.objectFactory e.8(tEqZ1  
      The com.opensymphony.xwork2.ObjectFactory implementation class cjTV~(i'4A  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1 uKWvp0\  
8SJi~gV  
struts.objectFactory.spring.autoWire fu}ZOPu  
      Whether Spring should autoWire or not }ioHSkCD  
      是否自动绑定Spring _]g?3Gw7!  
bV'^0(Zv  
struts.objectFactory.spring.useClassCache Sdk:-Zuv  
      Whether Spring should use its class cache or not F;I %9-R  
      是否spring应该使用自身的cache !R{C  
/hNZ7\|P  
struts.objectTypeDeterminer 9&FFp*'3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9ZKB,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  L=Pz0  
Bu:h_sV D  
struts.serve.static.browserCache @k"Q e&BQ  
If static content served by the Struts filter should set browser caching header properties or not nPAVrDg O  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Wr3).m52}P  
%Ls5:Z=  
struts.serve.static $i:wS= w'  
      Whether the Struts filter should serve static content or not d[cqs9=\  
      是否struts过滤器应该提供静态内容 Oa8lrP`(  
|H!kU.f]  
struts.tag.altSyntax V l,V  
      Whether to use the alterative syntax for the tags or not {C% #r@6  
      是否可以用替代的语法替代tags ?1+JBl~/d  
XN*?<s3  
struts.ui.templateDir mX4u#$xs:  
      The directory containing UI templates 2;82*0Y%  
      UI templates的目录夹 2HxT+|~d6  
r)9&'m.:  
struts.ui.theme 3G4N0{i  
      The default UI template theme  .<0s?Q  
      默认的UI template主题 LjE@[@d  
9;fyC =  
struts.url.http.port Z#J cN quM  
      The HTTP port used by Struts URLs /b$0).fj@,  
      设置http端口 ?Aewp$Bj  
/b44;U`v5-  
struts.url.https.port ?u*gKI  
      The HTTPS port used by Struts URLs 3)? v  
      设置https端口 r-r)'AAO  
dBB;dN  
struts.url.includeParams <c,/+ lQ^  
      The default includeParams method to generate Struts URLs {*X8!P7C  
      在url中产生 默认的includeParams Q|!}&=  
5|4=uoA<  
\Mi] !b|8  
struts.velocity.configfile aMUy^>  
      The Velocity configuration file path eHjna\C  
      velocity配置文件路径 |GDf<\  
SkmLX@:(  
struts.velocity.contexts oj8_e xx  
      List of Velocity context names y .+d3  
      velocity的context列表 fs43\m4= m  
)Mtw9[  
nE~HcxE/  
struts.velocity.manager.classname &WqKsH$  
      org.apache.struts2.views.velocity.VelocityManager implementation class Up(Jw-.  
      org.apache.struts2.views.velocity.VelocityManager接口名 {3jV ,S  
Tb2Tb2C  
struts.velocity.toolboxlocation @V9qbr= Z  
      The location of the Velocity toolbox 34@f(^d+^  
      velocity工具盒的位置 7 Q`'1oE?  
struts.xslt.nocache .g|D  
      Whether or not XSLT templates should not be cached ! uC`7a  
      是否XSLT模版应该被缓存 z%F68 f73  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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