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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 r2,AZ+4FP  
(W.euQy  
struts.action.extension GS1Vcav<  
      The URL extension to use to determine if the request is meant for a Struts action d3 h^L  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 bqB gq  
ZUE?19GA  
struts.configuration TM_ MJp  
      The org.apache.struts2.config.Configuration implementation class LeY!A#j  
        org.apache.struts2.config.Configuration接口名 VeT\I.K[  
"f'pa&oHi  
struts.configuration.files K&{*sa r  
      A list of configuration files automatically loaded by Struts =l&A9 >\  
      struts自动加载的一个配置文件列表 ,]ALyWGuX  
6.fahg?E  
struts.configuration.xml.reload G4Y]fzC  
      Whether to reload the XML configuration or not Mq7d*Bgb  
      是否加载xml配置(true,false) [3":7bB 'E  
>{_`J  
struts.continuations.package y~jKytq^@  
      The package containing actions that use Rife continuations Q<]~>cd^  
      含有actions的完整连续的package名称 tmAc=?|Wa  
)KvQaC  
struts.custom.i18n.resources ~ ;aSE  
      Location of additional localization properties files to load G~Oj}rn  
      加载附加的国际化属性文件(不包含.properties后缀) lW F=bz0  
r{~K8!=oU]  
struts.custom.properties (^h47kY  
      Location of additional configuration properties files to load cpV:y  
      加载附加的配置文件的位置 4v#3UG  
MYqxkhcLH1  
V0p@wG3  
struts.devMode Z4#lZS`'A  
      Whether Struts is in development mode or not |qra.\  
      是否为struts开发模式 9gMNS6D'b  
}<Y3 jQnl  
struts.dispatcher.parametersWorkaround &HKrmFgX{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic yQQ[_1$pq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]1]  
54 8w v  
struts.enable.DynamicMethodInvocation h~$Q\WCm#  
      Allows one to disable dynamic method invocation from the URL %v++AcE  
        允许动态方法调用 5utMZ>%w_#  
GXaCH))TO  
struts.freemarker.manager.classname KZV$rJ%G  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class cTRQI3Oa>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 S\<]|tM:x  
IXp P.d  
struts.i18n.encoding |N[SCk>Kj  
      The encoding to use for localization messages AR\1w'  
      国际化信息内码 UP:+1Sp9  
Fs:l"5~>1  
struts.i18n.reload [|~X~AO%  
      Whether the localization messages should automatically be reloaded whP>'9t.w  
      是否国际化信息自动加载 jr" ~  
1N< )lZl)  
struts.locale B\bIMjXV  
      The default locale for the Struts application IsO'aFK)ln  
      默认的国际化地区信息 j#%*@]>Tg  
 6<A\U/  
struts.mapper.class hD\C[C,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class r2QC$V:0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 zqYfgV  
 U^ BB|  
struts.multipart.maxSize *n?6x!A  
      The maximize size of a multipart request (file upload) +7+ VbsFG  
      multipart请求信息的最大尺寸(文件上传用) uXeBOLC  
HkxFDU-K  
struts.multipart.parser e,I-u'mLQs  
      The org.apache.struts2.dispatcher.multipart. R4}G@&Q  
      MultiPartRequest parser implementation for a multipart request (file upload) =fBJQK2sk  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) s4SR6hBO  
u ` 9Eh;  
T4Z("  
struts.multipart.saveDir }W<]fK  
      The directory to use for storing uploaded files KnZm(c9+  
      设置存储上传文件的目录夹 NLb/Bja  
0y'34}  
struts.objectFactory >~J_9'gX6  
      The com.opensymphony.xwork2.ObjectFactory implementation class  wb4 4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) V6wYJ$]  
vWfC!k-)b  
struts.objectFactory.spring.autoWire ?Pmj}f  
      Whether Spring should autoWire or not TQ@*eoJj  
      是否自动绑定Spring O0b8wpF f  
|c8p{)  
struts.objectFactory.spring.useClassCache !9iVe7V  
      Whether Spring should use its class cache or not %X GX(  
      是否spring应该使用自身的cache {yVi/*;f^  
B5B'H3@  
struts.objectTypeDeterminer 9'//_ A,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class x+yt| &B  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >&?wo{b  
Ev0V\tl>0  
struts.serve.static.browserCache s3kh (N  
If static content served by the Struts filter should set browser caching header properties or not V^L;Nw5h  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7SAu">lIl  
m/Yi;>I(  
struts.serve.static D zDt:.JZ  
      Whether the Struts filter should serve static content or not !h9 An  
      是否struts过滤器应该提供静态内容 aeUm,'Y$  
ci3{k"  
struts.tag.altSyntax qLYv=h$,  
      Whether to use the alterative syntax for the tags or not z8z U3?  
      是否可以用替代的语法替代tags -]'Sy$,A  
,5r 2!d  
struts.ui.templateDir z eIBB  
      The directory containing UI templates r="X\ [on  
      UI templates的目录夹 )J#@L*  
B u4N~0  
struts.ui.theme 8-8= \  
      The default UI template theme  XyhO d$)  
      默认的UI template主题 -QS_bQG%  
y'pG'"U]_  
struts.url.http.port 8CEy#%7]}  
      The HTTP port used by Struts URLs M5)6|T  
      设置http端口 ZTS*E,U%  
X#eVw|  
struts.url.https.port $g|g}>Sc  
      The HTTPS port used by Struts URLs nh9K(  
      设置https端口 `hH1rw@7<  
tO~H/0  
struts.url.includeParams $h_@`j  
      The default includeParams method to generate Struts URLs |y'q`cY  
      在url中产生 默认的includeParams (\R"v^  
&x=<>~Ag3  
* 5P/&*c|  
struts.velocity.configfile A0[flIl  
      The Velocity configuration file path 'm/b+9?.  
      velocity配置文件路径 I|R9@  
oN _% oc  
struts.velocity.contexts Jge;/f!i  
      List of Velocity context names @69q// #B  
      velocity的context列表 Z.R^@@RqJ  
n!tCz<v  
ied<1[~S  
struts.velocity.manager.classname .)W8 U [  
      org.apache.struts2.views.velocity.VelocityManager implementation class msoE8YK&tg  
      org.apache.struts2.views.velocity.VelocityManager接口名 <w,aS;v6jp  
yr;oq(&N  
struts.velocity.toolboxlocation 1y?TyUP  
      The location of the Velocity toolbox 9CL&tpqv f  
      velocity工具盒的位置 (iS94}-)  
struts.xslt.nocache aMj3ov8p  
      Whether or not XSLT templates should not be cached R(q fP  
      是否XSLT模版应该被缓存 TkQ05'Qc  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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