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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 q@1xYz:J  
KxDp+]N]  
struts.action.extension Cv [1HO<  
      The URL extension to use to determine if the request is meant for a Struts action e-#V s{?|r  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /@&#U bN\  
sgRWjrc/  
struts.configuration a%5/Oc[[  
      The org.apache.struts2.config.Configuration implementation class + ]iK^y-.r  
        org.apache.struts2.config.Configuration接口名 }ld^zyL  
$g),|[ x+(  
struts.configuration.files `pF7B6[B  
      A list of configuration files automatically loaded by Struts Yr[& *>S  
      struts自动加载的一个配置文件列表 i&{%} ==7  
L_o/fTz4  
struts.configuration.xml.reload =MT'e,T  
      Whether to reload the XML configuration or not '$ [%x  
      是否加载xml配置(true,false) =|dHD  
k 7:Z\RGy  
struts.continuations.package U+zntB  
      The package containing actions that use Rife continuations R2JPLvs  
      含有actions的完整连续的package名称 J$lfI^^  
%M:$ML6b<  
struts.custom.i18n.resources w~yC^`  
      Location of additional localization properties files to load zbgGK7  
      加载附加的国际化属性文件(不包含.properties后缀) ]E6r )C  
f~7V<v  
struts.custom.properties k8r1)B4ab  
      Location of additional configuration properties files to load RFX{]bQp9  
      加载附加的配置文件的位置 (T%Ue2zlY  
$hMD6<e  
Cj$:TWYIh[  
struts.devMode dsH*9t:z  
      Whether Struts is in development mode or not TFAR>8Nm  
      是否为struts开发模式 VfozqUf  
'8[; m_S  
struts.dispatcher.parametersWorkaround ("{"8   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wB&5q!{!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q>71uM%e`  
BGHZL~  
struts.enable.DynamicMethodInvocation BWNI|pq)v  
      Allows one to disable dynamic method invocation from the URL SM8_C!h:  
        允许动态方法调用 >GLoeCRNu  
cICf V,j  
struts.freemarker.manager.classname <@Vf:`a!P>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class J4@-?xj=\q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 E^$8nqCL:  
=- ,'LOE  
struts.i18n.encoding =T\=,B  
      The encoding to use for localization messages wJ7^)tTRF  
      国际化信息内码 ~@(C+3,  
Dt{WRe\#  
struts.i18n.reload (L yKo  
      Whether the localization messages should automatically be reloaded K)5j  
      是否国际化信息自动加载 aNA ]hl  
E^Q J50  
struts.locale q^?a|l  
      The default locale for the Struts application tzv4uD]  
      默认的国际化地区信息 _GrifGU\  
vn!3Z!dm(  
struts.mapper.class jw`05rw:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class DEbMb6)U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 PQa0m)H@  
dFA1nn6{  
struts.multipart.maxSize sN2m?`?"G  
      The maximize size of a multipart request (file upload) [ D.%v~j  
      multipart请求信息的最大尺寸(文件上传用) C!ch !E#  
k/sfak{Q  
struts.multipart.parser LNyrIk/1  
      The org.apache.struts2.dispatcher.multipart. tP"6H-)X&  
      MultiPartRequest parser implementation for a multipart request (file upload) %M))Ak4 ~a  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (w:,iw#  
>239SyC-,  
boHbiE  
struts.multipart.saveDir Js vdC]+  
      The directory to use for storing uploaded files lcy<taNu)  
      设置存储上传文件的目录夹 '#h ORQB  
Ow.DBL)x'>  
struts.objectFactory r/HTkXs I  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5+;Mc[V3-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) IvlfX`("  
jM @N<k  
struts.objectFactory.spring.autoWire 5[4nFa}R:5  
      Whether Spring should autoWire or not C ocw%Yl  
      是否自动绑定Spring 79D~Mau#  
t 7o4 aBl"  
struts.objectFactory.spring.useClassCache 1U/RMN3`  
      Whether Spring should use its class cache or not )RT?/NW  
      是否spring应该使用自身的cache ([}08OW@  
x)GheM^  
struts.objectTypeDeterminer zBu@a:E%H  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &0tW{-Hv"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 nj1o!+9>$  
^g5E&0a`g  
struts.serve.static.browserCache 0zkMRBe  
If static content served by the Struts filter should set browser caching header properties or not 8A.7q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 EmR82^_:  
d~QM@<SV  
struts.serve.static C=]<R< Xy  
      Whether the Struts filter should serve static content or not >TY;l3ew  
      是否struts过滤器应该提供静态内容 _> x}MW+  
0y+^{@lU  
struts.tag.altSyntax G"OP`OMDc  
      Whether to use the alterative syntax for the tags or not b9m`y*My  
      是否可以用替代的语法替代tags d9BFeq8  
o-7{\%+M  
struts.ui.templateDir s\pukpf@  
      The directory containing UI templates p6K~b  
      UI templates的目录夹 6ulx0$[  
K@{0]6  
struts.ui.theme dH PvVe/  
      The default UI template theme nc\`y,>l8  
      默认的UI template主题 Wbei{3~$Y"  
8'jt59/f  
struts.url.http.port 0<a|=kZ  
      The HTTP port used by Struts URLs 2l+L96  
      设置http端口 d}':7Np  
nq8XVT.m^\  
struts.url.https.port ()bQmNqmO=  
      The HTTPS port used by Struts URLs 2#sFY/@  
      设置https端口 [DH4iG5  
pGjwI3_K  
struts.url.includeParams , ?U)mYhI  
      The default includeParams method to generate Struts URLs NsP=l]  
      在url中产生 默认的includeParams \Ta5c31S+  
PJ0~ymE1~G  
EJ#I7_  
struts.velocity.configfile q,O_y<uw  
      The Velocity configuration file path KFwuz()7  
      velocity配置文件路径 yxHo0U  
rDhQ3iCqo  
struts.velocity.contexts ?]$<Ufr  
      List of Velocity context names eZqEFMBTm  
      velocity的context列表 ZY]$MZf5yo  
_,)_(R ,h  
E+qLj|IU  
struts.velocity.manager.classname GDSXBa*7  
      org.apache.struts2.views.velocity.VelocityManager implementation class 1W{oj  
      org.apache.struts2.views.velocity.VelocityManager接口名 J8p;1-C"  
5WJ ~%"O  
struts.velocity.toolboxlocation ndzADVP  
      The location of the Velocity toolbox $wp>2  
      velocity工具盒的位置 )9_W"'V  
struts.xslt.nocache xc 1d[dCdp  
      Whether or not XSLT templates should not be cached "aF2:E'  
      是否XSLT模版应该被缓存 WoN},oT[i  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八