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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `ir3YnT+  
2EQ 6J  
struts.action.extension "s W-_j]  
      The URL extension to use to determine if the request is meant for a Struts action 3`9{T>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 wHz?#MW 3L  
@|bP+8oU  
struts.configuration g|PC$p-z+  
      The org.apache.struts2.config.Configuration implementation class 0f ER*.F  
        org.apache.struts2.config.Configuration接口名 F{k+7Ftc  
Dj-s5pAW  
struts.configuration.files [%HIbw J  
      A list of configuration files automatically loaded by Struts ,]R8(bD)  
      struts自动加载的一个配置文件列表 3E} An%  
8:ggECD  
struts.configuration.xml.reload us?&:L|!=  
      Whether to reload the XML configuration or not 4n 3Tp{Y}  
      是否加载xml配置(true,false) x}fn 'iUnm  
OLq 0V3m  
struts.continuations.package B68H&h]D#'  
      The package containing actions that use Rife continuations 4{9d#[KW  
      含有actions的完整连续的package名称 >5~7u\#9  
]T O/kl/  
struts.custom.i18n.resources `=tyN@VC  
      Location of additional localization properties files to load 8YY|;\F)J~  
      加载附加的国际化属性文件(不包含.properties后缀)  \d.F82  
Al)$An-  
struts.custom.properties TOl}U  
      Location of additional configuration properties files to load YHxbDf dA  
      加载附加的配置文件的位置 #nyv+x;  
j{#Wn !,  
'p)Q68;&  
struts.devMode =4C}{IL  
      Whether Struts is in development mode or not j'Y / H5  
      是否为struts开发模式 Ex@`O+  
tP ~zKU  
struts.dispatcher.parametersWorkaround 3bC yTZk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }{7e7tW6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #*q2d  
s #:%x#  
struts.enable.DynamicMethodInvocation c yQ(fIYl  
      Allows one to disable dynamic method invocation from the URL !J>A,D"-  
        允许动态方法调用 \hk/1/siyF  
[2$4|;7  
struts.freemarker.manager.classname /<)-q-W;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class n1(?|aJ#1  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (VHND%7P  
;##]G=%  
struts.i18n.encoding lXrD!1F  
      The encoding to use for localization messages T!q_/[i~7  
      国际化信息内码 "#^MUQ!a  
Dxx;v.$  
struts.i18n.reload 5?u[XAE  
      Whether the localization messages should automatically be reloaded p(3sgY1  
      是否国际化信息自动加载 _[Gb)/@mM  
' |K.k6  
struts.locale ka7uK][  
      The default locale for the Struts application e]W0xC-  
      默认的国际化地区信息 ?z`MPdO  
2@@l{Y0f6  
struts.mapper.class 4yV].2#rl"  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \,W.0#D8v4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 A-E+s~U8  
<3 @}Lj  
struts.multipart.maxSize $7gB_o$zz  
      The maximize size of a multipart request (file upload) I{.HO<$7D}  
      multipart请求信息的最大尺寸(文件上传用) Uf,fX/:!  
J2Et-Cz1  
struts.multipart.parser (*^DN{5  
      The org.apache.struts2.dispatcher.multipart. +Tak de%~  
      MultiPartRequest parser implementation for a multipart request (file upload) ]Bu DaxWN  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %&] 1FhL  
p]LnE `v  
)y50Mb0+  
struts.multipart.saveDir &H;8QZ8uw  
      The directory to use for storing uploaded files `bgb*Yaod  
      设置存储上传文件的目录夹 ;i)KHj'  
2/Nq'  
struts.objectFactory @h-T:$  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9{J?HFw*;  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Cyk s  
'Tf9z+0;  
struts.objectFactory.spring.autoWire _'iDF  
      Whether Spring should autoWire or not HFh /$VM  
      是否自动绑定Spring l)}t,!M6  
 b;vNq  
struts.objectFactory.spring.useClassCache /5a;_  
      Whether Spring should use its class cache or not tjzA)/T,4  
      是否spring应该使用自身的cache }OKL z.5  
XCPb9<L  
struts.objectTypeDeterminer '"O&J}s;  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T&}Ye\%  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 V:^H4WvL\W  
9`X&,S~e  
struts.serve.static.browserCache ZxSsR{  
If static content served by the Struts filter should set browser caching header properties or not Bhuw(KeB  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8]*Q79  
=y;@?=T  
struts.serve.static 19y 0$e_V  
      Whether the Struts filter should serve static content or not OXtBJYe  
      是否struts过滤器应该提供静态内容 B3b,F#  
`ut)+T V  
struts.tag.altSyntax }brr ) )  
      Whether to use the alterative syntax for the tags or not _ VKgs]Y  
      是否可以用替代的语法替代tags edN8-P(  
z-Hkz  
struts.ui.templateDir (&Q)EBdm  
      The directory containing UI templates H1UL.g%d=  
      UI templates的目录夹 Z`xyb>$  
gduxA/aT  
struts.ui.theme |HgfV@Han  
      The default UI template theme oS!/|#m n  
      默认的UI template主题 S:97B\ u`  
D0%FELG05  
struts.url.http.port *,jqE9:O  
      The HTTP port used by Struts URLs  # eEvF  
      设置http端口 y9 uVCR  
i7v/A&Rc  
struts.url.https.port ~= 9V v  
      The HTTPS port used by Struts URLs 02M7gBS  
      设置https端口 &t[|%c*D&  
gH H&IzHF  
struts.url.includeParams TNsg pJ?\  
      The default includeParams method to generate Struts URLs b+$o4 l/x  
      在url中产生 默认的includeParams  Ec.)!Hu  
+FBi5h  
aJQXJ,>Lv  
struts.velocity.configfile # ITLz!g E  
      The Velocity configuration file path s>J3\PC  
      velocity配置文件路径 ;GQm[W([  
Oy'0I,  
struts.velocity.contexts _W+Q3Jx-(  
      List of Velocity context names $~o3}&az  
      velocity的context列表 ^Ezcy?  
R<j<. h  
N l|^o{#  
struts.velocity.manager.classname z|%Bh  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0~i qG  
      org.apache.struts2.views.velocity.VelocityManager接口名 a@k.$  
,lP7 ri  
struts.velocity.toolboxlocation #Y: ~UVV  
      The location of the Velocity toolbox U,ELqi\  
      velocity工具盒的位置 %JaE4&  
struts.xslt.nocache 8>v7v&Bh|  
      Whether or not XSLT templates should not be cached !h/dZ`#  
      是否XSLT模版应该被缓存 % &+|==-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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