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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *n8%F9F  
 >1A*MP4  
struts.action.extension g& k58{e  
      The URL extension to use to determine if the request is meant for a Struts action iZaeoy  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Guh%eR'Wt  
3{KR {B#L  
struts.configuration oK2pM18  
      The org.apache.struts2.config.Configuration implementation class  ?>af'o:  
        org.apache.struts2.config.Configuration接口名 Z%m-HE:k  
QdQ d(4/1  
struts.configuration.files =+Im*mgNn  
      A list of configuration files automatically loaded by Struts &rp!%]+xAM  
      struts自动加载的一个配置文件列表 '0:i<`qv#g  
[8"ojhdV  
struts.configuration.xml.reload <\" .L  
      Whether to reload the XML configuration or not $J.T$0pFa  
      是否加载xml配置(true,false) n 6{2]&sd  
3J{vt"dS  
struts.continuations.package %K(0W8&  
      The package containing actions that use Rife continuations XF}rd.K:  
      含有actions的完整连续的package名称 l?/Y  
q]\X~ 9#  
struts.custom.i18n.resources pQMtj0(y  
      Location of additional localization properties files to load ME^ ,'&  
      加载附加的国际化属性文件(不包含.properties后缀) >E:<E'L  
;gMgj$mI  
struts.custom.properties ;Wc4qJ.@  
      Location of additional configuration properties files to load _n"Ae?TP  
      加载附加的配置文件的位置 2Vk\L~K  
/RT%0!  
u=r`t(Z1H  
struts.devMode 99=s4*xzM  
      Whether Struts is in development mode or not iWE)<h  
      是否为struts开发模式 y{d^?(-  
ar.AL'  
struts.dispatcher.parametersWorkaround ~GJN@ka4%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic PWB(5 f?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {_#yz\j  
Xf d*D  
struts.enable.DynamicMethodInvocation ifK%6o6  
      Allows one to disable dynamic method invocation from the URL p'n4)I2#  
        允许动态方法调用 ]XA4;7  
pFsc}R/0/8  
struts.freemarker.manager.classname (\a6H2z8l  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !}KqB8;  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 k~3.MU  
&|Pu-A"5~  
struts.i18n.encoding U__(; /1;  
      The encoding to use for localization messages wmU0E/{9]  
      国际化信息内码 gRJfX %*F  
X|DO~{-au  
struts.i18n.reload %7hB&[ 5  
      Whether the localization messages should automatically be reloaded E7zm{BX]  
      是否国际化信息自动加载 xJs;v  
8|Y.|\  
struts.locale FG@ -bV  
      The default locale for the Struts application C\ZkGX  
      默认的国际化地区信息 Yw; D:Y(  
fyWO  
struts.mapper.class jZoNi  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $2~\eG=u H  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !ZRs;UZ>o  
kcie}Be  
struts.multipart.maxSize fV:4#j  
      The maximize size of a multipart request (file upload) 76cG90!Z  
      multipart请求信息的最大尺寸(文件上传用) cLY c6  
efP&xk  
struts.multipart.parser x35cW7R}T_  
      The org.apache.struts2.dispatcher.multipart. 'CZa3ux  
      MultiPartRequest parser implementation for a multipart request (file upload)  Ez~'^s@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7Q w|!  
gb=/#G0R  
sbj(|1,ac  
struts.multipart.saveDir OS|>t./U  
      The directory to use for storing uploaded files >>i@r@  
      设置存储上传文件的目录夹 xM[Vc  
:,b iyJt  
struts.objectFactory l1U=f]  
      The com.opensymphony.xwork2.ObjectFactory implementation class dC\ZjZZ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) VQ5nq'{v  
>odbOi+X  
struts.objectFactory.spring.autoWire Rm1A>1a :  
      Whether Spring should autoWire or not jn >d*9u  
      是否自动绑定Spring +ISz?~8  
r0d35  
struts.objectFactory.spring.useClassCache ofYlR|  
      Whether Spring should use its class cache or not `@[c8j7  
      是否spring应该使用自身的cache jcNT<}k C  
uXDq~`S  
struts.objectTypeDeterminer g.c8FP+  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class V7G7&'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =[\s8XH,  
~_s?k3cd  
struts.serve.static.browserCache 53-v|'9'  
If static content served by the Struts filter should set browser caching header properties or not 8t@p @Td|  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]?x: Qm'yo  
"YdEE\  
struts.serve.static \Y6WSj?E  
      Whether the Struts filter should serve static content or not ?Kvl!F!`  
      是否struts过滤器应该提供静态内容 [V'QrcCF  
Q#h 9n]5  
struts.tag.altSyntax .s+aZwTMT  
      Whether to use the alterative syntax for the tags or not b@3_L4~  
      是否可以用替代的语法替代tags r]3'74j:  
h~{aGo  
struts.ui.templateDir "S 3wk=?4  
      The directory containing UI templates ,rJXy_  
      UI templates的目录夹 lWBb4 !l  
$zB[B;-!$  
struts.ui.theme .h0b~nI>>  
      The default UI template theme \U|ZR  
      默认的UI template主题 7j nIv];i  
O6IB. >T  
struts.url.http.port f2,jh}4  
      The HTTP port used by Struts URLs Z|%_oR~b|  
      设置http端口 J|'7_0OAx  
"\0v,!@  
struts.url.https.port aK`@6F,]j  
      The HTTPS port used by Struts URLs (JM4R8fR&  
      设置https端口 1hcjSO  
@?YRuwp L  
struts.url.includeParams 4 C}bJzZ  
      The default includeParams method to generate Struts URLs A^q[N  
      在url中产生 默认的includeParams >A@Y$.  
JyR/1 W  
3;% 5Yu  
struts.velocity.configfile l}$ U])an#  
      The Velocity configuration file path 1"pw  
      velocity配置文件路径 $Y5)(  
2h[85\4  
struts.velocity.contexts MwmUgN"g  
      List of Velocity context names S[7WW$lF  
      velocity的context列表 a33TPoj  
h6} lpd  
5uxBK"q  
struts.velocity.manager.classname hs}8xl  
      org.apache.struts2.views.velocity.VelocityManager implementation class XS$OyW_Q  
      org.apache.struts2.views.velocity.VelocityManager接口名 q$aaA`E%  
~ o1x;Y6  
struts.velocity.toolboxlocation 9 7ql5  
      The location of the Velocity toolbox irN6g#B?  
      velocity工具盒的位置 ?JL:CBvCp  
struts.xslt.nocache ~#kT _*sw)  
      Whether or not XSLT templates should not be cached {dmj/6Lc  
      是否XSLT模版应该被缓存 JwJ7=P=c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八