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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 n!N\zx8  
hPufzhT  
struts.action.extension 4^!4eyQ^  
      The URL extension to use to determine if the request is meant for a Struts action &(&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @5}gsC  
g<[rH%\6fg  
struts.configuration |tG+iF@4  
      The org.apache.struts2.config.Configuration implementation class >v0:qN7|  
        org.apache.struts2.config.Configuration接口名 )XVh&'(r  
cINHH !v  
struts.configuration.files ~/`X*n&  
      A list of configuration files automatically loaded by Struts C;sgK  
      struts自动加载的一个配置文件列表 ~|) 9RUXr>  
E5B8 Z?$a  
struts.configuration.xml.reload > x'bZ]gm  
      Whether to reload the XML configuration or not qiNliJ>40E  
      是否加载xml配置(true,false) 'H=weH  
AQci,j"  
struts.continuations.package _IYY08&(r  
      The package containing actions that use Rife continuations w6EI{  
      含有actions的完整连续的package名称 ]M4NpU M  
vbn>mg5  
struts.custom.i18n.resources Uh+jt,RB`  
      Location of additional localization properties files to load aW@oE ~`  
      加载附加的国际化属性文件(不包含.properties后缀) cTj~lO6  
BQ#jwu0e  
struts.custom.properties {Nq?#%vdT  
      Location of additional configuration properties files to load hh&Js'd  
      加载附加的配置文件的位置 $'$>UFR  
caD5Pod4  
>0T3'/k<H  
struts.devMode %vc'{`P  
      Whether Struts is in development mode or not ma7fDo0,`h  
      是否为struts开发模式 d8.ajeN]o  
=8S}Iat  
struts.dispatcher.parametersWorkaround [s %\.y(q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |+/$ g.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) H^v{Vo  
#KJZR{  
struts.enable.DynamicMethodInvocation ;qT5faKB3J  
      Allows one to disable dynamic method invocation from the URL 0=,'{Vz}A  
        允许动态方法调用 d H_2 o  
R1 qMg+  
struts.freemarker.manager.classname -4`sqv ]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class c'lIWuL)  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 y<uE-4  
/'NUZ9  
struts.i18n.encoding G4"lZM  
      The encoding to use for localization messages J/gQQ. s  
      国际化信息内码 | /#'S&!U  
s'AQUUrb <  
struts.i18n.reload dAwS<5!  
      Whether the localization messages should automatically be reloaded Hc /w ta  
      是否国际化信息自动加载 cqHw^{'8  
a}GAB@YI  
struts.locale sx90lsu  
      The default locale for the Struts application \y,; Cfl<  
      默认的国际化地区信息 5EfY9}dl  
,@,LD  u  
struts.mapper.class p1uN ]T7>  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class j>V"hf  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 z,os MS  
TwwIt5_fN  
struts.multipart.maxSize ;HT0w_,  
      The maximize size of a multipart request (file upload) ;_w MWl0F  
      multipart请求信息的最大尺寸(文件上传用) PgqECd)f  
`lvh\[3^  
struts.multipart.parser hX %s]"  
      The org.apache.struts2.dispatcher.multipart. taBO4LV  
      MultiPartRequest parser implementation for a multipart request (file upload) w8U2y/:>  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `GP3 D~  
_4~k3%w\`l  
Mf#2.TR  
struts.multipart.saveDir t0+t9w/fTP  
      The directory to use for storing uploaded files Ep,1}Dx  
      设置存储上传文件的目录夹 -aA<.+  
*j/ uihY  
struts.objectFactory yi&?d&rK  
      The com.opensymphony.xwork2.ObjectFactory implementation class kzW\z4f  
      com.opensymphony.xwork2.ObjectFactory接口(spring) z{@= _5;  
%~ ;nlDw  
struts.objectFactory.spring.autoWire _dz +2au  
      Whether Spring should autoWire or not $/MY,:*e  
      是否自动绑定Spring Mi_[9ku>%  
X"laZd947>  
struts.objectFactory.spring.useClassCache (tgEa{rPAP  
      Whether Spring should use its class cache or not 5 1v r^  
      是否spring应该使用自身的cache iM4mkCdOO  
[))gn  
struts.objectTypeDeterminer ngtuYASc  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class axHxqhO7zp  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @+[Y0_  
[B.W1 GL!  
struts.serve.static.browserCache 4u7c7K>\Y  
If static content served by the Struts filter should set browser caching header properties or not Rv0-vH.n  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \CP*i_:"  
JkRGtYq  
struts.serve.static sxf}Mmsk  
      Whether the Struts filter should serve static content or not K'>P!R:El  
      是否struts过滤器应该提供静态内容 -i| /JH  
{LjK_J'  
struts.tag.altSyntax O8!!UA8V  
      Whether to use the alterative syntax for the tags or not 6nM rO$i0k  
      是否可以用替代的语法替代tags I8XGU)  
*Cc$eR]-  
struts.ui.templateDir kfH9Y%bOy  
      The directory containing UI templates j 8~Gv=(h  
      UI templates的目录夹 /DgT1^&0  
D'U\]'.  
struts.ui.theme bEOOFs  
      The default UI template theme {X{01j};8  
      默认的UI template主题 t[L2'J.5  
C.DoXE7  
struts.url.http.port w*]_FqE  
      The HTTP port used by Struts URLs PW(_yB;  
      设置http端口 <v1_F;{n  
{ &6l\|  
struts.url.https.port > 2!^ dT^D  
      The HTTPS port used by Struts URLs 0B#rqTEKu  
      设置https端口 *,Aa9wa{  
L%=BCmMx  
struts.url.includeParams 7z0;FW3>9  
      The default includeParams method to generate Struts URLs EX[l0]fj  
      在url中产生 默认的includeParams U O{xpY  
#UP,;W  
`UzCq06rJ1  
struts.velocity.configfile 'Gm!Jblo@  
      The Velocity configuration file path tPMg Z  
      velocity配置文件路径 DVeF(Y3&  
g/J^K*3]  
struts.velocity.contexts @i1.5z  
      List of Velocity context names 3oNt]2w/'  
      velocity的context列表 -&HoR!af  
'h+4zvI"8  
=#PudF.\  
struts.velocity.manager.classname f(zuRM^5  
      org.apache.struts2.views.velocity.VelocityManager implementation class dzk?Zg  
      org.apache.struts2.views.velocity.VelocityManager接口名 pB{ f-M:D  
+LU).  
struts.velocity.toolboxlocation eQ4B5B%j/x  
      The location of the Velocity toolbox ~"hAb2  
      velocity工具盒的位置 ^{:[^$f:l  
struts.xslt.nocache ,m_&eF  
      Whether or not XSLT templates should not be cached +O%a:d%  
      是否XSLT模版应该被缓存 !'UsC6Y4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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