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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Wf>zDW^"R  
J%V-Q>L  
struts.action.extension  XEC(P  
      The URL extension to use to determine if the request is meant for a Struts action Av?2<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \2nUa ;  
Q F-LU  
struts.configuration UUF ;p2{f  
      The org.apache.struts2.config.Configuration implementation class ub7zA!%  
        org.apache.struts2.config.Configuration接口名 6UevpDB  
[(o7$i29|%  
struts.configuration.files h\7fp.  
      A list of configuration files automatically loaded by Struts cKN$ =gd  
      struts自动加载的一个配置文件列表 ex+\nD>t4  
GFfq+=se  
struts.configuration.xml.reload o]Ol8I  
      Whether to reload the XML configuration or not D,;\o7V  
      是否加载xml配置(true,false) MepuIh  
!icT/5  
struts.continuations.package iZPCNS"  
      The package containing actions that use Rife continuations 994` ua+  
      含有actions的完整连续的package名称 %Rz&lh/  
aaKN^fi&  
struts.custom.i18n.resources p`nPhk,:b  
      Location of additional localization properties files to load ;2@BO-3K  
      加载附加的国际化属性文件(不包含.properties后缀) +zu(  
Qd=^S^}(  
struts.custom.properties V?Z.\~  
      Location of additional configuration properties files to load OS4q5;1#  
      加载附加的配置文件的位置 # S}Z8  
7a#4tqM#  
e?`5>& Up  
struts.devMode hdnTXs@z  
      Whether Struts is in development mode or not ET_W-  
      是否为struts开发模式 N+LL@[  
cZH-"  
struts.dispatcher.parametersWorkaround I/M_p^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic H~GQ;PhRx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5K^69mx  
7@Zx@  
struts.enable.DynamicMethodInvocation #mZpeB~   
      Allows one to disable dynamic method invocation from the URL CqHK%M  
        允许动态方法调用 ^Y u6w\QM  
nt;haeJ  
struts.freemarker.manager.classname S{FROC~1R  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %YSpCI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?q(\=;Y  
&ZghMq~  
struts.i18n.encoding `6 /$M!4$  
      The encoding to use for localization messages XO-Prs  
      国际化信息内码 u$*56y   
fGw^:,B  
struts.i18n.reload B;R.#^@/  
      Whether the localization messages should automatically be reloaded =`*O1a  
      是否国际化信息自动加载 ZiYm:$CJ  
"Vw m  
struts.locale fMGbODAvY  
      The default locale for the Struts application cE`6uq7 p  
      默认的国际化地区信息 &FH2fMLQ  
9R;/*$  
struts.mapper.class {o!KhF:[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NZP.0coY  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 w?zKjqza=v  
56e r`=ms  
struts.multipart.maxSize ~/8M 3k/  
      The maximize size of a multipart request (file upload) 4(Ov1a>  
      multipart请求信息的最大尺寸(文件上传用) .!1S[  
G2]4n T  
struts.multipart.parser Z|_K6v/c  
      The org.apache.struts2.dispatcher.multipart. GwG4LIp  
      MultiPartRequest parser implementation for a multipart request (file upload) '"?C4mbSl  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) '"<6.,Ae  
=Zu^80/  
Mva3+T  
struts.multipart.saveDir O(tX8P Q5N  
      The directory to use for storing uploaded files }tH[[4tw,  
      设置存储上传文件的目录夹 nSF``pp+  
U\veOQ;mW  
struts.objectFactory PqyA1  
      The com.opensymphony.xwork2.ObjectFactory implementation class J4"mK1N(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -+7uy.@cS  
?lbH02P{v  
struts.objectFactory.spring.autoWire vKq^D(&cl  
      Whether Spring should autoWire or not |o2sbLp  
      是否自动绑定Spring 7_.11$E=H  
,g7.rEA  
struts.objectFactory.spring.useClassCache +2K:qvzZ  
      Whether Spring should use its class cache or not i^_#%L  
      是否spring应该使用自身的cache UPc<gB  
6`0mta Q  
struts.objectTypeDeterminer j4>a(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class e$u4vC~  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 zaFt*~@X  
sp7*_&'J  
struts.serve.static.browserCache 'WI^nZM  
If static content served by the Struts filter should set browser caching header properties or not ybeKiv9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Yly@ww9t|  
\k]x;S<a  
struts.serve.static B!dU>0&Ct  
      Whether the Struts filter should serve static content or not kloR#?8A  
      是否struts过滤器应该提供静态内容 R*oXmuOsYA  
V7Z4T6j4  
struts.tag.altSyntax o]ag"Q  
      Whether to use the alterative syntax for the tags or not t~e<z81p  
      是否可以用替代的语法替代tags ~_9n.C  
b{d4xU8'  
struts.ui.templateDir n:0}utU4  
      The directory containing UI templates < -uc."6\  
      UI templates的目录夹 'Q =7/dY3I  
2+cNo9f  
struts.ui.theme 9%iUG(DC  
      The default UI template theme `C_jP|[e  
      默认的UI template主题 tV_t6x_.  
Tx 1 vL  
struts.url.http.port ?E9DXg  
      The HTTP port used by Struts URLs c9\2YKo  
      设置http端口 anj#@U;!  
+vNZW@_$D  
struts.url.https.port !" JfOu  
      The HTTPS port used by Struts URLs yMZHUd  
      设置https端口 QDTBWM%  
Z1ALq5  
struts.url.includeParams kW`r=u  
      The default includeParams method to generate Struts URLs OFGsjYLw  
      在url中产生 默认的includeParams 5jgdbHog]  
j}BHj.YuP  
8 F2|  
struts.velocity.configfile 2>]a)  
      The Velocity configuration file path  Og2vGzD  
      velocity配置文件路径 F$Ca;cP"  
c{>uqPTY  
struts.velocity.contexts /w8"=6Vv~  
      List of Velocity context names "c(Sysl.L  
      velocity的context列表 &m {kHM  
)-Ej5'iHr  
?!=iu!J  
struts.velocity.manager.classname 4"@GNk~e  
      org.apache.struts2.views.velocity.VelocityManager implementation class :^'O}2NP  
      org.apache.struts2.views.velocity.VelocityManager接口名 b$Hz3T J(  
ZkP {[^6d\  
struts.velocity.toolboxlocation >#}2J[2HQ  
      The location of the Velocity toolbox dl5=q\1=  
      velocity工具盒的位置 ygS L  
struts.xslt.nocache M wab!Ya  
      Whether or not XSLT templates should not be cached (f_g7B2&y  
      是否XSLT模版应该被缓存 EQIUSh)M  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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