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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ipobr7G.SD  
*h$&0w y  
struts.action.extension C,/O   
      The URL extension to use to determine if the request is meant for a Struts action 6^)rv-L~5y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ._?V%/  
YutQ]zYA.  
struts.configuration [)^mBVht  
      The org.apache.struts2.config.Configuration implementation class B MM--y@  
        org.apache.struts2.config.Configuration接口名 C5|db{=\.*  
yub{8f;v  
struts.configuration.files *m9{V8Yi2  
      A list of configuration files automatically loaded by Struts #)o7"PW:  
      struts自动加载的一个配置文件列表 XVt/qb%)r  
8'A72*dhX  
struts.configuration.xml.reload ldGojnS  
      Whether to reload the XML configuration or not #E DEYEW7  
      是否加载xml配置(true,false) %%%S"$t  
?7 \\e;j}  
struts.continuations.package jfD1  
      The package containing actions that use Rife continuations ]IZ>2!6r  
      含有actions的完整连续的package名称 kZLMtj-   
(luKn&826  
struts.custom.i18n.resources dH\XO-Z7v  
      Location of additional localization properties files to load E V2  )  
      加载附加的国际化属性文件(不包含.properties后缀) !4WEk  
r3qf[?3`6  
struts.custom.properties a8pY[)^c  
      Location of additional configuration properties files to load \ECu5L4  
      加载附加的配置文件的位置 KVkMU?6  
<xo-Fv  
z x@$RS+]  
struts.devMode TW7:q83{l  
      Whether Struts is in development mode or not nPN?kO=]  
      是否为struts开发模式 >xqM5#m`E$  
paW@\1Q  
struts.dispatcher.parametersWorkaround V5mlJml2(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic KL [ek  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ['q&@_d7  
FY'ty@|_s  
struts.enable.DynamicMethodInvocation 4nqoZk^R  
      Allows one to disable dynamic method invocation from the URL AVl~{k|  
        允许动态方法调用 Pf <[|yu4?  
9MY7a=5E~  
struts.freemarker.manager.classname RO&H5m r%@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;apzAF  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [q*%U4qGO  
>9H@|[C  
struts.i18n.encoding `_vB+a  
      The encoding to use for localization messages g&Vcg`  
      国际化信息内码 2HD]?:Fk7  
17|np2~  
struts.i18n.reload V Z y4_v=  
      Whether the localization messages should automatically be reloaded #!2k<Q*5uT  
      是否国际化信息自动加载 ]y@F8$D!  
S'LZk9E  
struts.locale F_;DN: {  
      The default locale for the Struts application EW<kI+0D  
      默认的国际化地区信息 Rp9fO?ZjHt  
 Q=uRKh  
struts.mapper.class L<V3KS2y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ln!'_\{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *sw7niw  
_>m-AI4^  
struts.multipart.maxSize &HW1mNF9  
      The maximize size of a multipart request (file upload) ccFn.($p?,  
      multipart请求信息的最大尺寸(文件上传用) \x{;U#B[3>  
d XHB#  
struts.multipart.parser '8Ztj  
      The org.apache.struts2.dispatcher.multipart. 20RXK1So  
      MultiPartRequest parser implementation for a multipart request (file upload) )D&M2CUw"f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }x0- V8  
4mjgt<`  
l_tw<`Ep  
struts.multipart.saveDir WLa!.v>  
      The directory to use for storing uploaded files !$;a[Te  
      设置存储上传文件的目录夹  p?D2)(  
N==ZtKj F  
struts.objectFactory a]Eg!Q  
      The com.opensymphony.xwork2.ObjectFactory implementation class H5CR'Rp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `:m!~  
l%ayI  
struts.objectFactory.spring.autoWire \c v?^AI  
      Whether Spring should autoWire or not TL$EV>Nr  
      是否自动绑定Spring cJo\#cr  
:<Y}l-x  
struts.objectFactory.spring.useClassCache 1=sXdcy;  
      Whether Spring should use its class cache or not g"s$}5{8:  
      是否spring应该使用自身的cache '^BV_QQ  
acP+3u?r  
struts.objectTypeDeterminer le+R16Z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class kE8>dmH23  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =*qD4qYA  
\Ng\B.IQ  
struts.serve.static.browserCache 8$s9(n-_Y  
If static content served by the Struts filter should set browser caching header properties or not p.I.iAk%G^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 h&.wo !  
Jj~EiA  
struts.serve.static RIu~ @  
      Whether the Struts filter should serve static content or not O%g $9-?F0  
      是否struts过滤器应该提供静态内容 " 96yp4v@  
KrVcwAcq|1  
struts.tag.altSyntax ?Xdak|?i  
      Whether to use the alterative syntax for the tags or not !Fo*e  
      是否可以用替代的语法替代tags UJ-?k &j,  
dY?`f<*  
struts.ui.templateDir 21s4MagC  
      The directory containing UI templates alh >"9~!  
      UI templates的目录夹 5D M"0  
dm-pxE "  
struts.ui.theme 0;S,tJg  
      The default UI template theme O}9KJU  
      默认的UI template主题 /bj <Ft\  
\s3]_1F;t  
struts.url.http.port qq)0yyL r  
      The HTTP port used by Struts URLs SN4Q))dAU  
      设置http端口 PH"hn]  
,+`61J3W  
struts.url.https.port #;n +YM">:  
      The HTTPS port used by Struts URLs x^Yl*iq  
      设置https端口 Z_\C*^  
eh1Q7 ~  
struts.url.includeParams  ^p n(=4  
      The default includeParams method to generate Struts URLs vR0 ];{  
      在url中产生 默认的includeParams ^[%%r3"$C  
>!_Xgw  
Z/rP"|EuQ  
struts.velocity.configfile ]Jh+'RK\#  
      The Velocity configuration file path ["\;kJ.  
      velocity配置文件路径 u%'\UmE w  
8|E'>+ D_-  
struts.velocity.contexts jx acg^c  
      List of Velocity context names *'Z B*>  
      velocity的context列表 >]o}}KF?  
==i[w|  
{3N'D2N  
struts.velocity.manager.classname @EE."T9  
      org.apache.struts2.views.velocity.VelocityManager implementation class Bgmn2-  
      org.apache.struts2.views.velocity.VelocityManager接口名 >0p$(>N]  
Y>jiXl?&  
struts.velocity.toolboxlocation d #jK=:eK  
      The location of the Velocity toolbox :4v3\+T  
      velocity工具盒的位置 099sN"kf  
struts.xslt.nocache qj cp65^  
      Whether or not XSLT templates should not be cached }I`a`0/  
      是否XSLT模版应该被缓存 r>bJ%M}  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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