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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3V uoDmG  
;z2\ Q$  
struts.action.extension A#7/,1h\  
      The URL extension to use to determine if the request is meant for a Struts action )+7|_7 !x  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ahICx{hK  
^#( B4l!  
struts.configuration ty ESDp%  
      The org.apache.struts2.config.Configuration implementation class u:]c  
        org.apache.struts2.config.Configuration接口名 C GN=kQ  
f |%II,!3  
struts.configuration.files $;iMo/  
      A list of configuration files automatically loaded by Struts c!0u,6  
      struts自动加载的一个配置文件列表 Ms=5*_J2Jk  
c V$an  
struts.configuration.xml.reload A>\5fO  
      Whether to reload the XML configuration or not Q HU|aC{r  
      是否加载xml配置(true,false) u*}ltR~/  
YuXCRw9p;  
struts.continuations.package <?Ln`,Duk  
      The package containing actions that use Rife continuations pl }nb Y  
      含有actions的完整连续的package名称 C]EkVcKFA  
o|kiwr}Y  
struts.custom.i18n.resources {'8td^JEE  
      Location of additional localization properties files to load o%yfR.M6$  
      加载附加的国际化属性文件(不包含.properties后缀) /PZx['g  
 Zh  
struts.custom.properties t]IHQ8  
      Location of additional configuration properties files to load dl]pdg<  
      加载附加的配置文件的位置 Y5{KtW  
I=[Ir8} ;  
fV#,<JG  
struts.devMode DHq#beN  
      Whether Struts is in development mode or not l*>,K2F  
      是否为struts开发模式 s5/u>d  
*"nN To  
struts.dispatcher.parametersWorkaround '\O[j*h^.  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hv0bs8h  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) dzQs7D}  
x{O) n  
struts.enable.DynamicMethodInvocation K/iFB  
      Allows one to disable dynamic method invocation from the URL : E`78  
        允许动态方法调用 38GkV.e}$  
\wV^uS   
struts.freemarker.manager.classname O=[Q >\p  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class N_^PoX935O  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ["fUSQ  
tVv/G ~(  
struts.i18n.encoding ))%f"=:wt  
      The encoding to use for localization messages U)[LKO1  
      国际化信息内码 Ij>G7Q*d  
A` ~R\j  
struts.i18n.reload $l $p|  
      Whether the localization messages should automatically be reloaded $d-$dM?R5  
      是否国际化信息自动加载 3D-0 N0o  
w/z o  
struts.locale b/{$#[oP`  
      The default locale for the Struts application s\zY^(v4  
      默认的国际化地区信息 3,'LW}  
=Vm3f^  
struts.mapper.class 0u;a*#V@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gvFJ~lL  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S{m:Iij[;  
=2t=Zyp0Y  
struts.multipart.maxSize wz..  
      The maximize size of a multipart request (file upload) %4wEAi$I  
      multipart请求信息的最大尺寸(文件上传用) RNF%i~nhO  
&S=Qu?H  
struts.multipart.parser (%c&Km7K  
      The org.apache.struts2.dispatcher.multipart. Gf +>Aj U'  
      MultiPartRequest parser implementation for a multipart request (file upload) 4bCA"QM[[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) p/yz`m T'w  
w@"Zjbs`  
3$?nzKTW\  
struts.multipart.saveDir s3Wjhw/  
      The directory to use for storing uploaded files m@Dra2Cv'@  
      设置存储上传文件的目录夹 o~<jayqU  
u6 QW*8b4  
struts.objectFactory 4.Q[Tu  
      The com.opensymphony.xwork2.ObjectFactory implementation class <.#jp([W>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \gu8 ~zK  
IgjPy5k  
struts.objectFactory.spring.autoWire &pf"35ll  
      Whether Spring should autoWire or not 6oa>\PDy   
      是否自动绑定Spring L@'2}7N1%  
MDQ:6Ri  
struts.objectFactory.spring.useClassCache #zv&h`gY  
      Whether Spring should use its class cache or not h3bQ<?m  
      是否spring应该使用自身的cache 7H*,HZc@=  
/6rQ.+|).  
struts.objectTypeDeterminer h<V,0sZ&:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class o|u4C{j  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 G1-r$7\  
IL:[0q  
struts.serve.static.browserCache Oq$-*N  
If static content served by the Struts filter should set browser caching header properties or not 6 .9C 4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d~MY z6"  
|"PS e~ u  
struts.serve.static GSs?!BIC  
      Whether the Struts filter should serve static content or not V?Q45t Ae  
      是否struts过滤器应该提供静态内容 4X",:B}  
,Ne9x\F  
struts.tag.altSyntax (t){o> l  
      Whether to use the alterative syntax for the tags or not # > I_  
      是否可以用替代的语法替代tags pTaC$Ne  
7Vk9{x$z  
struts.ui.templateDir Rp;"]Q&b  
      The directory containing UI templates "@5qjLz]  
      UI templates的目录夹 _k : BY  
'4 It>50b  
struts.ui.theme ePZ Ai"k  
      The default UI template theme s$zm)y5  
      默认的UI template主题 Y4w]jIv  
Yn$: |$  
struts.url.http.port JB%_&gX)v  
      The HTTP port used by Struts URLs <2oMk#Ng^  
      设置http端口 & kVa*O  
e|W;(@$<  
struts.url.https.port H0 Z o.Np  
      The HTTPS port used by Struts URLs j D*<M/4  
      设置https端口 /NjBC[P  
#'},/Lm@  
struts.url.includeParams $9j>oUG  
      The default includeParams method to generate Struts URLs ?(U;T!n  
      在url中产生 默认的includeParams JU;`c>8=)  
@ ;@~=w  
p^}`^>OL  
struts.velocity.configfile $a8,C\m e?  
      The Velocity configuration file path Tt9cX}&&  
      velocity配置文件路径 k q]E@tE*3  
j^;P=L0=  
struts.velocity.contexts GqNOWK2O  
      List of Velocity context names <7>1Z 82)  
      velocity的context列表 Yyar{$he  
vNs`UkA  
U}4I29M  
struts.velocity.manager.classname WUjRnzVM  
      org.apache.struts2.views.velocity.VelocityManager implementation class YM#MfL#  
      org.apache.struts2.views.velocity.VelocityManager接口名 T{^P  
 r73W. &  
struts.velocity.toolboxlocation r7].48D  
      The location of the Velocity toolbox 5!S#}=f=  
      velocity工具盒的位置 gvc/Z <Y  
struts.xslt.nocache +}1zw<  
      Whether or not XSLT templates should not be cached mI{Fs|9h  
      是否XSLT模版应该被缓存 M%la@2SK=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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