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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2fkIdy#n@  
io t.E%G  
struts.action.extension /<(*/P,>  
      The URL extension to use to determine if the request is meant for a Struts action ']d!?>C@o  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #1QX!dK+  
cg(QjH"  
struts.configuration =2RhPD  
      The org.apache.struts2.config.Configuration implementation class 943I:, B  
        org.apache.struts2.config.Configuration接口名 *? K4!q'  
!j!Z%]7  
struts.configuration.files gdoJ4b  
      A list of configuration files automatically loaded by Struts n_""M:XH  
      struts自动加载的一个配置文件列表 *[d~Nk%Y$  
`e'G.@  
struts.configuration.xml.reload O`wYMng)  
      Whether to reload the XML configuration or not >]Mq)V9  
      是否加载xml配置(true,false) G 2%  
6 QN1+MwB  
struts.continuations.package *.kj]BoO  
      The package containing actions that use Rife continuations Bii6Z@kS  
      含有actions的完整连续的package名称 +M44XhT  
//\ds71h  
struts.custom.i18n.resources %B#hb<7}  
      Location of additional localization properties files to load ]k Pco4  
      加载附加的国际化属性文件(不包含.properties后缀) khR3[ju{^  
L%DL n  
struts.custom.properties D7 @10;F}[  
      Location of additional configuration properties files to load _C4^J  
      加载附加的配置文件的位置 WXM_H0K  
s-*XAn ot  
QqDF_  
struts.devMode PQK_*hJG"  
      Whether Struts is in development mode or not \@xnC$dd/  
      是否为struts开发模式 kBT uM"  
}yw\+fc  
struts.dispatcher.parametersWorkaround } 8svd#S+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~ 0[K%]]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,uw &)A  
Zj JD@,j  
struts.enable.DynamicMethodInvocation \bg^E>-  
      Allows one to disable dynamic method invocation from the URL kK(633s  
        允许动态方法调用 M;E&@[5  
g/E;OcFaO  
struts.freemarker.manager.classname oeIS&O.K  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class B[$e;h*Aw[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5Ql6?U HD  
ck}y-,>,[O  
struts.i18n.encoding X>CYKRtb  
      The encoding to use for localization messages U t%ie=c  
      国际化信息内码 mB\5bSFY`  
_k}b  
struts.i18n.reload s(dox; d  
      Whether the localization messages should automatically be reloaded ~$@I <=L  
      是否国际化信息自动加载 6B 8!2  
B4b UcYk  
struts.locale 1^,rS  
      The default locale for the Struts application #8`G&S*  
      默认的国际化地区信息 z/TRqD  
%H@fVWe2wT  
struts.mapper.class PQ5DTk  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *D'V W{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7}*5Mir p  
s)C.e# xl  
struts.multipart.maxSize +,%x&L&I  
      The maximize size of a multipart request (file upload) Kb}N!<Z*  
      multipart请求信息的最大尺寸(文件上传用) NZ_45/(dx  
LC}]6  
struts.multipart.parser <sTa Xaq?  
      The org.apache.struts2.dispatcher.multipart. hOq1 "kL  
      MultiPartRequest parser implementation for a multipart request (file upload) 6(z.(eT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) JvG t=v  
W=DQ6.   
cx02b-O  
struts.multipart.saveDir R38 w!6{  
      The directory to use for storing uploaded files mdk:2ndP  
      设置存储上传文件的目录夹 (d (whlF  
J@$>d  
struts.objectFactory 4jXyA/F9V  
      The com.opensymphony.xwork2.ObjectFactory implementation class }vL[N~5\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) T.xW|Iwx  
$Fn# b|e  
struts.objectFactory.spring.autoWire aw,8'N)  
      Whether Spring should autoWire or not ,Pl[SMt!  
      是否自动绑定Spring {C3bCVQ]o  
E/am^ TO`  
struts.objectFactory.spring.useClassCache {c$W-t):U|  
      Whether Spring should use its class cache or not I5e!vCG)  
      是否spring应该使用自身的cache a{HvrWs?Q  
J3$ihH.  
struts.objectTypeDeterminer gC'GZi^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class SVR AkP-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5?Bi+fg  
w0.#/6  
struts.serve.static.browserCache k'{lo _  
If static content served by the Struts filter should set browser caching header properties or not zgO?%O  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Lrk^<:8;  
f5O*Njl  
struts.serve.static l@^RbF['  
      Whether the Struts filter should serve static content or not h\yYg'CC  
      是否struts过滤器应该提供静态内容 yn7n  
ZJx:?*0a  
struts.tag.altSyntax Qdtfi1_Y1  
      Whether to use the alterative syntax for the tags or not yyXJ_B  
      是否可以用替代的语法替代tags F:\y#U6"J  
Hj5b.fB  
struts.ui.templateDir "BTA"  
      The directory containing UI templates KsHMAp3  
      UI templates的目录夹 H kg0;)  
;A|6&~E0G  
struts.ui.theme |S.-5CAh4  
      The default UI template theme H6~QSe0l  
      默认的UI template主题 ]-0 &[@I4@  
QN0Ik 2L  
struts.url.http.port l5aQDkp}  
      The HTTP port used by Struts URLs > sUk6Z~  
      设置http端口 K%Rx5 S  
:@pm gp  
struts.url.https.port LDbo  
      The HTTPS port used by Struts URLs \ii^F?+b  
      设置https端口 haY.rH]z  
JNZKzyJ9K  
struts.url.includeParams D,J's(wd  
      The default includeParams method to generate Struts URLs ov?>ALRg  
      在url中产生 默认的includeParams &gq\e^0CRZ  
V+E2nJ  
oW-luC+  
struts.velocity.configfile `f b}cJUa  
      The Velocity configuration file path d/|@"z^?  
      velocity配置文件路径 fIFB"toiPE  
ty(F;M(  
struts.velocity.contexts Fn 6>n04v  
      List of Velocity context names YRB,jwne  
      velocity的context列表 .lqo>Ta y  
;N i+TS  
h v9s  
struts.velocity.manager.classname lS}5bcjR=k  
      org.apache.struts2.views.velocity.VelocityManager implementation class {N>VK*  
      org.apache.struts2.views.velocity.VelocityManager接口名 rU(N@i%  
.O~)zM x  
struts.velocity.toolboxlocation $S6AqUk$  
      The location of the Velocity toolbox )=8X[<^i  
      velocity工具盒的位置 }`>u+iH#a  
struts.xslt.nocache WtdWD_\%Y\  
      Whether or not XSLT templates should not be cached Rh~<#"G]  
      是否XSLT模版应该被缓存 \>j@! W  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五