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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =").W\,  
bjq2XP?LL  
struts.action.extension Mxe  
      The URL extension to use to determine if the request is meant for a Struts action %5H>tG`]   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L"!BN/i_  
yh Ymbu  
struts.configuration gG=E2+=uy  
      The org.apache.struts2.config.Configuration implementation class \7,'o] >M-  
        org.apache.struts2.config.Configuration接口名 v|mZcAz  
c}FZb$q#  
struts.configuration.files O k~\  
      A list of configuration files automatically loaded by Struts zHCz[jlrMq  
      struts自动加载的一个配置文件列表 U=bZy,FT$  
7e&%R4{b  
struts.configuration.xml.reload v<Ux+-  
      Whether to reload the XML configuration or not [t`QV2um  
      是否加载xml配置(true,false) [VP ~~*b  
 3^zO G2  
struts.continuations.package %@FTg$  
      The package containing actions that use Rife continuations hY Nb9^  
      含有actions的完整连续的package名称 ysiBru[u  
Gwkp(9d  
struts.custom.i18n.resources 4%k_c79>  
      Location of additional localization properties files to load "2bCq]I0  
      加载附加的国际化属性文件(不包含.properties后缀) ,*Yu~4  
}KHdlhD  
struts.custom.properties -gV'z5  
      Location of additional configuration properties files to load w~g)Dz2G  
      加载附加的配置文件的位置 `4 A%BKYB  
6y9#am?  
ToVm]zPOUt  
struts.devMode : LI*#~'Ka  
      Whether Struts is in development mode or not Io&F0~Z;;(  
      是否为struts开发模式 5q?ZuAAA  
b=+'i  
struts.dispatcher.parametersWorkaround NUH#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /P0%4aWu=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) H;$OCDRC  
aNCIh@m~  
struts.enable.DynamicMethodInvocation Ol24A^  
      Allows one to disable dynamic method invocation from the URL ,#r>#fi0  
        允许动态方法调用 ""ICdZ_A  
r#pC0Yj!3  
struts.freemarker.manager.classname _`zj^*%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7>J8\=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #\$R^u]!  
5 !G}*u.  
struts.i18n.encoding u1&pJLK0[  
      The encoding to use for localization messages Ij}RlYQz  
      国际化信息内码 ~$i36"  
]W%<<S  
struts.i18n.reload ?c^0%Op  
      Whether the localization messages should automatically be reloaded 2@aVoqrq#  
      是否国际化信息自动加载 jC<!Ny-$  
sD* 8:Hl  
struts.locale LQs2!]?HT  
      The default locale for the Struts application LEkO#F(  
      默认的国际化地区信息 :WT O*M  
\qqt/  
struts.mapper.class Hay`lA2@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T?c:z?j_9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >_]j{}~\k  
vd9><W  
struts.multipart.maxSize ,!3G  
      The maximize size of a multipart request (file upload) >T4.mB7+>  
      multipart请求信息的最大尺寸(文件上传用) :d-+Z%Y  
"el}@  
struts.multipart.parser _}7N,Cx   
      The org.apache.struts2.dispatcher.multipart. </|IgN$w`  
      MultiPartRequest parser implementation for a multipart request (file upload) +)FB[/pXk  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) W9?Vh{w  
T'l >$6  
C_Y^<  
struts.multipart.saveDir ^~2GhveBV  
      The directory to use for storing uploaded files nmVL%66K  
      设置存储上传文件的目录夹 { CkxUec  
<w.W[ak  
struts.objectFactory ?*a:f"vQ  
      The com.opensymphony.xwork2.ObjectFactory implementation class @U(D&_H,K  
      com.opensymphony.xwork2.ObjectFactory接口(spring) J]~LmSh  
1 {dhGX  
struts.objectFactory.spring.autoWire n=n!Hn  
      Whether Spring should autoWire or not _.OajE\T  
      是否自动绑定Spring ^'~+w3M@  
}}v;V*_V  
struts.objectFactory.spring.useClassCache [|\~-6"7N|  
      Whether Spring should use its class cache or not b&Qj`j4]ZM  
      是否spring应该使用自身的cache jnX9] PkJ  
)G0a72  
struts.objectTypeDeterminer XFPWW,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class DGTSk9iK(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Dg4 ?,{c9W  
rm NqS+t  
struts.serve.static.browserCache p UWj,&t  
If static content served by the Struts filter should set browser caching header properties or not Zycu3%JI  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z)r)w?A  
bH&Cbme90-  
struts.serve.static #m6 eG&a  
      Whether the Struts filter should serve static content or not _U)DL=a'  
      是否struts过滤器应该提供静态内容 INsc!xOQ  
X6/k `J  
struts.tag.altSyntax E/9 U0  
      Whether to use the alterative syntax for the tags or not _ pM&Ya  
      是否可以用替代的语法替代tags XS]=sfN  
M& GA:`  
struts.ui.templateDir =usx' #rb  
      The directory containing UI templates r"SuE:D  
      UI templates的目录夹 yK<%AV@v  
utC]GiR  
struts.ui.theme JB a:))lw  
      The default UI template theme h&||Ql1  
      默认的UI template主题 impzqQlZ,  
S,EXc^A7  
struts.url.http.port it!8+hvq9*  
      The HTTP port used by Struts URLs 16[>af0<g  
      设置http端口 _H|x6X1-  
|<P]yn  
struts.url.https.port `AeId/A4n  
      The HTTPS port used by Struts URLs 0x'>}5`5  
      设置https端口 ?ZDXT2b~~  
pm,&kE  
struts.url.includeParams LZV  
      The default includeParams method to generate Struts URLs xj iMM>|n  
      在url中产生 默认的includeParams !dYkvoQNn  
W~ XJ']e  
R}a,.C  
struts.velocity.configfile SEF/ D0  
      The Velocity configuration file path H?8KTl=e  
      velocity配置文件路径 JNRG [j  
xXM`f0s@+]  
struts.velocity.contexts ]QM6d(zDA  
      List of Velocity context names )Fk%, H-1  
      velocity的context列表 =9GL;z:R+  
0Np }O=>  
9`+c<j4/B  
struts.velocity.manager.classname EX7cjQsml  
      org.apache.struts2.views.velocity.VelocityManager implementation class I|,^a|\  
      org.apache.struts2.views.velocity.VelocityManager接口名 2GA6@-u\  
8'_>A5L/C  
struts.velocity.toolboxlocation MOY.$M,1  
      The location of the Velocity toolbox sXkWs2!  
      velocity工具盒的位置 %p)6m 2Sb  
struts.xslt.nocache 7\'vSHIL  
      Whether or not XSLT templates should not be cached @;M( oFS9  
      是否XSLT模版应该被缓存 3Ln~"HwP  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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