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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =X[?d/[  
GtIAsC03  
struts.action.extension fQ!W)>mi  
      The URL extension to use to determine if the request is meant for a Struts action u0oTqD?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Xg_l4!T_l  
IV':sNV  
struts.configuration ~.U \Y  
      The org.apache.struts2.config.Configuration implementation class hH;i_("i(h  
        org.apache.struts2.config.Configuration接口名 zI S ,N '  
xnWezO_  
struts.configuration.files MwSfuP  
      A list of configuration files automatically loaded by Struts 0~W XA=XG  
      struts自动加载的一个配置文件列表 Bv3B|D&+  
`H*mQERb  
struts.configuration.xml.reload MzKl=G  
      Whether to reload the XML configuration or not 4o@:+T:1  
      是否加载xml配置(true,false) 811QpYA  
1?8M31  
struts.continuations.package T9r6,yY  
      The package containing actions that use Rife continuations \?8q&o1=]  
      含有actions的完整连续的package名称 ks%;_~b  
p^ROt'eQ<  
struts.custom.i18n.resources !~'D;Jh  
      Location of additional localization properties files to load 5{1=BZftZ  
      加载附加的国际化属性文件(不包含.properties后缀) Zn)o@'{}{  
-}oH],C  
struts.custom.properties ]qq2VO<b  
      Location of additional configuration properties files to load .Sa=VC?EZ  
      加载附加的配置文件的位置 0Db=/sJ>  
HEa7!h[a'  
zYdieE\-  
struts.devMode ,`a8@  
      Whether Struts is in development mode or not Q\xDAOEL  
      是否为struts开发模式 G O G[^T  
3bo [34  
struts.dispatcher.parametersWorkaround jll|y0  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;KmrBNF  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (0_zp`)  
|{ZdAr.;  
struts.enable.DynamicMethodInvocation x*TJYST  
      Allows one to disable dynamic method invocation from the URL k_?OEkgUh  
        允许动态方法调用 |lzcyz  
a[}?!G-Wt|  
struts.freemarker.manager.classname 7u :kR;wk  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &><b/,]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 upeioC q  
.s41Tc5u  
struts.i18n.encoding 1LvR,V<  
      The encoding to use for localization messages Rd]<591  
      国际化信息内码 NzM,0q  
L|-|DOgw  
struts.i18n.reload 3X',L*f  
      Whether the localization messages should automatically be reloaded e(b$LUV  
      是否国际化信息自动加载 r6aIW8  
2* T Ir  
struts.locale D88IU9V&n  
      The default locale for the Struts application r[7*1'. p  
      默认的国际化地区信息 ,->5 sJ{U  
#NL'r99D/o  
struts.mapper.class G6x'Myg I  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class itiSZL,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .~rg#*]^  
KV6D0~  
struts.multipart.maxSize P (Y\l  
      The maximize size of a multipart request (file upload) [4dX[  
      multipart请求信息的最大尺寸(文件上传用) ?`kZ6$  
; }ThBb3  
struts.multipart.parser z" ?WT$  
      The org.apache.struts2.dispatcher.multipart.  ]EQ*!  
      MultiPartRequest parser implementation for a multipart request (file upload) o :4#Ak S  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _E6N*ORV  
\GioSg  
U^)`_\/;?  
struts.multipart.saveDir 10m|?  
      The directory to use for storing uploaded files D eT$4c*:[  
      设置存储上传文件的目录夹 ,TB$D]u8  
M&9urOa`  
struts.objectFactory Vr %ef:uVV  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1B~Z1w  
      com.opensymphony.xwork2.ObjectFactory接口(spring) cb{"1z  
\,v+ejhw  
struts.objectFactory.spring.autoWire 2<w vO 9  
      Whether Spring should autoWire or not %AWc`D  
      是否自动绑定Spring mZM7 4!4X  
]TcQGW@'  
struts.objectFactory.spring.useClassCache [io|qLr}\  
      Whether Spring should use its class cache or not S>j.i  
      是否spring应该使用自身的cache m] -cRf)9  
N:+d=G`x  
struts.objectTypeDeterminer V 7ZGT  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class JZ:yPvJ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 GWWaH+F[h  
H(M{hfa|  
struts.serve.static.browserCache m"'`$/_  
If static content served by the Struts filter should set browser caching header properties or not +~y>22Zfg  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ,LmP >Q.  
~0?B  
struts.serve.static 6mIK[Qnp  
      Whether the Struts filter should serve static content or not PqF&[M<)  
      是否struts过滤器应该提供静态内容 /J&DYxl":  
[9MbNJt 8~  
struts.tag.altSyntax 3Z#WAhfS:  
      Whether to use the alterative syntax for the tags or not ^7=7V0>,:  
      是否可以用替代的语法替代tags '^$+G0jv  
@^ m0>H  
struts.ui.templateDir fd>&RbUp  
      The directory containing UI templates DrxQ(yo}  
      UI templates的目录夹 Q#K10*-O6  
@A*>lUo  
struts.ui.theme QH,(iX6RY  
      The default UI template theme =]"I0G-s!  
      默认的UI template主题 |z:4T%ES  
{c*5 )x!  
struts.url.http.port 0 ?gHRdU"  
      The HTTP port used by Struts URLs L2~'Z'q  
      设置http端口 T"gk^.  
a1_o  
struts.url.https.port 6Q_A-X3hk  
      The HTTPS port used by Struts URLs ev_'.t'  
      设置https端口 /5j5\F:33  
R*S:/s  
struts.url.includeParams ;G3?Sa7+  
      The default includeParams method to generate Struts URLs s2 :Vm\  
      在url中产生 默认的includeParams x.] tGS  
8gt&*;'}*D  
 ~mi4V  
struts.velocity.configfile '!,(G3  
      The Velocity configuration file path 1v,R<1)&  
      velocity配置文件路径 y%kZ##  
Eciu^  
struts.velocity.contexts V@ O)7ND  
      List of Velocity context names M:iH7K  
      velocity的context列表 e6jA4X+a  
|(PS bu  
,_,*I/o>B  
struts.velocity.manager.classname (hQi {  
      org.apache.struts2.views.velocity.VelocityManager implementation class F*>#Xr~/  
      org.apache.struts2.views.velocity.VelocityManager接口名 "h7Dye  
=]/<Kd}A.  
struts.velocity.toolboxlocation jF/S2Ty2  
      The location of the Velocity toolbox 8]R{5RGy  
      velocity工具盒的位置 n5^57[(  
struts.xslt.nocache ~<s =yjTu+  
      Whether or not XSLT templates should not be cached oDi+\0  
      是否XSLT模版应该被缓存 Qh-:P`CN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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