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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~0-764%  
$vLV< y07  
struts.action.extension ,/:a77  
      The URL extension to use to determine if the request is meant for a Struts action &7T H V  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fBgKX ?Y  
2E2}|: ||&  
struts.configuration rH9}nL  
      The org.apache.struts2.config.Configuration implementation class bX H^Bm  
        org.apache.struts2.config.Configuration接口名 0#[f2X62B  
@,4%8E5  
struts.configuration.files Uo}&-$B  
      A list of configuration files automatically loaded by Struts D i'u%r  
      struts自动加载的一个配置文件列表 '= <`@  
<gdgcvd  
struts.configuration.xml.reload i5KwYoN  
      Whether to reload the XML configuration or not V0Z7o\-J  
      是否加载xml配置(true,false) Hm VTfH'  
)6Q0f  
struts.continuations.package b'1d<sD  
      The package containing actions that use Rife continuations PS(j)I3  
      含有actions的完整连续的package名称 -?nT mzRc  
m_$I?F0  
struts.custom.i18n.resources +q j*P9  
      Location of additional localization properties files to load EOX_[ek7  
      加载附加的国际化属性文件(不包含.properties后缀) 06^1#M$'  
j 3MciQ`  
struts.custom.properties @pG lWw9*  
      Location of additional configuration properties files to load uT}TSwgp  
      加载附加的配置文件的位置 pRwGv  
UB$`;'|i  
HS:}! [P  
struts.devMode kr(<Y|  
      Whether Struts is in development mode or not  aoDD&JE  
      是否为struts开发模式 E^ok`wfO  
"Wk{4gS7l  
struts.dispatcher.parametersWorkaround r^A#[-VyNP  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic = b<<5N s  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) N4H+_g|  
Yc82vSG'  
struts.enable.DynamicMethodInvocation iEpq*Qj  
      Allows one to disable dynamic method invocation from the URL ;:4P'FWm^  
        允许动态方法调用 'K3 s4x($  
vzcBo%  
struts.freemarker.manager.classname uR ;-eK  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 48 CI8[T  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 T5azYdzJy  
QG|GXp_q`  
struts.i18n.encoding ,B%fjcn  
      The encoding to use for localization messages h Y}/Y  
      国际化信息内码 So=nB} b[?  
 oKYhE  
struts.i18n.reload aw/7Z`   
      Whether the localization messages should automatically be reloaded @mx$sNDkL  
      是否国际化信息自动加载 \$'m ^tVU  
7y)=#ZG'R  
struts.locale x$n~f:1Y  
      The default locale for the Struts application 7<:Wq=e!r  
      默认的国际化地区信息 3_MS'&M  
V[Rrst0yo  
struts.mapper.class +lW}ixt  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class adI!W-/R:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $% Ci8p  
qo6LC>Qg  
struts.multipart.maxSize >&;>PZBPCO  
      The maximize size of a multipart request (file upload) l#b|@4:I  
      multipart请求信息的最大尺寸(文件上传用) /S]:dDY9K  
[vWkAJ'K  
struts.multipart.parser `pi-zE)  
      The org.apache.struts2.dispatcher.multipart. t0bhXFaiE  
      MultiPartRequest parser implementation for a multipart request (file upload) abo>_"9-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~`2&'8  
u`Z0{d  
b0YiQjS6>  
struts.multipart.saveDir nuSN)}b<Q  
      The directory to use for storing uploaded files Ug7`ez4vw  
      设置存储上传文件的目录夹 `z}vONXpAX  
* -KJh_  
struts.objectFactory ypD<2z^  
      The com.opensymphony.xwork2.ObjectFactory implementation class *:\:5*SY  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \\S/ NA  
fey*la Xq  
struts.objectFactory.spring.autoWire n @ &"+  
      Whether Spring should autoWire or not *BLe3dok(  
      是否自动绑定Spring 3vdu;W=Sz  
:}@C9pqr2  
struts.objectFactory.spring.useClassCache 2.LJp}>  
      Whether Spring should use its class cache or not #zS1Z f^KP  
      是否spring应该使用自身的cache =#i4MXRZ{  
QqiJun_m  
struts.objectTypeDeterminer VYamskK[G:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !%c{+]g  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K`QOU-M@}  
RpO@pd m  
struts.serve.static.browserCache DS:>/m>)  
If static content served by the Struts filter should set browser caching header properties or not uu}`warW  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 JF~1' "_f:  
c62dorDqy  
struts.serve.static d>%gW*  
      Whether the Struts filter should serve static content or not oX'0o 'c  
      是否struts过滤器应该提供静态内容 +0XL5( '2  
=db'#m{$  
struts.tag.altSyntax `^7:7Wr]=  
      Whether to use the alterative syntax for the tags or not wMb)6YZs  
      是否可以用替代的语法替代tags -t8hi+NK  
erx 5j\  
struts.ui.templateDir ~;M)qR?]W  
      The directory containing UI templates 5Vp;dc  
      UI templates的目录夹 JEWL)  
d/D,P=j"  
struts.ui.theme  0]AN;  
      The default UI template theme (C daE!I4Q  
      默认的UI template主题 48 W.qzC  
BBHK  
struts.url.http.port *16<M)7  
      The HTTP port used by Struts URLs $hkq>i \  
      设置http端口 5D,.^a1 A  
b4>``n  
struts.url.https.port XE_ir Et  
      The HTTPS port used by Struts URLs ?y ~TCqV  
      设置https端口 I=K!)X$  
NO-k-  
struts.url.includeParams 10wvfRhng  
      The default includeParams method to generate Struts URLs q7X}MAW  
      在url中产生 默认的includeParams r&}(9Cq&"y  
U1ZIuDg'E  
KH7VR^;mk  
struts.velocity.configfile qysTjGwa]  
      The Velocity configuration file path iI5+P`sE&J  
      velocity配置文件路径 f UC9-?(K  
L0rip5[;d  
struts.velocity.contexts ;{vwBDV!'  
      List of Velocity context names CuH2E>wz  
      velocity的context列表 !fY7"E{%%  
ypx: )e"/  
HTmI1  
struts.velocity.manager.classname ^Ye\u1n4  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,7GWB:Sk  
      org.apache.struts2.views.velocity.VelocityManager接口名 gtiEhCF2W  
^ eQFg>  
struts.velocity.toolboxlocation '77~{jy  
      The location of the Velocity toolbox |]`hXr  
      velocity工具盒的位置 \(I0wEQo$  
struts.xslt.nocache @q K]JK  
      Whether or not XSLT templates should not be cached a1Hz3y~S/  
      是否XSLT模版应该被缓存 `@[l\.Vt:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五