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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 QKHmOVh]  
Qj3UO]>  
struts.action.extension X*FK6,Y|(  
      The URL extension to use to determine if the request is meant for a Struts action : PQA9U|  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O7rm(  
q{KRM\ooYs  
struts.configuration _L# Tp  
      The org.apache.struts2.config.Configuration implementation class Blaj07K  
        org.apache.struts2.config.Configuration接口名 Do2y7,jv  
S"N@.n[  
struts.configuration.files LU;ma((yy[  
      A list of configuration files automatically loaded by Struts D(Xv shQ  
      struts自动加载的一个配置文件列表 |mci-ZT  
5|H?L@_9  
struts.configuration.xml.reload vz@QGgQ9~2  
      Whether to reload the XML configuration or not ~Bu~?ZJmd  
      是否加载xml配置(true,false) NK,)"WE  
ugMJ}IGq  
struts.continuations.package =E |[8 U)  
      The package containing actions that use Rife continuations ym,S /Uz  
      含有actions的完整连续的package名称 ]YOQIzkL4}  
:%!SzI?  
struts.custom.i18n.resources Txp~&a03  
      Location of additional localization properties files to load _VY]  
      加载附加的国际化属性文件(不包含.properties后缀) %/S BJ  
)Dqv&^  
struts.custom.properties 3c-ve$8u~  
      Location of additional configuration properties files to load I94;1(Cs%  
      加载附加的配置文件的位置 F}.Af=<Q  
39k P)cD  
nz>A\H  
struts.devMode $dwv1@M2  
      Whether Struts is in development mode or not %iJ6;V 4  
      是否为struts开发模式 r-[z!S  
(<8T*Xo  
struts.dispatcher.parametersWorkaround )FU4iN)ei  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R@"N{ [9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]~a!O  
xnh%nv<v{  
struts.enable.DynamicMethodInvocation 5i1>z{  
      Allows one to disable dynamic method invocation from the URL q)@.f.  
        允许动态方法调用 .cu5h   
nq6]?ZJ  
struts.freemarker.manager.classname ybYSz@7  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L;BYPZR  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 br'~SXl  
CTPn'P=\C  
struts.i18n.encoding Ulktd^A\  
      The encoding to use for localization messages B]]M?pS  
      国际化信息内码 6j` waK  
MJ92S(  
struts.i18n.reload 4["}U1sG  
      Whether the localization messages should automatically be reloaded Z;%qpsq  
      是否国际化信息自动加载 ?B h}  
~t#'X8.)  
struts.locale [r]USCq  
      The default locale for the Struts application 9Ft)VX  
      默认的国际化地区信息 59EAqz[:  
*[vf47)r!  
struts.mapper.class ,t)mCgbcO  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class c4; `3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )<3WVvB  
A:p0p^*  
struts.multipart.maxSize m6 IZG l7%  
      The maximize size of a multipart request (file upload) "%}PVO!  
      multipart请求信息的最大尺寸(文件上传用) C?E;sRr0  
O#k?c }  
struts.multipart.parser 1TbKnmTx  
      The org.apache.struts2.dispatcher.multipart. 'fg`td  
      MultiPartRequest parser implementation for a multipart request (file upload) u6%56 %^f  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y %<B,3  
|d,1mmv@K  
Qs,LK(1  
struts.multipart.saveDir `NGCUGQ_7  
      The directory to use for storing uploaded files moc_}(  
      设置存储上传文件的目录夹 HVk3F| ]V  
bAW;2 NB  
struts.objectFactory @&2T0UB  
      The com.opensymphony.xwork2.ObjectFactory implementation class }>h?W1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) YJ:CqTy  
\k g2pF[V  
struts.objectFactory.spring.autoWire @A yC0}  
      Whether Spring should autoWire or not IAtc^'l#  
      是否自动绑定Spring WOg_Pn9HI  
: ;d&m  
struts.objectFactory.spring.useClassCache PHz/^p3F  
      Whether Spring should use its class cache or not {&2$1p/9'  
      是否spring应该使用自身的cache Ii4 Byyfx  
; 4S#6#  
struts.objectTypeDeterminer ;JAe=wt^'I  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class F oEZ1O<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Qp-nr]  
778L[wYe  
struts.serve.static.browserCache UQTt;RS*zS  
If static content served by the Struts filter should set browser caching header properties or not bJe^x;J9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Fd ]! 7  
g0ug:- R  
struts.serve.static o}NKqA3  
      Whether the Struts filter should serve static content or not ;vd%=vR  
      是否struts过滤器应该提供静态内容 @9QHv  
%r|fuwwJO  
struts.tag.altSyntax 1`h`-dqr#  
      Whether to use the alterative syntax for the tags or not OCR x|  
      是否可以用替代的语法替代tags S"}FsS;k<?  
vK$T$SL  
struts.ui.templateDir JBg",2w |C  
      The directory containing UI templates %3kqBH!d  
      UI templates的目录夹 F1/f:<}  
Ozn7C?\*  
struts.ui.theme #xts*{u-#  
      The default UI template theme lffw7T~  
      默认的UI template主题 Pp26UWW  
Omh(UHZBB  
struts.url.http.port IOfo]p-  
      The HTTP port used by Struts URLs ~v<r\8`OI2  
      设置http端口 r_R|.fl<[  
rT"8e*LT  
struts.url.https.port BD9` +9  
      The HTTPS port used by Struts URLs ;((gmg7,  
      设置https端口 )6!SFj>.O  
27 Lya!/  
struts.url.includeParams [#14atv  
      The default includeParams method to generate Struts URLs P;A"`Il  
      在url中产生 默认的includeParams N\xqy-L9  
F.T~txQ~u  
J.El&Dev  
struts.velocity.configfile i 5-V$Qh  
      The Velocity configuration file path |e+I5  
      velocity配置文件路径 BT`6v+,h7k  
\8<bb<`  
struts.velocity.contexts b z<wihZj  
      List of Velocity context names =0m[  
      velocity的context列表 ;r`[6[AG  
b7"pm)6  
*A8CJ  
struts.velocity.manager.classname 5*4P_q(AxD  
      org.apache.struts2.views.velocity.VelocityManager implementation class PJb_QL!9  
      org.apache.struts2.views.velocity.VelocityManager接口名 qQVqS7 t  
drN^-e  
struts.velocity.toolboxlocation /i$&89yod  
      The location of the Velocity toolbox 17nWrTxR$  
      velocity工具盒的位置 mp@JsCU  
struts.xslt.nocache Ue-HO  
      Whether or not XSLT templates should not be cached #7'ww*+  
      是否XSLT模版应该被缓存 W.H_G.C%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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