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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tVQq,_9C  
| KtI:n4d  
struts.action.extension IVSOSl|  
      The URL extension to use to determine if the request is meant for a Struts action C(CwsdlP  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UOIB}ut V  
56w uk [)  
struts.configuration W {A4*{  
      The org.apache.struts2.config.Configuration implementation class J4?i\wD:  
        org.apache.struts2.config.Configuration接口名 Ls<^z@I  
\!LIqqX  
struts.configuration.files /U26IbJ  
      A list of configuration files automatically loaded by Struts )iX2r{  
      struts自动加载的一个配置文件列表 U}T{r%9  
moS0y?N  
struts.configuration.xml.reload z@I'Ryalyc  
      Whether to reload the XML configuration or not tNoPpIu  
      是否加载xml配置(true,false) CiWz>HWH  
?7=c `  
struts.continuations.package 4SVIdSA  
      The package containing actions that use Rife continuations j%+>y;).  
      含有actions的完整连续的package名称 @*Tql:Qcd^  
ylm # Xa  
struts.custom.i18n.resources 3 C{A  
      Location of additional localization properties files to load HK NT. a  
      加载附加的国际化属性文件(不包含.properties后缀) gFpub_  
"?%2`*\  
struts.custom.properties TB}6iIe  
      Location of additional configuration properties files to load  T<oDLJA\  
      加载附加的配置文件的位置 S-'R84M,F  
mF:Pplf<  
+Jm~Um!  
struts.devMode NC%96gfD  
      Whether Struts is in development mode or not +Tt.5>N  
      是否为struts开发模式 zfrNM9C  
}1 ,\ *)5  
struts.dispatcher.parametersWorkaround E/V_gci  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @AtJO>w  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ZJe^MnE (G  
`=V p 0tPI  
struts.enable.DynamicMethodInvocation EDT9O  
      Allows one to disable dynamic method invocation from the URL z~"Q_gme  
        允许动态方法调用 5G2G<[p5oQ  
j*\oK@  
struts.freemarker.manager.classname 40%fOu,u`  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qxB|*P `  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 gLm,;'h%u  
3{)!T;Wd  
struts.i18n.encoding ?;VsA>PV  
      The encoding to use for localization messages +=:_a$98  
      国际化信息内码 nz|6CP  
e@Mg9VwDc  
struts.i18n.reload Yt[LIn-v:  
      Whether the localization messages should automatically be reloaded b)eoFc)lc  
      是否国际化信息自动加载 1etT."  
9(3]t}J5 d  
struts.locale ZIN1y;dJ  
      The default locale for the Struts application ,eGguNA9  
      默认的国际化地区信息 GKc?  
<?nz>vz  
struts.mapper.class kXV;J$1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +E^2]F7Zk  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 vHZq z<  
H#i,Ve '  
struts.multipart.maxSize C7O8B;  
      The maximize size of a multipart request (file upload) N5c*#lHI  
      multipart请求信息的最大尺寸(文件上传用) 0!-'4+"  
X J`*dgJ  
struts.multipart.parser  zo1T`"Y  
      The org.apache.struts2.dispatcher.multipart. inY_cn?  
      MultiPartRequest parser implementation for a multipart request (file upload) X%mga~fB  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %~I&T". iC  
|8pSMgN  
denxcDFu/~  
struts.multipart.saveDir uI$n7\G!  
      The directory to use for storing uploaded files NN#k^[i1  
      设置存储上传文件的目录夹 4> uNH5  
IQ$!y,VJ  
struts.objectFactory c2t`i  
      The com.opensymphony.xwork2.ObjectFactory implementation class R#3zGWr~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3?K+wg s  
6cd!;Ca  
struts.objectFactory.spring.autoWire A!,c@Kv 3  
      Whether Spring should autoWire or not zMRa <G7  
      是否自动绑定Spring N5{v;~Cm}V  
tm/=Oc1p  
struts.objectFactory.spring.useClassCache Td ade+  
      Whether Spring should use its class cache or not t>Ye*eR*`U  
      是否spring应该使用自身的cache ?N<,;~  
4[i 3ckFT,  
struts.objectTypeDeterminer ~j>yQ%[v  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9N `WT=  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {+zG.1o^  
V:#rY5X  
struts.serve.static.browserCache gg.]\#3g  
If static content served by the Struts filter should set browser caching header properties or not oP`:NCj\9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 <THw l/a  
6fo\ z2  
struts.serve.static @  R[K8  
      Whether the Struts filter should serve static content or not `*cqT  
      是否struts过滤器应该提供静态内容 j85B{Mab&  
m 62Zta  
struts.tag.altSyntax w[F})u]E  
      Whether to use the alterative syntax for the tags or not 8nn g^  
      是否可以用替代的语法替代tags =/}Rnl+c  
!ui t  
struts.ui.templateDir oKYa ?  
      The directory containing UI templates 8o[gzW:Q)U  
      UI templates的目录夹 'Kk/ J+6U  
>;XtJJS  
struts.ui.theme [ :)F-  
      The default UI template theme "f8,9@  
      默认的UI template主题 hP8w3gl_  
^, YTQ.O  
struts.url.http.port >-\^)z  
      The HTTP port used by Struts URLs sBYDo{0 1  
      设置http端口 JN:L%If  
@D=B5f@(o  
struts.url.https.port k>F!S`a&m  
      The HTTPS port used by Struts URLs 2Y%7.YX"  
      设置https端口 lX%-oRQ/os  
sVr|kvn2  
struts.url.includeParams KAXjvZN1  
      The default includeParams method to generate Struts URLs L){V(*K '  
      在url中产生 默认的includeParams xe^M2$clb\  
F53 .g/[  
Z'`\N@c#  
struts.velocity.configfile <p CD>  
      The Velocity configuration file path p6NPWaBR  
      velocity配置文件路径 Y# I8gzv  
yZ{N$ch5b  
struts.velocity.contexts H\V?QDn  
      List of Velocity context names ? A;RTM  
      velocity的context列表 O:8 u^ TP  
o2B|r`R  
C+P.7]?&  
struts.velocity.manager.classname rHjDf[5+  
      org.apache.struts2.views.velocity.VelocityManager implementation class .?rs5[th*  
      org.apache.struts2.views.velocity.VelocityManager接口名 'zav%}b]L  
+'SL5d*  
struts.velocity.toolboxlocation 8G3 Z,8P4(  
      The location of the Velocity toolbox 1) K<x  
      velocity工具盒的位置 x${C[gxq9F  
struts.xslt.nocache L-)ZjXzk  
      Whether or not XSLT templates should not be cached &OZx!G^Z  
      是否XSLT模版应该被缓存 :-#7j} R&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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