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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e~oI0%xl^  
R]H/Jv\'  
struts.action.extension }9=VhC%J  
      The URL extension to use to determine if the request is meant for a Struts action z^bv)u  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *Mk5*_  
It&$R`k  
struts.configuration #A+ dj| b  
      The org.apache.struts2.config.Configuration implementation class g,*LP  
        org.apache.struts2.config.Configuration接口名 @-)jU!  
4@- 'p  
struts.configuration.files |bA\>%~  
      A list of configuration files automatically loaded by Struts .*+%-%CbP  
      struts自动加载的一个配置文件列表 {94qsVxQZ  
w*n@_n={  
struts.configuration.xml.reload iLD}>=  
      Whether to reload the XML configuration or not 7Rwn{]r  
      是否加载xml配置(true,false) ')zdI]@ M  
d?)k<!fJk  
struts.continuations.package _XvSe]`f`  
      The package containing actions that use Rife continuations <'f+ nC=2  
      含有actions的完整连续的package名称 UU~S{!*+L  
MF69n,(o  
struts.custom.i18n.resources i|2CZ  
      Location of additional localization properties files to load =f4>vo}@k  
      加载附加的国际化属性文件(不包含.properties后缀)  [,JUC<  
VXX7Y? !  
struts.custom.properties ei%L[>N  
      Location of additional configuration properties files to load Pv@Lx+ k  
      加载附加的配置文件的位置 WKek^TW4HE  
XnR9/t  
/x\{cHAt8J  
struts.devMode j\@Ht~G  
      Whether Struts is in development mode or not SHWD@WLE4  
      是否为struts开发模式 +es|0;Z4yP  
j6}/pe*;;T  
struts.dispatcher.parametersWorkaround O!xul$9  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |L wn<y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?> )(;Ir9  
kyR=U`OW  
struts.enable.DynamicMethodInvocation &V"9[0  
      Allows one to disable dynamic method invocation from the URL P3Ocfpf Bp  
        允许动态方法调用 ?QR13l(  
vuN!7*d+  
struts.freemarker.manager.classname :Aq==N_/2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class f_'#wc6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 X!6oviT|m  
,X^I]]  
struts.i18n.encoding l<X8Ooan#{  
      The encoding to use for localization messages 4TX~]tEyky  
      国际化信息内码 "0Ca;hSLM2  
IHC {2 ^  
struts.i18n.reload cqXP}5  
      Whether the localization messages should automatically be reloaded rW),xfo0  
      是否国际化信息自动加载 oQ YmywY  
4}&$s  
struts.locale f i#p('8  
      The default locale for the Struts application @~g][O#Fu  
      默认的国际化地区信息 3;v%78[&P  
dK.k,7R  
struts.mapper.class AXN%b2  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 8p"R4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~IQ3B $4H&  
% XvJJ  
struts.multipart.maxSize 7UnB]-:.  
      The maximize size of a multipart request (file upload) 9IfeaoZZ4q  
      multipart请求信息的最大尺寸(文件上传用) %OT} r  
{&3{_Ml  
struts.multipart.parser :9?y-X  
      The org.apache.struts2.dispatcher.multipart. 5|:t$  
      MultiPartRequest parser implementation for a multipart request (file upload) }:SWgPfc  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `!- w^~c  
V\|V1c  
O> .gcLA  
struts.multipart.saveDir ]&+,`1_q  
      The directory to use for storing uploaded files iC(&U YL  
      设置存储上传文件的目录夹 $e#V^dph  
'j&+Pg)@  
struts.objectFactory zfGS=@e]G  
      The com.opensymphony.xwork2.ObjectFactory implementation class RZ +SOZs7H  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5-[bdI  
nNj<!}HvV  
struts.objectFactory.spring.autoWire C] dK/~Z#r  
      Whether Spring should autoWire or not A4Sb(X|j  
      是否自动绑定Spring Fx!NRY_  
2,T^L (]  
struts.objectFactory.spring.useClassCache @3g$H[}  
      Whether Spring should use its class cache or not +0DPhc  
      是否spring应该使用自身的cache @T 5dPmn  
HdR%n  
struts.objectTypeDeterminer <36z,[,kZ@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class yUY* l@v]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 qL;u59  
S:F8` Gh  
struts.serve.static.browserCache 4arqlz lo  
If static content served by the Struts filter should set browser caching header properties or not {)K H%  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M?[~_0_J  
FV~ENpncP  
struts.serve.static P[q 'Y^\  
      Whether the Struts filter should serve static content or not OK8|w]-A  
      是否struts过滤器应该提供静态内容 H 5,rp4H9  
GI. =\s  
struts.tag.altSyntax B QxU~s  
      Whether to use the alterative syntax for the tags or not veq.48E]  
      是否可以用替代的语法替代tags k\/idd[  
9jkaEn>m^  
struts.ui.templateDir =sFLzAu8  
      The directory containing UI templates 1ZZ}ojq  
      UI templates的目录夹 }} s.0Q  
oEJYAKN  
struts.ui.theme hH.X_X?d%  
      The default UI template theme ,'}qLor  
      默认的UI template主题 [Z -S0  
a@?2T,$  
struts.url.http.port L!qXt(`  
      The HTTP port used by Struts URLs 0YsBAfRG  
      设置http端口 nm}wdel"  
VC T~"T2R  
struts.url.https.port Bk44 wz2 X  
      The HTTPS port used by Struts URLs !8jr $  
      设置https端口 N.1 @!\z@@  
h+d  \u  
struts.url.includeParams q'9}Hz  
      The default includeParams method to generate Struts URLs 'h*^;3@*  
      在url中产生 默认的includeParams W|,Y*l  
I 7 B$X=  
~E^lKe  
struts.velocity.configfile Y;I>rC (  
      The Velocity configuration file path P(|+1$#[  
      velocity配置文件路径 n`TXm g  
9*&RvsrX  
struts.velocity.contexts ]/cVlpZ{f  
      List of Velocity context names N3U.62  
      velocity的context列表 Y(U+s\X  
;;{!wA+"D  
azKiXr#_(  
struts.velocity.manager.classname $C^tZFq  
      org.apache.struts2.views.velocity.VelocityManager implementation class oU[>.Igi  
      org.apache.struts2.views.velocity.VelocityManager接口名 F?y4 L9|e  
S`t@L}  
struts.velocity.toolboxlocation z4B-fS]  
      The location of the Velocity toolbox /9wmc2  
      velocity工具盒的位置 0Z,a3)jcc  
struts.xslt.nocache )}|b6{{<  
      Whether or not XSLT templates should not be cached vw5f|Q92  
      是否XSLT模版应该被缓存 }<7S% ?TY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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