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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 RiY9[ec2  
i8\&J.  
struts.action.extension Tjfg[Z/x  
      The URL extension to use to determine if the request is meant for a Struts action LyRU2A  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $cxulcay=  
ecoi4f  
struts.configuration i+2fWi6Z+  
      The org.apache.struts2.config.Configuration implementation class -xc*R%k  
        org.apache.struts2.config.Configuration接口名 B|~tW21  
{q[l4_  
struts.configuration.files `Eijy3>h  
      A list of configuration files automatically loaded by Struts T w!]N%E  
      struts自动加载的一个配置文件列表 >0W:snNK  
o<hT/ P  
struts.configuration.xml.reload u7oHqo`  
      Whether to reload the XML configuration or not dsx'l0q 'i  
      是否加载xml配置(true,false) VZ`L-P$AF  
I?l%RdGW  
struts.continuations.package Jv|uI1V  
      The package containing actions that use Rife continuations F3aOKV^  
      含有actions的完整连续的package名称 a5v}w7vL  
TfD]`v`]   
struts.custom.i18n.resources aP%2CP~_P  
      Location of additional localization properties files to load rHir> p  
      加载附加的国际化属性文件(不包含.properties后缀) iG\ ]  
dA`.  
struts.custom.properties D]H@Sx  
      Location of additional configuration properties files to load U9d0nj9 j  
      加载附加的配置文件的位置 W3XVr&  
[/s^(2%  
vgc #IEx@  
struts.devMode B>hC8^.S|w  
      Whether Struts is in development mode or not 8Rgvb3u  
      是否为struts开发模式 (o!v,=# 6{  
],lrT0_cT  
struts.dispatcher.parametersWorkaround t(O{IUYM  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `kn 'RZR  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oJcDs-!  
.o(XnY)cgJ  
struts.enable.DynamicMethodInvocation C6=P(%y  
      Allows one to disable dynamic method invocation from the URL (8(7:aE $  
        允许动态方法调用 Hl,.6 >F?  
H8V${&!ho  
struts.freemarker.manager.classname _%M5 T  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7fVlA"x  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 hP=^JH  
6^vMJ82U  
struts.i18n.encoding JF%eC}[d  
      The encoding to use for localization messages I.[2-~yf  
      国际化信息内码 D;pfogK @  
gy Jx>i  
struts.i18n.reload 5Av bKT  
      Whether the localization messages should automatically be reloaded !$/1Q+  
      是否国际化信息自动加载 /AJ#ngXz  
/'V(F* g  
struts.locale ,cbCt  
      The default locale for the Struts application HC4vet  
      默认的国际化地区信息 "k)}qI{  
Osb#<9{}  
struts.mapper.class :u%Jrc (W  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4,8=0[eRG  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 N3D{t\hg  
h|=<I)}z  
struts.multipart.maxSize X=i^[?C  
      The maximize size of a multipart request (file upload) e/pZLj]M  
      multipart请求信息的最大尺寸(文件上传用) tevB2'3^  
i'GBj,:  
struts.multipart.parser 0Q81$% @<  
      The org.apache.struts2.dispatcher.multipart. rOt`5_2f  
      MultiPartRequest parser implementation for a multipart request (file upload) >vDa`|g  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) :^c ' P<HM  
#J 1vN]g  
wABaNB=9;  
struts.multipart.saveDir h L 1q9%  
      The directory to use for storing uploaded files cs]N%M^s  
      设置存储上传文件的目录夹 O F$0]V  
[Yo3=(7J  
struts.objectFactory j.? '*?P  
      The com.opensymphony.xwork2.ObjectFactory implementation class AY{-Hf&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9~bl  
E8[{U8)[;5  
struts.objectFactory.spring.autoWire K%Dksx7ow  
      Whether Spring should autoWire or not i+x$Y)=  
      是否自动绑定Spring F/MzrK\':m  
&+@~;p 5F  
struts.objectFactory.spring.useClassCache f`zH#{u  
      Whether Spring should use its class cache or not  Q.3oDq  
      是否spring应该使用自身的cache Q&zEa0^rG6  
gnW]5#c@  
struts.objectTypeDeterminer c-|~ABtEpX  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8VbHZ9Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 AS 5\X.%L*  
_|VWf8?\  
struts.serve.static.browserCache *Y4h26  
If static content served by the Struts filter should set browser caching header properties or not I9sx*'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |T!^&t  
9ANC,+0p  
struts.serve.static aq'd C=y  
      Whether the Struts filter should serve static content or not ikr|P&e#u  
      是否struts过滤器应该提供静态内容 8db J'  
@8IY J{=  
struts.tag.altSyntax tY?_#rc  
      Whether to use the alterative syntax for the tags or not q|*}>=NX  
      是否可以用替代的语法替代tags jwm2ZJW  
28 h3Ayw4  
struts.ui.templateDir XS$5TNI  
      The directory containing UI templates  U>0' K3_  
      UI templates的目录夹 80PlbUBb!  
9.<dS  
struts.ui.theme c$X0C&m  
      The default UI template theme BXNt@%  
      默认的UI template主题 >d.o1<  
``%uq)G=D  
struts.url.http.port W<J".2D  
      The HTTP port used by Struts URLs AJ0qq  
      设置http端口 [x`trypg  
l[KFK%?  
struts.url.https.port Y)?dq(  
      The HTTPS port used by Struts URLs "`b"PQ<x  
      设置https端口 n5nV4 61U  
@,Je*5$o"  
struts.url.includeParams s[ {L.9Y  
      The default includeParams method to generate Struts URLs _{.=zv|3  
      在url中产生 默认的includeParams 5hNjJqu  
1J}i :i&  
x?hdC)#DWI  
struts.velocity.configfile d2b  L_  
      The Velocity configuration file path Vb${Oy+  
      velocity配置文件路径 ]SNA2?q  
Mx ?{[zT"  
struts.velocity.contexts Yzr RnVr  
      List of Velocity context names PUMh#^g}  
      velocity的context列表 5k0r{^#M  
l?>sLKo9  
/u9Md3q*'  
struts.velocity.manager.classname v3b[08 F  
      org.apache.struts2.views.velocity.VelocityManager implementation class R<}WNZl  
      org.apache.struts2.views.velocity.VelocityManager接口名 E0K'|*  
<E2+P,Lgw  
struts.velocity.toolboxlocation 4@,d{qp~  
      The location of the Velocity toolbox Y{].%xM5  
      velocity工具盒的位置 {`Ekv/XWa  
struts.xslt.nocache yY,O=yOjq  
      Whether or not XSLT templates should not be cached ("2ukHc  
      是否XSLT模版应该被缓存 l,FK\  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八