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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 r[ UZHX5+S  
=l  %  
struts.action.extension  k3[%pS  
      The URL extension to use to determine if the request is meant for a Struts action 0w0\TWz*   
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *o}LI6_u  
[jPUAr}  
struts.configuration `D0>L '  
      The org.apache.struts2.config.Configuration implementation class tOJK~%'  
        org.apache.struts2.config.Configuration接口名 I[r  
'[E|3K5d  
struts.configuration.files >vDa`|g  
      A list of configuration files automatically loaded by Struts sD|P*ir  
      struts自动加载的一个配置文件列表  q q%\  
\`H"4r[?(  
struts.configuration.xml.reload )20jZm*  
      Whether to reload the XML configuration or not v"y0D  
      是否加载xml配置(true,false) O F$0]V  
[Yo3=(7J  
struts.continuations.package j.? '*?P  
      The package containing actions that use Rife continuations AY{-Hf&  
      含有actions的完整连续的package名称 *SW.K{{  
E8[{U8)[;5  
struts.custom.i18n.resources K%Dksx7ow  
      Location of additional localization properties files to load 9n#Q1Xq  
      加载附加的国际化属性文件(不包含.properties后缀) G~SgI>Q  
[^rT: %Z  
struts.custom.properties [0M2`x4`  
      Location of additional configuration properties files to load 4fK(<2i  
      加载附加的配置文件的位置 > 3<P^-9L  
Q}pnb3J>T  
' }G! D  
struts.devMode >/*wlY!E  
      Whether Struts is in development mode or not ]}KoW?M  
      是否为struts开发模式 ~FnB!Mh}?  
J^}w,r *=  
struts.dispatcher.parametersWorkaround bPaE;?m  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Rgb1B3gu  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8db J'  
j"FX ?|4  
struts.enable.DynamicMethodInvocation Who7{|M\'  
      Allows one to disable dynamic method invocation from the URL 7+I%0U}m  
        允许动态方法调用 KC+C?]~M  
80PlbUBb!  
struts.freemarker.manager.classname :)!X%2 _  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class yv.Y-c=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [@SLt$9"  
4'&j<Ah[#  
struts.i18n.encoding X bF;  
      The encoding to use for localization messages 4>q^W$  
      国际化信息内码 G k'j<a  
Dj=OUo[[d  
struts.i18n.reload _{.=zv|3  
      Whether the localization messages should automatically be reloaded ( K5w0  
      是否国际化信息自动加载 gv&%2e}_  
]1A"l!yf  
struts.locale 6`sOhVD  
      The default locale for the Struts application )&G uZ  
      默认的国际化地区信息 x/nlIoT  
5O.dRp7d J  
struts.mapper.class mL\j^q,Y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %GRD3S  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;]ojfR=?%  
]Y#$!fIx  
struts.multipart.maxSize Qo*,2B9R L  
      The maximize size of a multipart request (file upload) ]+1?T)<!  
      multipart请求信息的最大尺寸(文件上传用) Qr`WPTQr"  
Z]$RO  
struts.multipart.parser F_8nxQ-  
      The org.apache.struts2.dispatcher.multipart. Q>\y%&df  
      MultiPartRequest parser implementation for a multipart request (file upload) yNY *Fl!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +xqPyR  
OiB*,TWV  
g8 (zvG;Y  
struts.multipart.saveDir Evd>s  
      The directory to use for storing uploaded files `aY{$>$S  
      设置存储上传文件的目录夹 Lod$&k@@  
9N(<OY+Dgm  
struts.objectFactory #"}Z'|X*  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,vBi)H  
      com.opensymphony.xwork2.ObjectFactory接口(spring) TNs0^h)  
auOYi<<>W  
struts.objectFactory.spring.autoWire +P C<#  
      Whether Spring should autoWire or not 4:$?u}9[:[  
      是否自动绑定Spring %|(~k*s4  
Ndj9B|s_  
struts.objectFactory.spring.useClassCache pdnkHR$  
      Whether Spring should use its class cache or not lk $S"OH!  
      是否spring应该使用自身的cache ;IhkGPpWP  
g%z?O[CN  
struts.objectTypeDeterminer H \ $04vkR  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ien >Ou  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H-%)r&"vn  
|RqCw7  
struts.serve.static.browserCache Wc4K?3 ZM  
If static content served by the Struts filter should set browser caching header properties or not sY?pp '}a  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .Z=D|&!  
pm<zw-  
struts.serve.static C3fSSa%b  
      Whether the Struts filter should serve static content or not ]JQk,<l5E  
      是否struts过滤器应该提供静态内容 AL/`Pqlk  
]a|3"DP5  
struts.tag.altSyntax \m!swYy  
      Whether to use the alterative syntax for the tags or not \LB =_W$  
      是否可以用替代的语法替代tags zn5  
ARYqX\-e  
struts.ui.templateDir ZVotIQ/Q'  
      The directory containing UI templates =~YmM<L  
      UI templates的目录夹 6,'v /A-  
DKL< "#.7  
struts.ui.theme X&._<2  
      The default UI template theme se](hu~w  
      默认的UI template主题 |RQ19m@  
E^S[8=  
struts.url.http.port d )|{iUcW  
      The HTTP port used by Struts URLs 't=\YFQ*v  
      设置http端口 !pI)i*V|  
.fxI)  
struts.url.https.port uV<I!jyI  
      The HTTPS port used by Struts URLs &F" Mkyf  
      设置https端口 )5P*O5kQ -  
-X(%K6{  
struts.url.includeParams 'j=7'aX>K  
      The default includeParams method to generate Struts URLs b7>^w<ki  
      在url中产生 默认的includeParams pYV$sDlD  
iZ+\vO?|  
XJnDx 09h  
struts.velocity.configfile dwks"5l  
      The Velocity configuration file path O4FW/)gq  
      velocity配置文件路径 ' >> IMF  
~*D)L'`2M  
struts.velocity.contexts QZk:G+ $  
      List of Velocity context names vrXmzq  
      velocity的context列表 z^9Yoqog  
#V[ ?puE@  
U:>'^tkp  
struts.velocity.manager.classname |E-0P=h  
      org.apache.struts2.views.velocity.VelocityManager implementation class Y4`MgP8t  
      org.apache.struts2.views.velocity.VelocityManager接口名 NLM ]KT  
ay#cW.,  
struts.velocity.toolboxlocation _)Uw-vhQiT  
      The location of the Velocity toolbox NtMK+y  
      velocity工具盒的位置 L'4ob4r{L  
struts.xslt.nocache F.?`<7  
      Whether or not XSLT templates should not be cached Oy[1_qfP  
      是否XSLT模版应该被缓存 }.|\<8_  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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