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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vmV<PK-  
n\U3f M>N  
struts.action.extension #<^ngoOj  
      The URL extension to use to determine if the request is meant for a Struts action Ax'jNol  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 8ec6J*b  
."8bW^:  
struts.configuration W ix/Az  
      The org.apache.struts2.config.Configuration implementation class &n|S:"B  
        org.apache.struts2.config.Configuration接口名 Y<A593  
h3B s  
struts.configuration.files ISp'4H7R+N  
      A list of configuration files automatically loaded by Struts G:n,u$2a<  
      struts自动加载的一个配置文件列表 /^BaQeH?R  
9PpPAF  
struts.configuration.xml.reload c(]NpH in  
      Whether to reload the XML configuration or not !W^b:qjJ  
      是否加载xml配置(true,false) !!WSGZUR  
vCPiT2G  
struts.continuations.package <Z8I#IPl  
      The package containing actions that use Rife continuations y 093-  
      含有actions的完整连续的package名称 - %ul9}.  
2N,<~L`FX'  
struts.custom.i18n.resources _A8x{[$  
      Location of additional localization properties files to load w Ud6xR  
      加载附加的国际化属性文件(不包含.properties后缀) dc ]+1 A  
01 UEd8  
struts.custom.properties 09_L^'`  
      Location of additional configuration properties files to load |'C {nTX  
      加载附加的配置文件的位置 |.]:#)^X?  
d"7l<y5  
]#UyYgPk  
struts.devMode 'dnTu@mUT  
      Whether Struts is in development mode or not s@WF[S7D  
      是否为struts开发模式 f1Ak0s,zrc  
>o#5tNm  
struts.dispatcher.parametersWorkaround G^Z SQ!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FG?69b>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) RV*7?y%3  
JZCRu_M>|  
struts.enable.DynamicMethodInvocation xz @/^Cj  
      Allows one to disable dynamic method invocation from the URL |"7^9(  
        允许动态方法调用 QasUgZ  
N*k`'T  
struts.freemarker.manager.classname -Qt>yzD3  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Z#n!=k TTm  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 D~KEjz!bQ  
hXvg<Rf  
struts.i18n.encoding ?5%0zMC  
      The encoding to use for localization messages m{U+aqAQK  
      国际化信息内码 JWu^7}@~=  
^>g7Kg"0  
struts.i18n.reload B/*`u  
      Whether the localization messages should automatically be reloaded r%*UU4xvB  
      是否国际化信息自动加载 0a#2 Lo  
]cz*k/*0  
struts.locale fvW7a8k3  
      The default locale for the Struts application Bf&,ACOf  
      默认的国际化地区信息 WVP^C71  
uC _&?  
struts.mapper.class oGK 1D  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Cst:5m0!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S 1%/ee3  
pa7Iz^i  
struts.multipart.maxSize RJ#xq#l  
      The maximize size of a multipart request (file upload) \= M*x  
      multipart请求信息的最大尺寸(文件上传用) N8<Wm>GLX~  
+/g/+B_b  
struts.multipart.parser E1atXx  
      The org.apache.struts2.dispatcher.multipart. 9~6FWBt  
      MultiPartRequest parser implementation for a multipart request (file upload) ^Fy{Q*p`(  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Qx9lcO_  
1^bI9 /  
8s,B,s.  
struts.multipart.saveDir $)L=MEdx  
      The directory to use for storing uploaded files g;bfi{8s_  
      设置存储上传文件的目录夹 tMWDKatb  
\6UK:'5{  
struts.objectFactory l8"  
      The com.opensymphony.xwork2.ObjectFactory implementation class R7/"ye:7J  
      com.opensymphony.xwork2.ObjectFactory接口(spring) f0 ;Fokt(  
n4albG4  
struts.objectFactory.spring.autoWire @KM !g,f  
      Whether Spring should autoWire or not {b|:q>Be8  
      是否自动绑定Spring MEOVw[hO  
xMk0Xf'_  
struts.objectFactory.spring.useClassCache <X7x  
      Whether Spring should use its class cache or not 6cCC+*V{  
      是否spring应该使用自身的cache 6K/j,e>L  
_uvRC+~R  
struts.objectTypeDeterminer {8NnRnzU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class DEGEr-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1-@[th  
NJEubC?  
struts.serve.static.browserCache }Q7 ~tu  
If static content served by the Struts filter should set browser caching header properties or not Et\z^y  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e 1W9Z $m  
AE:IXP|c  
struts.serve.static g~5$X{  
      Whether the Struts filter should serve static content or not hOI| #(-  
      是否struts过滤器应该提供静态内容 &E@8 z&  
]fN\LY6p  
struts.tag.altSyntax l;4},N  
      Whether to use the alterative syntax for the tags or not PD @]2lY(  
      是否可以用替代的语法替代tags )qGw!^8  
67/&AiS?  
struts.ui.templateDir *\?t W]8<  
      The directory containing UI templates eOZ0L1JM!  
      UI templates的目录夹 gNon*\a,-B  
_z:7Dj#  
struts.ui.theme p[E}:kak_-  
      The default UI template theme [L.+N@M  
      默认的UI template主题 [4V{~`sF  
?GdoB7(%  
struts.url.http.port ?v]EXV3  
      The HTTP port used by Struts URLs Pt/dH+r`%  
      设置http端口 5ua`5Hb;  
gr\UI!]F  
struts.url.https.port .OLm{  
      The HTTPS port used by Struts URLs ar-N4+!@  
      设置https端口 %3L4&W _T  
_]SV@q^  
struts.url.includeParams |hsg= LX  
      The default includeParams method to generate Struts URLs [.M<h^xrB  
      在url中产生 默认的includeParams y.$/niQ%  
efj[7K.h  
_7j-y 9V  
struts.velocity.configfile WoP5[.G  
      The Velocity configuration file path [:cy.K!Uo%  
      velocity配置文件路径 Wb*A};wE  
3$fzqFo  
struts.velocity.contexts 6#sd"JvtQ  
      List of Velocity context names ` XAlzI  
      velocity的context列表 B}Q.Is5  
@dl{ .,J  
_9%R U"  
struts.velocity.manager.classname /%E X4 W  
      org.apache.struts2.views.velocity.VelocityManager implementation class sW'SR  
      org.apache.struts2.views.velocity.VelocityManager接口名 L: hEt  
?:D#\4=US  
struts.velocity.toolboxlocation p^QEk~qw  
      The location of the Velocity toolbox .>4Zt'gCt  
      velocity工具盒的位置 !(:R=J_h  
struts.xslt.nocache W@R\m=e2  
      Whether or not XSLT templates should not be cached QnsD,F; /  
      是否XSLT模版应该被缓存 oPSucz&s  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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