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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |}d^lQ9  
+^9^)Ur|  
struts.action.extension 9po=[{Bp  
      The URL extension to use to determine if the request is meant for a Struts action {e&fBX6;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 B9"d7E#wHF  
Sv#MlS>  
struts.configuration N-l`U(Z~P  
      The org.apache.struts2.config.Configuration implementation class ;y-JR$M  
        org.apache.struts2.config.Configuration接口名 J0Yb_(w  
#btz94/~O  
struts.configuration.files /5E0'y,|P  
      A list of configuration files automatically loaded by Struts >4ex5  
      struts自动加载的一个配置文件列表 <Ch9"1f3,  
l'l&Zqd  
struts.configuration.xml.reload ?u2\ *@C  
      Whether to reload the XML configuration or not e^*&&  
      是否加载xml配置(true,false) ~Y43`@3H:  
|~A*?6:@  
struts.continuations.package S(3h{Y"#  
      The package containing actions that use Rife continuations E0qJ.v  
      含有actions的完整连续的package名称 3sV$#l P  
&7'=t6  
struts.custom.i18n.resources F+Kju2  
      Location of additional localization properties files to load HxK'u4I  
      加载附加的国际化属性文件(不包含.properties后缀) GipiO5)1C  
Q7u|^Gu,5  
struts.custom.properties ~0CNCP  
      Location of additional configuration properties files to load h HHR]e5:  
      加载附加的配置文件的位置 ,%Z&*/*Oh  
"L5w]6C4  
5!ngM  
struts.devMode ;r2DQg"#@  
      Whether Struts is in development mode or not *ssw`}yE'  
      是否为struts开发模式 P_b5`e0O  
+m JG:n  
struts.dispatcher.parametersWorkaround _*}D@yy&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w5q6c%VZ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) skeeec\V  
MNU7OX<  
struts.enable.DynamicMethodInvocation pej-W/R&  
      Allows one to disable dynamic method invocation from the URL (f"Qz~R|6_  
        允许动态方法调用 !ldE9 .  
~98q1HgS]D  
struts.freemarker.manager.classname :&5u)  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class BUZ74  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [e,xC!2  
\u.5 _ g  
struts.i18n.encoding ]pNM~,  
      The encoding to use for localization messages oBmv^=cH  
      国际化信息内码 mmwc'-jU:  
idBd aZg  
struts.i18n.reload o?O ZsA  
      Whether the localization messages should automatically be reloaded lLVD`)  
      是否国际化信息自动加载 R)d_0Ng  
3B[tbU(  
struts.locale dDiy_Q6  
      The default locale for the Struts application &pl)E$Y  
      默认的国际化地区信息 `Zp*?  
(M;d*gN r  
struts.mapper.class 5<X"+`=9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >l}v _k*~B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 L7- JK3/E  
%D-!< )z  
struts.multipart.maxSize N]8/l:@  
      The maximize size of a multipart request (file upload) Lm$KR!z  
      multipart请求信息的最大尺寸(文件上传用) ^Zpz@T>m  
$lB!Q8a$  
struts.multipart.parser mr[1F]G  
      The org.apache.struts2.dispatcher.multipart. V B ^1wm  
      MultiPartRequest parser implementation for a multipart request (file upload) 4Tuh]5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) CWZv/>,%  
!]"M]tyv\  
UptKN|S&V  
struts.multipart.saveDir x15&U\U  
      The directory to use for storing uploaded files eOVln1a  
      设置存储上传文件的目录夹 c&#Q`m  
GwgY{-|`  
struts.objectFactory  pb<eg,  
      The com.opensymphony.xwork2.ObjectFactory implementation class Q_/UC#I8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Oc~<`C~  
X$%[%q8qg  
struts.objectFactory.spring.autoWire Hj-n 'XZ  
      Whether Spring should autoWire or not y[f%0*\B  
      是否自动绑定Spring U&^(%W#  
@0:Eg1-  
struts.objectFactory.spring.useClassCache [C ezz5  
      Whether Spring should use its class cache or not Oxu}W%BF*  
      是否spring应该使用自身的cache ~A/vP-  
<qoc)p=__  
struts.objectTypeDeterminer NxH%%>o>  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xE_~.EoB  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 </9c=GoJ  
BDL[C<d(  
struts.serve.static.browserCache (eT9N_W  
If static content served by the Struts filter should set browser caching header properties or not 5!i\S[:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "@+Z1k-8U  
CC6]AM(i  
struts.serve.static 3kr. 'O  
      Whether the Struts filter should serve static content or not UM1h[#?&V)  
      是否struts过滤器应该提供静态内容 d|tNn@jN  
| v>W  
struts.tag.altSyntax N#OO{`":Z`  
      Whether to use the alterative syntax for the tags or not $W;r S7b  
      是否可以用替代的语法替代tags NHdNCHhA>-  
 (=%0x"'  
struts.ui.templateDir s7`2ky()kz  
      The directory containing UI templates _B&;z $  
      UI templates的目录夹 Y qKQm+G  
!y1qd  
struts.ui.theme EwfL.z  
      The default UI template theme w$qdV,s 7  
      默认的UI template主题 RXO}mu]Iu  
M&(0n?R"R  
struts.url.http.port 7 A{R0@  
      The HTTP port used by Struts URLs P`CQ)o  
      设置http端口 ]<iD'=a  
wVv@   
struts.url.https.port R-Tf9?)  
      The HTTPS port used by Struts URLs TY+Rol;!  
      设置https端口 sEb*GF*.V  
lR ZuXo9<  
struts.url.includeParams /jc; 2  
      The default includeParams method to generate Struts URLs ){J,Z*&  
      在url中产生 默认的includeParams uq!d8{IMu  
27JZwlzZ  
i:R_g]  
struts.velocity.configfile i1qmFvksl  
      The Velocity configuration file path b5 AP{ #  
      velocity配置文件路径 2ak*aI  
 =VSUE Pq  
struts.velocity.contexts E_xCRfw_i]  
      List of Velocity context names AhV V  
      velocity的context列表 P#KT lH  
mnYzn[d3U  
c=B!\J<1  
struts.velocity.manager.classname }1Hy[4B(k\  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,7Q b24A  
      org.apache.struts2.views.velocity.VelocityManager接口名 mj& 4FQ#O*  
t%s(xz#1  
struts.velocity.toolboxlocation avMre_@V  
      The location of the Velocity toolbox ti ic>j\D  
      velocity工具盒的位置 . P! pC  
struts.xslt.nocache p ^I#9(PT  
      Whether or not XSLT templates should not be cached ]1bNcq2I  
      是否XSLT模版应该被缓存 eeUEqM$7EX  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五