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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (nmsw6 X  
^_\m@   
struts.action.extension u(8{5"C  
      The URL extension to use to determine if the request is meant for a Struts action dF 6od  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]U'zy+  
eDP&W$s#  
struts.configuration 4Ol1T(J#  
      The org.apache.struts2.config.Configuration implementation class  24 [cU  
        org.apache.struts2.config.Configuration接口名 !ck~4~J  
]?T^tJ  
struts.configuration.files w=!xTA  
      A list of configuration files automatically loaded by Struts !9HWx_,|Z  
      struts自动加载的一个配置文件列表 (_FeX22+  
9v;[T%%  
struts.configuration.xml.reload Q~ Ad{yC  
      Whether to reload the XML configuration or not {aV,h@>  
      是否加载xml配置(true,false) 6p&2 A  
ltk ARc3  
struts.continuations.package H1q,w|O9j  
      The package containing actions that use Rife continuations ;PG= 3j_  
      含有actions的完整连续的package名称 ~"\v(\Pe  
.p=J_%K}0x  
struts.custom.i18n.resources mDp8JNJNE  
      Location of additional localization properties files to load ! jAp V  
      加载附加的国际化属性文件(不包含.properties后缀) "AXgT[ O  
/mp!%j~  
struts.custom.properties -wx~*  
      Location of additional configuration properties files to load Q6URaw#Yt`  
      加载附加的配置文件的位置 Hp ;$fQ  
qTbc?S46pt  
A =Z$H2  
struts.devMode 'J0I$-QYk  
      Whether Struts is in development mode or not ](n)bF+ym  
      是否为struts开发模式 l?_Fy_fBt  
XABP}|aWK  
struts.dispatcher.parametersWorkaround JQej$=*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6hR ` sE  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F?FfRzZ[  
c+z [4"rYL  
struts.enable.DynamicMethodInvocation ~&<vAgy,  
      Allows one to disable dynamic method invocation from the URL \Ezcr=0z{j  
        允许动态方法调用 7Q Ns q  
M6A0D+08  
struts.freemarker.manager.classname /%jX=S.5h<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9dAtQwGR"6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 U}Puq5[ ?  
n,s 7!z/  
struts.i18n.encoding >L "+8N6  
      The encoding to use for localization messages xj8z*fC;  
      国际化信息内码 j@+$lU*r  
\5j}6Wj  
struts.i18n.reload sz/^Ie-~  
      Whether the localization messages should automatically be reloaded P'}B5 I~  
      是否国际化信息自动加载 m:0[as=  
Qa:[iF  
struts.locale s3@mk\?qMe  
      The default locale for the Struts application t\YM Hq<Y  
      默认的国际化地区信息 b+arnKo1fk  
%;u"2L0@  
struts.mapper.class gxUa -R  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m`$Q/SyvG  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 F1-C8V2H  
LxWd_B  
struts.multipart.maxSize [.Fq l+  
      The maximize size of a multipart request (file upload) \ %MsG  
      multipart请求信息的最大尺寸(文件上传用) 2cIbX  
[iO8R-N8d  
struts.multipart.parser 1/;E8{  
      The org.apache.struts2.dispatcher.multipart. 1$C?+H  
      MultiPartRequest parser implementation for a multipart request (file upload) P{QHG 3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) d8 Jf3Mo  
7hPwa3D^  
]i0=3H2  
struts.multipart.saveDir %-K5sIz  
      The directory to use for storing uploaded files -$g~,dIwj  
      设置存储上传文件的目录夹 @b.,pwZF  
/~;!Ew|q  
struts.objectFactory ?ILjt?X8  
      The com.opensymphony.xwork2.ObjectFactory implementation class a 8Xwz@ M  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #QcRN?s  
@+p(%  
struts.objectFactory.spring.autoWire )Qe]!$tqfD  
      Whether Spring should autoWire or not mPQT%%MF  
      是否自动绑定Spring Rcw[`q3/  
q I~*G3  
struts.objectFactory.spring.useClassCache Q_iN/F  
      Whether Spring should use its class cache or not x6!Q''f7  
      是否spring应该使用自身的cache T2azHo7  
z6d0Y$A G  
struts.objectTypeDeterminer 4J(-~  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class P*|=Z>%[0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 cbm;45 L|  
p-EU"O  
struts.serve.static.browserCache \~Z%}$ =  
If static content served by the Struts filter should set browser caching header properties or not QE)zH)(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y[R>?w  
| V{ Q  
struts.serve.static ]sVWQj  
      Whether the Struts filter should serve static content or not )YAU|sCAi$  
      是否struts过滤器应该提供静态内容 @0t[7Nv-1  
C^B$_?  
struts.tag.altSyntax Lq;iR  
      Whether to use the alterative syntax for the tags or not <BZC5b6  
      是否可以用替代的语法替代tags VX8CEO  
A9K$:mL<2  
struts.ui.templateDir A4#F AFy  
      The directory containing UI templates E7@Gpu,o  
      UI templates的目录夹 u1#(~[.  
!P^Mo> "  
struts.ui.theme ]plp.f#av  
      The default UI template theme VzHrKI  
      默认的UI template主题 C3f\E: D)  
o'(BL:8s  
struts.url.http.port em0Y'J  
      The HTTP port used by Struts URLs 0hGmOUO  
      设置http端口 A]i!131{w|  
;sAGTq  
struts.url.https.port &<uLr *+*  
      The HTTPS port used by Struts URLs ZxT E(BQv  
      设置https端口 X~"p]V_  
H7;, Kr  
struts.url.includeParams $)o0{HsL+  
      The default includeParams method to generate Struts URLs \ ya@9OA  
      在url中产生 默认的includeParams 2YW;=n  
dz +Dk6"R  
Jkbeh.  
struts.velocity.configfile $*%,  
      The Velocity configuration file path :0 n+RL*5  
      velocity配置文件路径 j_<!y(W  
]|,}hsN  
struts.velocity.contexts R*lq7n9  
      List of Velocity context names YMK ![ q-  
      velocity的context列表 \'Et)uD*  
#m?)XB^_  
<y^_&9  
struts.velocity.manager.classname =dKjTBR S'  
      org.apache.struts2.views.velocity.VelocityManager implementation class   P3|s}&  
      org.apache.struts2.views.velocity.VelocityManager接口名 rg>2tgA  
a%b E}  
struts.velocity.toolboxlocation ZnI15bsDx  
      The location of the Velocity toolbox YkB@fTTS  
      velocity工具盒的位置 E/%"%&`8j  
struts.xslt.nocache ;xzaW4(3  
      Whether or not XSLT templates should not be cached kV?fie<\)  
      是否XSLT模版应该被缓存 .yXqa"p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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