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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *5wb8 [  
{2-w<t  
struts.action.extension VPK)HzPG,  
      The URL extension to use to determine if the request is meant for a Struts action ee6Zm+.B  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jQc$>M<"o  
S-My6'ar  
struts.configuration u)%J5TR.Y  
      The org.apache.struts2.config.Configuration implementation class &}6=V+J;  
        org.apache.struts2.config.Configuration接口名 ;vuok]@  
I6\ l 6o  
struts.configuration.files [(]uin+9Q  
      A list of configuration files automatically loaded by Struts 2: fSn&*/>  
      struts自动加载的一个配置文件列表 ;R}:2  
Tk)y*y  
struts.configuration.xml.reload tMC<\e  
      Whether to reload the XML configuration or not <.#i3!  
      是否加载xml配置(true,false) fi`*r\  
C4ge_u#  
struts.continuations.package ``U>9S"p)  
      The package containing actions that use Rife continuations MK,#"Ty}zK  
      含有actions的完整连续的package名称 ONg_3vD{  
GkVV%0;&J1  
struts.custom.i18n.resources CPAizS  
      Location of additional localization properties files to load t '* L,  
      加载附加的国际化属性文件(不包含.properties后缀) p%8y!^g  
/ F9BbG{  
struts.custom.properties *IfLoKS'  
      Location of additional configuration properties files to load 0jG8Gmh!  
      加载附加的配置文件的位置 Z+JPxe#7  
"RiY#=}sm  
Z sv(/>  
struts.devMode *}Vg]3$4  
      Whether Struts is in development mode or not IOomBy:  
      是否为struts开发模式 wm_xH_{F  
Dhv ^}m@  
struts.dispatcher.parametersWorkaround 5V8WSnO  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >E6w,Ab  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >,7 -cm=.  
,x&T8o/a  
struts.enable.DynamicMethodInvocation #,lJ>mTe4  
      Allows one to disable dynamic method invocation from the URL [s"xOP9R  
        允许动态方法调用 VI/77  
$zKf>[K  
struts.freemarker.manager.classname RX\%R  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6;Wns'  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /{|JQ'gqX  
3vepJ) D (  
struts.i18n.encoding SN' j?-  
      The encoding to use for localization messages D.su^m_1  
      国际化信息内码 R0HzNk  
)T&ZiHIJ3  
struts.i18n.reload gd#+N]C_  
      Whether the localization messages should automatically be reloaded @T)kqT  
      是否国际化信息自动加载 XOsuRI ?  
LR%]4$ /M  
struts.locale k> SPtiAs  
      The default locale for the Struts application !59u z4  
      默认的国际化地区信息 9bwG3jn4?  
?$J#jhR?  
struts.mapper.class QbrR=[8b  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x5jd2wS Dx  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 g:8k,1y5  
v)1@Ew=Y%  
struts.multipart.maxSize ;auT!a~a#  
      The maximize size of a multipart request (file upload) fAYp\ k  
      multipart请求信息的最大尺寸(文件上传用) crTRfqF  
Nz1u:D]  
struts.multipart.parser wN Mf-~  
      The org.apache.struts2.dispatcher.multipart. Qa>t$`o`  
      MultiPartRequest parser implementation for a multipart request (file upload) 21_sg f?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &!N9.e:-]  
%0&59q]LM  
Klrd|;C  
struts.multipart.saveDir YMXhzqj  
      The directory to use for storing uploaded files @^R6}qJ  
      设置存储上传文件的目录夹 NAgm?d  
ecvQEK2L  
struts.objectFactory ;iq H:wO  
      The com.opensymphony.xwork2.ObjectFactory implementation class E7 mB=bt>=  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ON [F  
 r"YOA@  
struts.objectFactory.spring.autoWire M 5c$  
      Whether Spring should autoWire or not 4f SG c8  
      是否自动绑定Spring @KJ~M3d0l  
E/OfkL*\  
struts.objectFactory.spring.useClassCache cb82k[L6  
      Whether Spring should use its class cache or not ?vh1 >1D  
      是否spring应该使用自身的cache %^pm~ck!  
 |pgrR7G'  
struts.objectTypeDeterminer GBSuTu8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tqk^)c4FF(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vLI'Z)\  
tw k  
struts.serve.static.browserCache grVPu! B;  
If static content served by the Struts filter should set browser caching header properties or not A9Kt^HR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BMi5F?Q'G  
b,hRk1  
struts.serve.static xlIVLv6dO  
      Whether the Struts filter should serve static content or not dj-/%MU  
      是否struts过滤器应该提供静态内容 T\v~"pMu*0  
(! a;}V<7  
struts.tag.altSyntax 03Uj0.Z|7  
      Whether to use the alterative syntax for the tags or not 4p<c|(f#  
      是否可以用替代的语法替代tags )kIZm Q|f1  
XmJ?oPr7  
struts.ui.templateDir d C>[[_  
      The directory containing UI templates Xx,Rah)X3  
      UI templates的目录夹 FQ_a= v  
<P@ "VwUX  
struts.ui.theme Kt3T~k  
      The default UI template theme tZ>'tE   
      默认的UI template主题 {c}n."`  
H"NBjVRU%  
struts.url.http.port xcE2hK/+  
      The HTTP port used by Struts URLs M.qE$  
      设置http端口 T deHs{|  
#b,! N  
struts.url.https.port weH;,e*r  
      The HTTPS port used by Struts URLs aOhi<I`*  
      设置https端口 yRy^'E~  
HC!5AJ&+}v  
struts.url.includeParams |BEoF[1  
      The default includeParams method to generate Struts URLs \ lW*.<  
      在url中产生 默认的includeParams c8h71Cr  
O-(gkE  
fA)4'7UT  
struts.velocity.configfile K?@x'q1  
      The Velocity configuration file path O^Y@&S RrQ  
      velocity配置文件路径 =xjt PmZ5X  
Esdv+f}4;  
struts.velocity.contexts _a\$uVZ  
      List of Velocity context names tq=7HM  
      velocity的context列表 w&e q *q  
|33_="  
{Q021*xt/  
struts.velocity.manager.classname bQ`2ll*(  
      org.apache.struts2.views.velocity.VelocityManager implementation class '$h0l-mQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 }6To(*  
;>CM1  
struts.velocity.toolboxlocation m`&6[[)6~  
      The location of the Velocity toolbox RveEA/&&  
      velocity工具盒的位置 mXT{c=N)w  
struts.xslt.nocache $C t(M)  
      Whether or not XSLT templates should not be cached efK WR  
      是否XSLT模版应该被缓存 C]a iu  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八