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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .D^=vuxt~  
6OJ`R.DM`  
struts.action.extension $z!o&3c'x  
      The URL extension to use to determine if the request is meant for a Struts action )p&FDK#ob=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;O*y$|+PA  
-0 [^w  
struts.configuration ]>NP?S )R  
      The org.apache.struts2.config.Configuration implementation class 7u"t4Or  
        org.apache.struts2.config.Configuration接口名 2,c{Z$\kn  
#<X+)B6t  
struts.configuration.files U5; D'G  
      A list of configuration files automatically loaded by Struts OTA@4~{C  
      struts自动加载的一个配置文件列表 FnN@W^/z  
85rXm*Df  
struts.configuration.xml.reload e7f3dqn0  
      Whether to reload the XML configuration or not E?o1&(2p  
      是否加载xml配置(true,false) 28u)q2s^W|  
N 4$!V}pp  
struts.continuations.package }[P1Va[!  
      The package containing actions that use Rife continuations p$XL|1G*?H  
      含有actions的完整连续的package名称  7(;M  
G2]/g  
struts.custom.i18n.resources _ECWSfZ  
      Location of additional localization properties files to load / vI sX3v  
      加载附加的国际化属性文件(不包含.properties后缀) J G xuB*}  
PiMW 29B^  
struts.custom.properties @|:_?  
      Location of additional configuration properties files to load #/NZ0IbHk  
      加载附加的配置文件的位置 Hmt} @  
MS,J+'2  
@B;2z_Y!l  
struts.devMode Bb^CukS:  
      Whether Struts is in development mode or not C0o 0 l>  
      是否为struts开发模式 <0OZ9?,dm  
>=|Dir  
struts.dispatcher.parametersWorkaround 6Y^UC2TBs  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }Yt/e-Yg%r  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xEN""*Q  
C zKU;~D=B  
struts.enable.DynamicMethodInvocation *f8; #.Re  
      Allows one to disable dynamic method invocation from the URL UD|Qa  
        允许动态方法调用 C%ibIcm y  
zQJ9V\0  
struts.freemarker.manager.classname -~O7.E(ok  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class o}&TFhT  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 gTE/g'3  
RF/I*5  
struts.i18n.encoding z;6 Tp  
      The encoding to use for localization messages ^nu~q+:+#  
      国际化信息内码 MA\"JAP/  
(9hCO-r  
struts.i18n.reload (0jT#&#  
      Whether the localization messages should automatically be reloaded D"^4X'6  
      是否国际化信息自动加载 *NdSL  
`y5?lS*  
struts.locale Ca]+*Eb9z{  
      The default locale for the Struts application R[Q`2ggG  
      默认的国际化地区信息 t|Cp<k]B  
uGIA4CUm  
struts.mapper.class w] b3,b  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~1&%,$fZ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 P?GHcq$\  
~^((tT  
struts.multipart.maxSize  LAG*H  
      The maximize size of a multipart request (file upload) HS3] 8nJW  
      multipart请求信息的最大尺寸(文件上传用) Tw BwqQ)t  
km1{Oh  
struts.multipart.parser QR<z%4  
      The org.apache.struts2.dispatcher.multipart. |QwX  
      MultiPartRequest parser implementation for a multipart request (file upload) \M~M  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0|<ER3xkx  
vzl+0"  
4 G`7]<  
struts.multipart.saveDir Ws"eF0,'Z  
      The directory to use for storing uploaded files  gBQK  
      设置存储上传文件的目录夹 =e'b*KTL,  
4fPbwiK j  
struts.objectFactory =h,6/cs  
      The com.opensymphony.xwork2.ObjectFactory implementation class [03$*BCq3  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Pt~mpRl H  
R7: >'*F  
struts.objectFactory.spring.autoWire h|h-<G?>  
      Whether Spring should autoWire or not 2P9gS[Ub  
      是否自动绑定Spring &WN#HI."]  
lhsd 39NM  
struts.objectFactory.spring.useClassCache c,a+u  
      Whether Spring should use its class cache or not 0j*-ZvE)30  
      是否spring应该使用自身的cache N*6Y5[g!\  
[ t@  
struts.objectTypeDeterminer ~^*IP1.3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >Q&E4jC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 fC>3{@h}*  
<k)@PAV  
struts.serve.static.browserCache / /63?s+  
If static content served by the Struts filter should set browser caching header properties or not aa:Oh^AJy  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `2X~3im  
c e`3&  
struts.serve.static Mf)0Y~_:R#  
      Whether the Struts filter should serve static content or not 5MsE oLg  
      是否struts过滤器应该提供静态内容 K7 >Z)21  
|:_WdU"Q]  
struts.tag.altSyntax 16"eyt>  
      Whether to use the alterative syntax for the tags or not ]Igd<  
      是否可以用替代的语法替代tags *sI`+4h[  
:7&#ej6  
struts.ui.templateDir "YbvI@pD  
      The directory containing UI templates gJn|G#!  
      UI templates的目录夹 .a._WZF  
^E_`M:~  
struts.ui.theme RUHQ]@d#T  
      The default UI template theme R*~<?}Rr  
      默认的UI template主题 ~Xi_bTAyAW  
u/?s_OR  
struts.url.http.port KLv`Xg\  
      The HTTP port used by Struts URLs G0p|44_~t  
      设置http端口 &9b sTm  
k2Yh?OH  
struts.url.https.port !~5;Jb>s[/  
      The HTTPS port used by Struts URLs HMsTm}d  
      设置https端口 `Oz c L  
-QR&]U+  
struts.url.includeParams =Q985)Y&  
      The default includeParams method to generate Struts URLs 49b#$Xq  
      在url中产生 默认的includeParams &|('z\k  
n(^{s5 Rr  
bQG2tDvu[  
struts.velocity.configfile D 3m4:z  
      The Velocity configuration file path \tf \fa  
      velocity配置文件路径 &oJ=   
KKm &~^c  
struts.velocity.contexts M&P?/Zi=L  
      List of Velocity context names 4$Oakl*l  
      velocity的context列表 m89-rR:Kc  
uJ jm50R<  
h=6Zvf<x  
struts.velocity.manager.classname [<m1xr4"k  
      org.apache.struts2.views.velocity.VelocityManager implementation class  y/t{*a  
      org.apache.struts2.views.velocity.VelocityManager接口名 y.6D Z  
vto^[a6?  
struts.velocity.toolboxlocation >?iL_YTX  
      The location of the Velocity toolbox ceN*wkGyB  
      velocity工具盒的位置 emp*j@9  
struts.xslt.nocache a4HUP*  
      Whether or not XSLT templates should not be cached H^ _[IkuA%  
      是否XSLT模版应该被缓存 }RX[J0Prq~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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