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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 /sKL|]i=  
iNA3Y  
struts.action.extension LlQsc{ Ddf  
      The URL extension to use to determine if the request is meant for a Struts action wX"hUu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4qOzjEQ  
!!1?2ine  
struts.configuration *DF3juf~  
      The org.apache.struts2.config.Configuration implementation class )5Khl"6!z  
        org.apache.struts2.config.Configuration接口名 JY0aE  
pr0X7 #_E5  
struts.configuration.files !/is+ xp  
      A list of configuration files automatically loaded by Struts > {*cW  
      struts自动加载的一个配置文件列表 cfLLFPhv)  
I a&*JYM[  
struts.configuration.xml.reload Xul`>8y|  
      Whether to reload the XML configuration or not Bs~~C8+  
      是否加载xml配置(true,false) B@,r8)D  
*d 1Bp R%  
struts.continuations.package -N45ni87  
      The package containing actions that use Rife continuations bwsKdh  
      含有actions的完整连续的package名称 a1cX+{W  
"Oxr}^% i  
struts.custom.i18n.resources nh} Xu~#_  
      Location of additional localization properties files to load j_8 YFz5  
      加载附加的国际化属性文件(不包含.properties后缀) PF{uaKWk  
)(}[S:`  
struts.custom.properties ]EiM~n  
      Location of additional configuration properties files to load Qa{5 ]+E  
      加载附加的配置文件的位置 >ED;_L*_o  
0]DOiA  
V"/.An|  
struts.devMode 0j$\k|xFXZ  
      Whether Struts is in development mode or not %F*9D3^h  
      是否为struts开发模式 Ni_H1G  
='7m$,{(Q[  
struts.dispatcher.parametersWorkaround ;wv[';J  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic [EAOk=X  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5GsmBf$RUb  
}LUvh  
struts.enable.DynamicMethodInvocation xWLvx'8W  
      Allows one to disable dynamic method invocation from the URL Za|7gt];l  
        允许动态方法调用 V}E['fzBFV  
"#d$$ 8  
struts.freemarker.manager.classname @cDB 7w\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >q}3#TvP@  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y+-yIMt$r  
[OC( ~b  
struts.i18n.encoding '}OdF*L  
      The encoding to use for localization messages V3,C5KKk&z  
      国际化信息内码 (XZ[-M7  
FnGKt\  
struts.i18n.reload aBA oSn  
      Whether the localization messages should automatically be reloaded &CG94  
      是否国际化信息自动加载 )."ob=m  
mF6-f#t>H+  
struts.locale -laH^<jm5  
      The default locale for the Struts application N8 sT?  
      默认的国际化地区信息 $Itmm/M  
(j8*F Bq  
struts.mapper.class u Kx:7"KD  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (Jq m9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \mb4leg5  
Y>$5j}K  
struts.multipart.maxSize @nH3nn  
      The maximize size of a multipart request (file upload) @rhS[^1wi+  
      multipart请求信息的最大尺寸(文件上传用) %Wtf24'o;v  
M"z=114  
struts.multipart.parser 4H 6t" X  
      The org.apache.struts2.dispatcher.multipart. xW"O|x$6  
      MultiPartRequest parser implementation for a multipart request (file upload) 7gX32r$%V  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a~KtH;7<  
X}#vt?mu  
B)q}]Qn  
struts.multipart.saveDir )!(gS,  
      The directory to use for storing uploaded files  (?Ku-k  
      设置存储上传文件的目录夹 7w73,r/D8A  
RE!WuLs0"  
struts.objectFactory 4~ x>]  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0Gu77&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /K H85/s  
O_ #++G  
struts.objectFactory.spring.autoWire imOIO[<;  
      Whether Spring should autoWire or not nOC\ =<Nsg  
      是否自动绑定Spring ET[5`z  
w5Fk#zJv  
struts.objectFactory.spring.useClassCache jTwSyW  
      Whether Spring should use its class cache or not |QS|\8g{0V  
      是否spring应该使用自身的cache 8wWp+Hk  
s}JifY`  
struts.objectTypeDeterminer ]Zb9F[  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class IB|!51H  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 c:Czu  
>V.?XZ nt  
struts.serve.static.browserCache U<Oc&S{]*  
If static content served by the Struts filter should set browser caching header properties or not **P P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -3(*4)h7  
A^lm0[3q  
struts.serve.static EG4~[5[YgI  
      Whether the Struts filter should serve static content or not t|>P9lX@  
      是否struts过滤器应该提供静态内容 *6JA&zj0B  
/ 0$ !.  
struts.tag.altSyntax M8lw; (  
      Whether to use the alterative syntax for the tags or not a@g <cl7a,  
      是否可以用替代的语法替代tags 3ZT3I1/D  
R1JD{  
struts.ui.templateDir [fCnq  
      The directory containing UI templates U ]pE{ ^\w  
      UI templates的目录夹 t7-r YY(  
*~U*:>hS  
struts.ui.theme [cDkmRV  
      The default UI template theme @oY+b!L  
      默认的UI template主题 GX23c i  
lOA EM  
struts.url.http.port CeU=A9  
      The HTTP port used by Struts URLs ]U@~vA#''  
      设置http端口 WBKf)A^S  
!,$K;L  
struts.url.https.port NJJ=ch  
      The HTTPS port used by Struts URLs )Q9Qo)D T  
      设置https端口 _an 0G?7  
wMgF*  
struts.url.includeParams bOU"s>?  
      The default includeParams method to generate Struts URLs ,g'>Ib%  
      在url中产生 默认的includeParams %1 RWF6  
{zd[8TJ~xa  
yC ?p,Ci,  
struts.velocity.configfile z\FBN=54z  
      The Velocity configuration file path XD8Cf!  
      velocity配置文件路径 z-3.%P2g  
1tO96t^d%  
struts.velocity.contexts E el*P M  
      List of Velocity context names Z@Q/P(t  
      velocity的context列表 6 o   
RU#}!Kq  
VJ h]j (  
struts.velocity.manager.classname Bi9Q8#lh  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3ouy-SQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 C ]B P}MY<  
byP<!p*  
struts.velocity.toolboxlocation %Unwh1VG  
      The location of the Velocity toolbox H9'psv  
      velocity工具盒的位置 o6w8Y/VPu  
struts.xslt.nocache "N'W~XPG  
      Whether or not XSLT templates should not be cached 9: g]DIL  
      是否XSLT模版应该被缓存 9%21Q>Y?b  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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