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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 H;"4 C8K7  
h yIV.W/  
struts.action.extension [-x7_=E#  
      The URL extension to use to determine if the request is meant for a Struts action k;W XB|k  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `H+ lPM66  
oL<St$1  
struts.configuration KY^Z  
      The org.apache.struts2.config.Configuration implementation class "wc<B4"  
        org.apache.struts2.config.Configuration接口名 2Z%O7V~u  
IVmo5,&5(  
struts.configuration.files yCo.cd-  
      A list of configuration files automatically loaded by Struts 6w77YTJ  
      struts自动加载的一个配置文件列表 *z2s$EZ  
@%SQFu@FJ  
struts.configuration.xml.reload W_ ZJ0GuE(  
      Whether to reload the XML configuration or not @o.I;}*N  
      是否加载xml配置(true,false) z?//rXuO  
UCWBYC+  
struts.continuations.package Ir]\|t  
      The package containing actions that use Rife continuations S,=|AD  
      含有actions的完整连续的package名称 M3Kfd  
b`_Q8 J  
struts.custom.i18n.resources FgO)DQm  
      Location of additional localization properties files to load _vZOZKS+  
      加载附加的国际化属性文件(不包含.properties后缀) IGN1gs  
B/C,.?Or  
struts.custom.properties -F>jIgeC2v  
      Location of additional configuration properties files to load I}Q2Vu<  
      加载附加的配置文件的位置 T9&1VW  
wQLSf{2  
DTs;{c  
struts.devMode +/\6=).\  
      Whether Struts is in development mode or not ']oQ]Yx0  
      是否为struts开发模式 {>;R?TG]$  
.|=\z9_7S8  
struts.dispatcher.parametersWorkaround &.ACd+Cd  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <-0]i_4sK  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 92-I~ !d  
{XHh8_ ^&  
struts.enable.DynamicMethodInvocation PaN"sf  
      Allows one to disable dynamic method invocation from the URL N uI9iU  
        允许动态方法调用 QCJM&  
oXS}IL og'  
struts.freemarker.manager.classname H[|~/0?K  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?1".;foZ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _XT pU  
/7LR;>Bj  
struts.i18n.encoding -^wl>}#*T3  
      The encoding to use for localization messages =Runf +}  
      国际化信息内码 |&jXp%4T  
w=@Dv  
struts.i18n.reload YoE3<[KD(  
      Whether the localization messages should automatically be reloaded JN6B~ZNf  
      是否国际化信息自动加载 'm9` 12 H  
uVU)d1N  
struts.locale zn(PI3+]!  
      The default locale for the Struts application Ct|A:/z(  
      默认的国际化地区信息 A70d\i  
`,0}ZzaV&  
struts.mapper.class tI{_y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class y!%CffF2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?hM64jI|  
/Q )\+  
struts.multipart.maxSize j~QwV='S  
      The maximize size of a multipart request (file upload) A(N4N  
      multipart请求信息的最大尺寸(文件上传用) \di=  
R GX=)  
struts.multipart.parser c"xK`%e  
      The org.apache.struts2.dispatcher.multipart. yppo6HGD  
      MultiPartRequest parser implementation for a multipart request (file upload) $7uA%|\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) HorDNRyu  
p<;0g9,1  
,Lt[\_  
struts.multipart.saveDir iyog`s c  
      The directory to use for storing uploaded files 39jG8zr=Z[  
      设置存储上传文件的目录夹 -{+}@?  
w*MpX U<  
struts.objectFactory wdZ/Xp9]  
      The com.opensymphony.xwork2.ObjectFactory implementation class #89!'W  
      com.opensymphony.xwork2.ObjectFactory接口(spring) =rK+eG#,  
KY N0  
struts.objectFactory.spring.autoWire E~:x(5'%d  
      Whether Spring should autoWire or not jA/w|\d!  
      是否自动绑定Spring D,ln)["xm  
Q3SS/eNP  
struts.objectFactory.spring.useClassCache Y4(  
      Whether Spring should use its class cache or not K4);HJ|=  
      是否spring应该使用自身的cache 8x{'@WCG%  
bYPKh  
struts.objectTypeDeterminer Ic4H#w  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .>nRzgo  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8sCv]|cn  
sT' 5%4  
struts.serve.static.browserCache ]0\MmAJRn  
If static content served by the Struts filter should set browser caching header properties or not O| hpXkV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +'w3 =2Bo  
wa3}SB  
struts.serve.static uM'Jp?  
      Whether the Struts filter should serve static content or not  rXU\  
      是否struts过滤器应该提供静态内容 DFTyMB1H  
\^%}M!tan  
struts.tag.altSyntax <d_!mKw  
      Whether to use the alterative syntax for the tags or not @OHm#`~  
      是否可以用替代的语法替代tags :a)u&g@G  
Oc; G(l(  
struts.ui.templateDir I!?}jo3  
      The directory containing UI templates &! ?eL  
      UI templates的目录夹 +d;bjo 2  
PiYxk+N  
struts.ui.theme 1sH& sGy7  
      The default UI template theme V$?SR44>nH  
      默认的UI template主题 8&aq/4:q0  
J)C/u{o  
struts.url.http.port K96<M);:g  
      The HTTP port used by Struts URLs !0cD$^7  
      设置http端口 "-J -k=  
?I@W:#>o  
struts.url.https.port XSl GE9]AG  
      The HTTPS port used by Struts URLs bY0|N[ g  
      设置https端口 puM3g|n@  
RdML3E  
struts.url.includeParams ;d9QAN&0}  
      The default includeParams method to generate Struts URLs D5HZ2cz|a  
      在url中产生 默认的includeParams "FKOaQ%IH  
^v`\x5"Vp  
W{gb:^;zb  
struts.velocity.configfile 6i~WcAs  
      The Velocity configuration file path e)O 4^#i  
      velocity配置文件路径 |H+Wed|  
k)Qtfj}uij  
struts.velocity.contexts 680o)hh4m>  
      List of Velocity context names :Z z '1C  
      velocity的context列表 N*&1GT#9  
xK\d4 "  
e@OX_t_  
struts.velocity.manager.classname 9 |vLwQ  
      org.apache.struts2.views.velocity.VelocityManager implementation class \} :PLCKT  
      org.apache.struts2.views.velocity.VelocityManager接口名 *=7U4W  
,nB5/Lx  
struts.velocity.toolboxlocation tC9n k5~  
      The location of the Velocity toolbox g'qa}/X  
      velocity工具盒的位置 N' `A?&2ru  
struts.xslt.nocache cpJ|w3x B  
      Whether or not XSLT templates should not be cached 7x4PaX(  
      是否XSLT模版应该被缓存 t1y4 7fX6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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