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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *Hx{eqC  
d%FD =wm  
struts.action.extension A0Pg|M  
      The URL extension to use to determine if the request is meant for a Struts action tu8n1W  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 I]t ",s/j  
uH7 $/  
struts.configuration FvQ>Y')R7Z  
      The org.apache.struts2.config.Configuration implementation class 6K501!70g6  
        org.apache.struts2.config.Configuration接口名 .Az' THD}  
wiKUs0|  
struts.configuration.files K;Qlg{v  
      A list of configuration files automatically loaded by Struts {XAm3's  
      struts自动加载的一个配置文件列表 oh c/{D2  
4n_f7'GZg  
struts.configuration.xml.reload Goa0OC,  
      Whether to reload the XML configuration or not D=uU:7m  
      是否加载xml配置(true,false) EUZ#o\6  
{WfZE&B  
struts.continuations.package q ^NI  
      The package containing actions that use Rife continuations SC/|o  
      含有actions的完整连续的package名称 e=S51q_0  
:!H]gC 4  
struts.custom.i18n.resources 3m:[o`L  
      Location of additional localization properties files to load }{/3yXk[G  
      加载附加的国际化属性文件(不包含.properties后缀) YBb%D  
@k~'b  
struts.custom.properties uf4C+ci  
      Location of additional configuration properties files to load 32j@6!  
      加载附加的配置文件的位置 I*8i=O@0T  
0h^&`H:  
'}3@D$YiM%  
struts.devMode 's#"~<L^e  
      Whether Struts is in development mode or not y^pzqv  
      是否为struts开发模式 y qDE|DIez  
&!7{2E\7C  
struts.dispatcher.parametersWorkaround }j9V0`Q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic d/oxRzk'L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,ND}T#yTR  
+72[*_ <  
struts.enable.DynamicMethodInvocation zQvp<IUq  
      Allows one to disable dynamic method invocation from the URL CJ0{>?  
        允许动态方法调用 + q@kRQY;n  
4mNg(w=NF  
struts.freemarker.manager.classname v53qpqc  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ovu!G q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [AgS@^"sf5  
6bj.z  
struts.i18n.encoding Fv_rDTo  
      The encoding to use for localization messages 8~Avg6,  
      国际化信息内码 R)4L]ZF  
B^Z %38o  
struts.i18n.reload V}de|=  
      Whether the localization messages should automatically be reloaded 5>{  
      是否国际化信息自动加载 U 8Rko)  
rq=D[vX\N(  
struts.locale ?U3X,uv5J  
      The default locale for the Struts application ["]r=l  
      默认的国际化地区信息 rm}OVL  
Wc] L43u  
struts.mapper.class lxsBXXZg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class mFoE2?Y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 =^  
c~j")o  
struts.multipart.maxSize L O)&|9xw  
      The maximize size of a multipart request (file upload) <i}lP/U  
      multipart请求信息的最大尺寸(文件上传用) 8bl&-F `  
Y [8~M8QX  
struts.multipart.parser .C$4jR.KC  
      The org.apache.struts2.dispatcher.multipart. <*O~?=6p  
      MultiPartRequest parser implementation for a multipart request (file upload) QAs$fi}f]s  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) iBlZw%zKP  
G+Gd ;`4  
-n.ltgW@   
struts.multipart.saveDir u!wR  
      The directory to use for storing uploaded files 9a4Xf%!F>z  
      设置存储上传文件的目录夹 w'uI~t4  
=/_tQR~  
struts.objectFactory GI:J9TS  
      The com.opensymphony.xwork2.ObjectFactory implementation class ~{- zj  
      com.opensymphony.xwork2.ObjectFactory接口(spring) C9+`sFau@  
g~,"C8-H  
struts.objectFactory.spring.autoWire jN. '%5Q?H  
      Whether Spring should autoWire or not Qv~KGd9  
      是否自动绑定Spring Q#+y}pOLP  
>;|~ z\8  
struts.objectFactory.spring.useClassCache Ih_2")d  
      Whether Spring should use its class cache or not ib$_x:OO"  
      是否spring应该使用自身的cache lN@SfM4\  
!2]eVO  
struts.objectTypeDeterminer df@r2 /Y  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6[cC1a3r:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 vd0;33$L  
ShFC@)<lJ  
struts.serve.static.browserCache 7;]n+QRfm  
If static content served by the Struts filter should set browser caching header properties or not i{1SUx+Re  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 sw:o3cC]  
3RSiu}  
struts.serve.static PWU8 9YXp  
      Whether the Struts filter should serve static content or not Rn] `_[)*~  
      是否struts过滤器应该提供静态内容 Na6z1&wS  
o u%Xnk~  
struts.tag.altSyntax Q[5j5vry  
      Whether to use the alterative syntax for the tags or not TV^m1uC  
      是否可以用替代的语法替代tags h%2;B;p]  
A}./ ;[  
struts.ui.templateDir \J@i:J6x$1  
      The directory containing UI templates |ATz<"q>  
      UI templates的目录夹 }ZPO^4H;-  
HfQZRDH  
struts.ui.theme /HlLfW  
      The default UI template theme T ~=r*4  
      默认的UI template主题 ?_hKhn%K9  
)83UF r4kP  
struts.url.http.port <m") 2dJ  
      The HTTP port used by Struts URLs ?\_\pa/+  
      设置http端口 }cl~Vo-mp  
EMe3Xb `  
struts.url.https.port .\/jy]Y  
      The HTTPS port used by Struts URLs OC(S"&D  
      设置https端口 2;!,:bFb  
k`#OXLR  
struts.url.includeParams gG^A6Ol%D  
      The default includeParams method to generate Struts URLs Zq,[se'nh"  
      在url中产生 默认的includeParams d<x7* OW)  
n+ot. -  
rt5FecX\  
struts.velocity.configfile c,wYXnJ_t  
      The Velocity configuration file path qM~;Q6{v  
      velocity配置文件路径 +>v3&[lGv  
!|\$|m<n  
struts.velocity.contexts rGNYu\\  
      List of Velocity context names % ~!A,  
      velocity的context列表 2h_XfY'3pX  
g>L4N.ZH_v  
YU*u!  
struts.velocity.manager.classname QL_vWG -  
      org.apache.struts2.views.velocity.VelocityManager implementation class aicvu(%EE  
      org.apache.struts2.views.velocity.VelocityManager接口名 gL)l)}#  
MM+x}g.?  
struts.velocity.toolboxlocation >h!>Ll  
      The location of the Velocity toolbox U%<E9G594  
      velocity工具盒的位置 [ ;/4'  
struts.xslt.nocache SVJL|S 3k  
      Whether or not XSLT templates should not be cached O %x<  
      是否XSLT模版应该被缓存 [:vH_(|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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