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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 cyd_xB5K  
c9H6\&  
struts.action.extension (Q `Ps /  
      The URL extension to use to determine if the request is meant for a Struts action BuM #&]s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]Y?ZUSCJ  
mT j  
struts.configuration TgRG6?#^l  
      The org.apache.struts2.config.Configuration implementation class 2,|@a\H  
        org.apache.struts2.config.Configuration接口名 dj,lbUL  
K;`*n7=IA  
struts.configuration.files Cx) N;x  
      A list of configuration files automatically loaded by Struts 9)b{U2&  
      struts自动加载的一个配置文件列表 e \kR/<L  
RHu,t5,  
struts.configuration.xml.reload )i-`AJK-'v  
      Whether to reload the XML configuration or not (a,`Y.  
      是否加载xml配置(true,false) M-!#-l  
nu|?F\o!  
struts.continuations.package D* HK[_5  
      The package containing actions that use Rife continuations Frhm4H%,_R  
      含有actions的完整连续的package名称 &t@ $]m(  
%z @T /  
struts.custom.i18n.resources y+VR D  
      Location of additional localization properties files to load afcyAzIB&  
      加载附加的国际化属性文件(不包含.properties后缀) 3'`X_C|d53  
u-dF ~.x  
struts.custom.properties sy9YdPPE  
      Location of additional configuration properties files to load %x$mAOUv  
      加载附加的配置文件的位置 IG@@CH  
O{G $]FtF  
W!Rr_'yFe)  
struts.devMode L\kT9wWK|  
      Whether Struts is in development mode or not `VOLw*Ci  
      是否为struts开发模式 ~/R}K g(  
<gr2k8m6$  
struts.dispatcher.parametersWorkaround [WunA,IuR  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic x\(yjNZH  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pvd9wKz  
EY!P"u;  
struts.enable.DynamicMethodInvocation ),I7+rY  
      Allows one to disable dynamic method invocation from the URL [6Nzz]yy  
        允许动态方法调用 }4I;<%L3`  
%PU {h  
struts.freemarker.manager.classname  *FoPs  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class rxIYgh  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u]Y NF[]  
@Cd}1OT)  
struts.i18n.encoding es(vWf'  
      The encoding to use for localization messages %]Nz54!  
      国际化信息内码 lv ^=g  
xt"/e-h }  
struts.i18n.reload I|O~F e.  
      Whether the localization messages should automatically be reloaded LZ ID|-  
      是否国际化信息自动加载 5#f&WL*U@  
xD1B50y U  
struts.locale +TAm9eDNV  
      The default locale for the Struts application 28BiuxVW  
      默认的国际化地区信息 y9)l,@D  
Wu Gm~<NS  
struts.mapper.class 3nK'yC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class iQGoy@<R  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *} w.xt  
`Ys })Pl  
struts.multipart.maxSize R$3JbR.  
      The maximize size of a multipart request (file upload) R{rV1j#@!a  
      multipart请求信息的最大尺寸(文件上传用) RU >vnDaC  
D&^:hs@  
struts.multipart.parser q9!#S  
      The org.apache.struts2.dispatcher.multipart. IGqmH=-  
      MultiPartRequest parser implementation for a multipart request (file upload) 88*RlxU  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) !S-hv1bE  
Z{CL!  
`x#~ -  
struts.multipart.saveDir :cEe4a  
      The directory to use for storing uploaded files ^ /BE=$E\  
      设置存储上传文件的目录夹 J-f0  
A_fU7'B  
struts.objectFactory @ixX?N)V  
      The com.opensymphony.xwork2.ObjectFactory implementation class j`GbI0,bT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $^XPk#$m  
&e)p6Egl  
struts.objectFactory.spring.autoWire _NZHrN  
      Whether Spring should autoWire or not hpyre B  
      是否自动绑定Spring \O?B9_  
U;xWW9  
struts.objectFactory.spring.useClassCache :V2 Q n-N  
      Whether Spring should use its class cache or not `;qZ$HH  
      是否spring应该使用自身的cache 3# (5Kco  
W9Lg}[>:)  
struts.objectTypeDeterminer Ny'v/+nQ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  e C{Z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 DmrfD28j~F  
cs M|VNE>  
struts.serve.static.browserCache 4~Pto f@  
If static content served by the Struts filter should set browser caching header properties or not ~b[4'm@  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 -8jqC6mQ  
r97[!y1gt  
struts.serve.static T!A}ipqb  
      Whether the Struts filter should serve static content or not NKKO A  
      是否struts过滤器应该提供静态内容 gc~h!%'.I  
`6$b1qv,  
struts.tag.altSyntax jq)|7_N  
      Whether to use the alterative syntax for the tags or not zn!  
      是否可以用替代的语法替代tags z\Y^x 9  
P$ef,ZW"  
struts.ui.templateDir ]+dl=SmF  
      The directory containing UI templates vUs7#*  
      UI templates的目录夹 CEq]B:[IC  
1n( }Q1fa  
struts.ui.theme 9y*! W  
      The default UI template theme * SMPHWH[c  
      默认的UI template主题 {kH^OZ^(e  
XL=R]IC<.  
struts.url.http.port 8#u_+;,p  
      The HTTP port used by Struts URLs f{c[_OR  
      设置http端口 b[;3KmUB  
7 aD&\?  
struts.url.https.port ==Mi1Q#5C  
      The HTTPS port used by Struts URLs 'm5(MC,  
      设置https端口 }n%R l\p  
C(HmLEB^  
struts.url.includeParams $ ].k6,%{p  
      The default includeParams method to generate Struts URLs xBfe8lor  
      在url中产生 默认的includeParams # pB:LPEsK  
z8 ;#H tr  
~*c=  
struts.velocity.configfile {4aY}= -Q*  
      The Velocity configuration file path DjzBG*f/  
      velocity配置文件路径 *>p(]_s,  
"HfU,$[  
struts.velocity.contexts \u-e\w  
      List of Velocity context names 4 6lEJ  
      velocity的context列表 7QiCZcb\  
H!.D2J   
kz;_f  
struts.velocity.manager.classname xqC<p`?4  
      org.apache.struts2.views.velocity.VelocityManager implementation class uBq3.+,x*  
      org.apache.struts2.views.velocity.VelocityManager接口名 &:I +]G/W  
;Fem<p)V  
struts.velocity.toolboxlocation Cm;qDvj+u  
      The location of the Velocity toolbox Gb|}Su  
      velocity工具盒的位置 ?g;ZbD  
struts.xslt.nocache 7$'mC9  
      Whether or not XSLT templates should not be cached B4:l*P'  
      是否XSLT模版应该被缓存 "SU-^z  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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