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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7Ucq(,\./  
CjGQ  
struts.action.extension u[HamGxx$u  
      The URL extension to use to determine if the request is meant for a Struts action 0V ZC7@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 W)<t7q+  
$-p9cyk  
struts.configuration feJl[3@tO  
      The org.apache.struts2.config.Configuration implementation class !'#GdRstv  
        org.apache.struts2.config.Configuration接口名 @\WeI"^F8  
||))gI`3a  
struts.configuration.files #}lWM%9Dy  
      A list of configuration files automatically loaded by Struts <Gna}ALkg  
      struts自动加载的一个配置文件列表 z22:O"UHa  
(]` rri*^  
struts.configuration.xml.reload  20]p<  
      Whether to reload the XML configuration or not ?IG[W+M8  
      是否加载xml配置(true,false) 8},:  
DLN zH  
struts.continuations.package q+BG  
      The package containing actions that use Rife continuations 3T/&T`T+c  
      含有actions的完整连续的package名称 @1A.$:  
'5(T0Ws/w  
struts.custom.i18n.resources h=4 GSU  
      Location of additional localization properties files to load \hWac%#  
      加载附加的国际化属性文件(不包含.properties后缀) -zzoz x]S=  
dJe 3DW :  
struts.custom.properties _SnD)k+TgJ  
      Location of additional configuration properties files to load :=*V i`  
      加载附加的配置文件的位置 ZfXgVTJ`  
&x\cEI)!  
4t-l@zFWb  
struts.devMode [V_+/[AA)  
      Whether Struts is in development mode or not Q-7L,2TL  
      是否为struts开发模式 i<(~J4}b  
NwVhJdo  
struts.dispatcher.parametersWorkaround ]=p^32  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "yc|ng  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I+,CiJ|4  
c^<~Y$i  
struts.enable.DynamicMethodInvocation ]_j= { 0%  
      Allows one to disable dynamic method invocation from the URL p=m:^9/  
        允许动态方法调用 !4T!@"#  
m8V}E& 6  
struts.freemarker.manager.classname Q_Wg4n5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `2/V.REX$h  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 yJ="dEn>i"  
dZox;_b  
struts.i18n.encoding {:|b,ep T  
      The encoding to use for localization messages TPs ]n7]:  
      国际化信息内码 "|Kag|(qB  
m@UrFPZ  
struts.i18n.reload +`iJ+  
      Whether the localization messages should automatically be reloaded FKPR;H8>  
      是否国际化信息自动加载 +i#s |kKs\  
~6K.5t7  
struts.locale l&*= .Zc7!  
      The default locale for the Struts application kS?CKd9by  
      默认的国际化地区信息 ^wD`sj<Qg  
~(#iGc]7  
struts.mapper.class 7X)4ec9H\  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ==BOW\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 LpL$=9  
fv@<  
struts.multipart.maxSize F B:nkUR`  
      The maximize size of a multipart request (file upload) ~9"c64 q  
      multipart请求信息的最大尺寸(文件上传用) }KO <II  
7%W1M@  
struts.multipart.parser ; !C_}P  
      The org.apache.struts2.dispatcher.multipart. +&dkJ 4g[  
      MultiPartRequest parser implementation for a multipart request (file upload) 2m"cK^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pSI8"GwQ  
%P{3c~?DH  
uQ&> Wk  
struts.multipart.saveDir ` Z/ MQ  
      The directory to use for storing uploaded files e0#t  
      设置存储上传文件的目录夹 'tDUPm38  
_''un3eCY  
struts.objectFactory /\;m/cwrl"  
      The com.opensymphony.xwork2.ObjectFactory implementation class MMUlA$*t  
      com.opensymphony.xwork2.ObjectFactory接口(spring) l|{[vZpT  
nW} s  
struts.objectFactory.spring.autoWire xQ2: tY#?  
      Whether Spring should autoWire or not CB X}_]9X  
      是否自动绑定Spring 1 +Ue m  
1J72*`4OK  
struts.objectFactory.spring.useClassCache S;y4Z:!  
      Whether Spring should use its class cache or not E [6:}z<  
      是否spring应该使用自身的cache 6^!fuIZ;_  
C,A/29R,s  
struts.objectTypeDeterminer 4UUbX  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #a2gRg  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ($>m]|  
;4(}e{  
struts.serve.static.browserCache jE wt1S V  
If static content served by the Struts filter should set browser caching header properties or not L|}s Z\2!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [ [w |  
nMZ)x-  
struts.serve.static qGX#(,E9;  
      Whether the Struts filter should serve static content or not +jK-k_  
      是否struts过滤器应该提供静态内容 IibYGF  
H cyoNY  
struts.tag.altSyntax [q C0YM  
      Whether to use the alterative syntax for the tags or not Nd+1r|e'  
      是否可以用替代的语法替代tags GKjtX?~1  
/%s:aO  
struts.ui.templateDir r/HCWs|  
      The directory containing UI templates 7(oA(l1V  
      UI templates的目录夹 VX82n,'=t  
TVx `&C+  
struts.ui.theme "wuO[c&%/  
      The default UI template theme jd,i=P%  
      默认的UI template主题 ~%C F3?e6  
[0hahR  
struts.url.http.port Lr 5{c5M  
      The HTTP port used by Struts URLs <,rOsE6  
      设置http端口 O`@- b#  
=<#G~8WYz  
struts.url.https.port .}v" `>x  
      The HTTPS port used by Struts URLs T1*.3_wtP  
      设置https端口 k].swvIi  
D7T|K :F)  
struts.url.includeParams E>f{j:M  
      The default includeParams method to generate Struts URLs l)dE7$H  
      在url中产生 默认的includeParams $B_%MfI  
gua7<z6=eh  
(ie%zrhS  
struts.velocity.configfile -*MY7t3  
      The Velocity configuration file path jU7[z$GX  
      velocity配置文件路径 * Ogf6  
,a,2I  
struts.velocity.contexts )5LT!14  
      List of Velocity context names 6_])(F3+w.  
      velocity的context列表 y(MB _B7j  
N%xCyZ  
,ofE*Wt  
struts.velocity.manager.classname 'vZIAnB8  
      org.apache.struts2.views.velocity.VelocityManager implementation class F]PsS(  
      org.apache.struts2.views.velocity.VelocityManager接口名 DU$#tg}{  
5h`LWA B  
struts.velocity.toolboxlocation )\ceanS  
      The location of the Velocity toolbox 7=9>yba)^  
      velocity工具盒的位置 d1/9 A-{  
struts.xslt.nocache @ci..::5  
      Whether or not XSLT templates should not be cached BWy-R6br  
      是否XSLT模版应该被缓存 X-_VuM_p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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