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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .G|U#%"6x  
>,f5 5  
struts.action.extension }mS+%w"j  
      The URL extension to use to determine if the request is meant for a Struts action (R!.=95@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )F6p+i="  
C6d#+  
struts.configuration ZV[-$  
      The org.apache.struts2.config.Configuration implementation class r1sA^2g.  
        org.apache.struts2.config.Configuration接口名 ?y^ ix+ M  
IOl0=+p  
struts.configuration.files f1t?<=3Ek<  
      A list of configuration files automatically loaded by Struts !KHbsOT?9  
      struts自动加载的一个配置文件列表 3GZrVhU?m  
M ED_#OS  
struts.configuration.xml.reload a(x#6  
      Whether to reload the XML configuration or not T=fVD8  
      是否加载xml配置(true,false) Vtk}>I@%  
bW zUWLa  
struts.continuations.package ^k!u  
      The package containing actions that use Rife continuations Hlj3z3  
      含有actions的完整连续的package名称 M2nZ,I=l  
'A/ f>W  
struts.custom.i18n.resources x^ sTGd  
      Location of additional localization properties files to load lsVg'k/Z!  
      加载附加的国际化属性文件(不包含.properties后缀) ~%sNPKjA  
] .c$(.  
struts.custom.properties qwo{34  
      Location of additional configuration properties files to load ^0 /!:*?  
      加载附加的配置文件的位置 kqLpt  
[O6JVXO>  
"mcuF]7F  
struts.devMode _61tE  
      Whether Struts is in development mode or not [V;Q#r&+  
      是否为struts开发模式 I5g!c|#y  
M U2];  
struts.dispatcher.parametersWorkaround {;hR FQ^b  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic N ^H H&~V  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T7*p! 0  
M5+K[Ir/y9  
struts.enable.DynamicMethodInvocation  j g_;pn  
      Allows one to disable dynamic method invocation from the URL (@xr/9:i  
        允许动态方法调用 S#|5&SR  
{|tMN,Z  
struts.freemarker.manager.classname $HV`bJ5!L*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U?ZxQj66}  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 `e5f69"  
6)9X+U@  
struts.i18n.encoding \X;)Kt"  
      The encoding to use for localization messages %UCuI9  
      国际化信息内码 Fw6x (j"  
5R O_)G<  
struts.i18n.reload ]$A6krfh|  
      Whether the localization messages should automatically be reloaded E D_J8 +  
      是否国际化信息自动加载 )eBCO~HS  
Yk5Cyq  
struts.locale " R-Pe\W  
      The default locale for the Struts application =z2g}X  
      默认的国际化地区信息 ]ov"&,J  
RaB%N$.9s  
struts.mapper.class PJ'@!jx  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q7zHT=@$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 P L*kjrLu7  
vrXNa8,L  
struts.multipart.maxSize d~O)mJ J  
      The maximize size of a multipart request (file upload) m[&pR2T  
      multipart请求信息的最大尺寸(文件上传用) y-vB C3  
,in"8aT}~  
struts.multipart.parser =bb)B(  
      The org.apache.struts2.dispatcher.multipart. Fx@@.O6  
      MultiPartRequest parser implementation for a multipart request (file upload) .4,l0Nn`W  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3d>xg%?  
S{)'1J_0  
q6V\n:hKV  
struts.multipart.saveDir q]z%<`.9*  
      The directory to use for storing uploaded files 9'h4QF+Y  
      设置存储上传文件的目录夹 U9yR~pw  
x5!lnN,#  
struts.objectFactory J ?H| "  
      The com.opensymphony.xwork2.ObjectFactory implementation class zvh&o*\2<d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $lAhKpdlW  
(\$=+' hy  
struts.objectFactory.spring.autoWire F0+@FS0   
      Whether Spring should autoWire or not t0o'_>*?A  
      是否自动绑定Spring ,F0bkNBG  
/PtmJ2 [  
struts.objectFactory.spring.useClassCache <,(Ww   
      Whether Spring should use its class cache or not yyu f  
      是否spring应该使用自身的cache 8,&QY%8pX  
Z~ {[YsG  
struts.objectTypeDeterminer qvN 5[rb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class F$H^W@<w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 OEj%cB!  
7a'@NgiGg  
struts.serve.static.browserCache m*H6\on:  
If static content served by the Struts filter should set browser caching header properties or not (khMjFOg  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {#uf#J|  
5\P3JoH:Yg  
struts.serve.static ~er4w+"  
      Whether the Struts filter should serve static content or not OwG:+T_  
      是否struts过滤器应该提供静态内容 (Qz| N  
%z AN@  
struts.tag.altSyntax .5?Md  
      Whether to use the alterative syntax for the tags or not >tVD[wVF0  
      是否可以用替代的语法替代tags -nC!kpo  
e(sV4Z~  
struts.ui.templateDir ;PG,0R`Z;  
      The directory containing UI templates xouy|Nn'  
      UI templates的目录夹 <LOas$  
_;`g*Kx  
struts.ui.theme ] iVoF N}^  
      The default UI template theme $61*X f+*  
      默认的UI template主题 # >L^W7^  
)w!*6<  
struts.url.http.port FVS@z5A8<=  
      The HTTP port used by Struts URLs D}:M0EBS  
      设置http端口 +G<9|-  
dnUiNs8  
struts.url.https.port d(j|8/tpA  
      The HTTPS port used by Struts URLs :ODG]-QF  
      设置https端口 b>"=kN/  
B3iU#   
struts.url.includeParams 9W@ Tf  
      The default includeParams method to generate Struts URLs !JVpR]lWS  
      在url中产生 默认的includeParams dEM=U;  
#u6ZCv7u  
+b6kU{  
struts.velocity.configfile 6?(vXPpT$  
      The Velocity configuration file path \Dn an5H/  
      velocity配置文件路径 Mny mV;y"  
Y'%k G5nF  
struts.velocity.contexts G/5]0]SO  
      List of Velocity context names {pW(@4U  
      velocity的context列表 / qo`vk A  
[P?.( *  
[ZkK)78}k  
struts.velocity.manager.classname [X|KXlNfm  
      org.apache.struts2.views.velocity.VelocityManager implementation class +~]LvZtI_  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~J,e^$u  
^N_?&pgy  
struts.velocity.toolboxlocation  [EU \-  
      The location of the Velocity toolbox X7gtR|[  
      velocity工具盒的位置 J`x!c9zg7  
struts.xslt.nocache t|y`Bl2  
      Whether or not XSLT templates should not be cached $6p|}<u  
      是否XSLT模版应该被缓存 B\} B H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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