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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `It3X.^}  
{tUxRX  
struts.action.extension qb +Gjgp  
      The URL extension to use to determine if the request is meant for a Struts action Z |<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [BFPIVD)h]  
4oN*J +"=+  
struts.configuration m[tsG=XBN  
      The org.apache.struts2.config.Configuration implementation class TnJNs  
        org.apache.struts2.config.Configuration接口名 cnj32H^+  
D/puK  
struts.configuration.files [m(n-Mu F  
      A list of configuration files automatically loaded by Struts m=V69 a#  
      struts自动加载的一个配置文件列表 hSG1f`  
o`{^ptu1q  
struts.configuration.xml.reload tfVlIY<  
      Whether to reload the XML configuration or not O T .bXr~  
      是否加载xml配置(true,false) )jm!^m  
H Yw7*  
struts.continuations.package ;jFUtG  
      The package containing actions that use Rife continuations d t^Hd]+^\  
      含有actions的完整连续的package名称 MC%!>,tC  
*`V r P  
struts.custom.i18n.resources HEF\TH9  
      Location of additional localization properties files to load !%/(a)B$^$  
      加载附加的国际化属性文件(不包含.properties后缀) mLDuizWI  
?s[!JeUA  
struts.custom.properties -AwkP  
      Location of additional configuration properties files to load \Yr&vX/[p  
      加载附加的配置文件的位置 $~NB .SY  
=" pNE#  
.GIygU_  
struts.devMode pV/5w<_x?  
      Whether Struts is in development mode or not `IJTO_  
      是否为struts开发模式 6yd?xeD  
=,Z5F`d4  
struts.dispatcher.parametersWorkaround H Em XB=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic EXti  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ys8D|HIk  
uLrZl0%HT~  
struts.enable.DynamicMethodInvocation >9t+lr1   
      Allows one to disable dynamic method invocation from the URL a"phwCc"%  
        允许动态方法调用 Z5,"KhB]  
JdX!#\O  
struts.freemarker.manager.classname x]vyt}oCmk  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Q$A;Fk}-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 YqYobL*q/  
k\A4sj  
struts.i18n.encoding &<t`EI];)4  
      The encoding to use for localization messages B* k|NZj  
      国际化信息内码 ,D\}DJ`)C  
8}?w %FsN#  
struts.i18n.reload {VKP&{~O  
      Whether the localization messages should automatically be reloaded fr8hT(,s)  
      是否国际化信息自动加载 90gKGyxF  
g:Fo7*i  
struts.locale B !Z~jT  
      The default locale for the Struts application fK+[r1^  
      默认的国际化地区信息 UD^=@?^7  
]s` cn}d  
struts.mapper.class L[MAc](me-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Kc+TcC  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C^*}*hYk$  
Iy Vmz'  
struts.multipart.maxSize  %9_jF"  
      The maximize size of a multipart request (file upload) `Wp y6o  
      multipart请求信息的最大尺寸(文件上传用) "MgTfUIiyD  
+5H1n(6)  
struts.multipart.parser @m9dB P  
      The org.apache.struts2.dispatcher.multipart. xOKf|  
      MultiPartRequest parser implementation for a multipart request (file upload)  ,<U  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~>rn q7j  
Y/qs\c+  
nBzju?X)I  
struts.multipart.saveDir *OHaqe(*  
      The directory to use for storing uploaded files _cd=PZhI  
      设置存储上传文件的目录夹 WTUC\}#E\  
/m h #o  
struts.objectFactory /<CgSW}  
      The com.opensymphony.xwork2.ObjectFactory implementation class J['i  
      com.opensymphony.xwork2.ObjectFactory接口(spring) OD).kP}s^  
q=;U(,Y  
struts.objectFactory.spring.autoWire wa$Q8/  
      Whether Spring should autoWire or not Sb?HRoe_  
      是否自动绑定Spring 'y|p)r"  
!XT2'6nu  
struts.objectFactory.spring.useClassCache B X Et]+Q  
      Whether Spring should use its class cache or not Mi7LyIu  
      是否spring应该使用自身的cache 2]+f<Z[/  
!~te&ccPE  
struts.objectTypeDeterminer .{"wliC2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #f }ORA  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _o?[0E  
j~#v*qmDU  
struts.serve.static.browserCache h:4F?'W  
If static content served by the Struts filter should set browser caching header properties or not wPr!.:MF  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5N$O  
4td9=dNA+l  
struts.serve.static ~U1M -<IX  
      Whether the Struts filter should serve static content or not i(0%cNP7  
      是否struts过滤器应该提供静态内容 7a4h7/  
sg4TX?I   
struts.tag.altSyntax $8fJDN  
      Whether to use the alterative syntax for the tags or not ~-#8j3 J;  
      是否可以用替代的语法替代tags Ev,b5KelD  
tWA<OOl  
struts.ui.templateDir J@o$V- KK  
      The directory containing UI templates A<[BR*n  
      UI templates的目录夹 +%)bd  
>44,Dp]  
struts.ui.theme i=\`f& B  
      The default UI template theme k<k@Tlo  
      默认的UI template主题 M`,`2I A  
kNv/L $oG  
struts.url.http.port zUz j F  
      The HTTP port used by Struts URLs %dq |)r  
      设置http端口 *q0vp^?  
 |I s"ov  
struts.url.https.port +H "j-:E@t  
      The HTTPS port used by Struts URLs Us4#O&  
      设置https端口 o=Ia{@   
$zJ!L  
struts.url.includeParams !Er)|YP  
      The default includeParams method to generate Struts URLs 6yedl0@wa!  
      在url中产生 默认的includeParams )\QPUdOvx  
B\6%.R  
rWN%Tai-  
struts.velocity.configfile Gr !@ih^  
      The Velocity configuration file path mZ#h p}\.  
      velocity配置文件路径 aa/_:V@$~  
ApqNV  
struts.velocity.contexts $DhW=(YM_a  
      List of Velocity context names !]=S A &  
      velocity的context列表 P/T`q:<H   
SVqKG+{My  
5@`dKFB5  
struts.velocity.manager.classname "eR-(c1  
      org.apache.struts2.views.velocity.VelocityManager implementation class e6_`  
      org.apache.struts2.views.velocity.VelocityManager接口名 RBV*e9P%  
& eWnS~hJ  
struts.velocity.toolboxlocation \>c1Z5H>  
      The location of the Velocity toolbox  ].3@ Dk  
      velocity工具盒的位置 jF|LPWl  
struts.xslt.nocache -5<G^AS  
      Whether or not XSLT templates should not be cached UaM&/K9  
      是否XSLT模版应该被缓存 Nuc2CB)J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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