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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;VPYWss  
c.;<+dYsm*  
struts.action.extension ob7hNo#  
      The URL extension to use to determine if the request is meant for a Struts action /SJI ~f+$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;)!);q+  
S~.%G)R  
struts.configuration :ZU-Vi.b  
      The org.apache.struts2.config.Configuration implementation class 7iH%1f  
        org.apache.struts2.config.Configuration接口名 gnZc`)z  
$Q56~AP  
struts.configuration.files %Yny/O\e%  
      A list of configuration files automatically loaded by Struts *Q,9 [k  
      struts自动加载的一个配置文件列表 1tFx Z#(G  
5m rkw  
struts.configuration.xml.reload EZ)GW%Bm2  
      Whether to reload the XML configuration or not Ly`FU)  
      是否加载xml配置(true,false) QQX7p!~E  
v'u}%FC  
struts.continuations.package XM?C7/^k  
      The package containing actions that use Rife continuations 3qrjb]E%}  
      含有actions的完整连续的package名称 $WZHkV  
Z`{GjV3%wH  
struts.custom.i18n.resources *!yY7 ~#  
      Location of additional localization properties files to load 604^~6  
      加载附加的国际化属性文件(不包含.properties后缀) C )+%9Edg  
!R1OSVFp  
struts.custom.properties w:@W/e*9N  
      Location of additional configuration properties files to load 9lSs;zm{Q  
      加载附加的配置文件的位置 Yj>ezFo  
`:EU~4s\  
IFF3gh42.  
struts.devMode (Z at|R.F  
      Whether Struts is in development mode or not ;%$wA5"2M  
      是否为struts开发模式 G'6f6i|<I@  
^1z)\p1  
struts.dispatcher.parametersWorkaround >twog}%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 6g%~~hX  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,\0>d}eh !  
 uE3xzF  
struts.enable.DynamicMethodInvocation bODyJ7=[  
      Allows one to disable dynamic method invocation from the URL <|4L+?_(&  
        允许动态方法调用 #^bn~  
2p8}6y:}7  
struts.freemarker.manager.classname O ftjm X_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8DZ OPA  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 h>&t``<  
%jj\w>  
struts.i18n.encoding 'Rw*WK  
      The encoding to use for localization messages /7yd&6`I  
      国际化信息内码 y_f^ dIK*=  
7N[Cs$_]  
struts.i18n.reload p"=8{LrO  
      Whether the localization messages should automatically be reloaded .oxeo 0@~  
      是否国际化信息自动加载 z#{%[X2  
TDHS/"MbA7  
struts.locale $D(q  
      The default locale for the Struts application 2"L a}Vx2  
      默认的国际化地区信息 >7nOR  
>Ms_bfSK  
struts.mapper.class A>QAR)YP  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class e^Glgaf  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Zi ;7.PqL  
VyxX5Lrj  
struts.multipart.maxSize F=~LVaF/_  
      The maximize size of a multipart request (file upload) TvwkeOS#}7  
      multipart请求信息的最大尺寸(文件上传用) qM:*!Aq 0g  
A,! YXl[  
struts.multipart.parser z%Ivc*x5  
      The org.apache.struts2.dispatcher.multipart. UViWejA/*u  
      MultiPartRequest parser implementation for a multipart request (file upload) Ln&CB!u  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #F6!x3Z  
(c1Kg   
I8{ohFFo  
struts.multipart.saveDir hwd{^  
      The directory to use for storing uploaded files a3[lZPQe  
      设置存储上传文件的目录夹 $h8,QPy  
RWINdJZ  
struts.objectFactory ?/^x)Nm  
      The com.opensymphony.xwork2.ObjectFactory implementation class g2W ZW#a)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7 ?"-NrW~  
S]}W+BF3  
struts.objectFactory.spring.autoWire 2U`g[1  
      Whether Spring should autoWire or not `NARJ9M   
      是否自动绑定Spring ^ lM.lS>)  
wb/@g=` d  
struts.objectFactory.spring.useClassCache BZAF;j  
      Whether Spring should use its class cache or not m15> ^i^W  
      是否spring应该使用自身的cache wGAeOD  
+pJ~<ug]  
struts.objectTypeDeterminer q OX=M  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s. jcD  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m0+'BC{$u  
Bz*6M  
struts.serve.static.browserCache T{mIk p<  
If static content served by the Struts filter should set browser caching header properties or not Cw]bhaG g  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 rZ^VKO`~I1  
,U#FtOec  
struts.serve.static spv'r!*\ed  
      Whether the Struts filter should serve static content or not "BD$-]  
      是否struts过滤器应该提供静态内容 lehuJgz'OO  
^?o>(K  
struts.tag.altSyntax x$/: %"E  
      Whether to use the alterative syntax for the tags or not hR%2[lBn!]  
      是否可以用替代的语法替代tags a qIpO  
pQ9~^  
struts.ui.templateDir A!fRpN  
      The directory containing UI templates TrmrA$5f  
      UI templates的目录夹 0%>_fMaA  
<<[\ Rv  
struts.ui.theme -JfO} DRI  
      The default UI template theme A6%~+9  
      默认的UI template主题 73>Hzpv0  
1n )&%r  
struts.url.http.port !DNk!]|  
      The HTTP port used by Struts URLs LXx`Vk>ky  
      设置http端口 SH#!Y  
]8ob`F`m,  
struts.url.https.port vC ISd   
      The HTTPS port used by Struts URLs uT 2w2A;  
      设置https端口 `Uy'YfYF  
Xe>   
struts.url.includeParams _/)HAw?k  
      The default includeParams method to generate Struts URLs w]=c^@t _  
      在url中产生 默认的includeParams bd@1j`i  
V}+Ui]ie|I  
D./3,z  
struts.velocity.configfile 7=[/J*-m  
      The Velocity configuration file path |FH|l#bu>  
      velocity配置文件路径 mUjM5ceAXO  
w>uo-88  
struts.velocity.contexts $J)2E g  
      List of Velocity context names zTS#o#`!\  
      velocity的context列表 [V_\SQV0  
e{7"7wn=  
e.? ;mD  
struts.velocity.manager.classname &1$|KbmV4  
      org.apache.struts2.views.velocity.VelocityManager implementation class QPJz~;V2  
      org.apache.struts2.views.velocity.VelocityManager接口名 ;}E$>]*Yn  
m. "T3K  
struts.velocity.toolboxlocation JWo).  
      The location of the Velocity toolbox u$V8fus0  
      velocity工具盒的位置 w^wh|'u^_@  
struts.xslt.nocache LGPPyK Nx  
      Whether or not XSLT templates should not be cached ]Wdnr1d~8  
      是否XSLT模版应该被缓存 dId&tTMmC  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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