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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )X4K2~k*  
08X_}97#WF  
struts.action.extension :m86 hBE.  
      The URL extension to use to determine if the request is meant for a Struts action D=:04V}2+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yC 77c=  
UnVm1ZWZ  
struts.configuration @(P=Eh  
      The org.apache.struts2.config.Configuration implementation class +("7ZK?  
        org.apache.struts2.config.Configuration接口名 @ '@:sM_  
V f-a'K&  
struts.configuration.files 5es[Ph|K5  
      A list of configuration files automatically loaded by Struts i)#:qAtP*  
      struts自动加载的一个配置文件列表 DAo~8H  
iAT)VQ&  
struts.configuration.xml.reload 8Ll[ fJZA  
      Whether to reload the XML configuration or not GgaTn!mJt  
      是否加载xml配置(true,false) Dnc(l(  
1n%?@+W  
struts.continuations.package .B#l5pfvP  
      The package containing actions that use Rife continuations 3@5=+z~CW  
      含有actions的完整连续的package名称 zlR?,h-[3  
ikE<=:pe  
struts.custom.i18n.resources Fnk_\d6Ma  
      Location of additional localization properties files to load G=;k=oX(  
      加载附加的国际化属性文件(不包含.properties后缀) `eu9dLz H  
.NtbL./=|  
struts.custom.properties ,=?{("+  
      Location of additional configuration properties files to load "[}O"LTQ  
      加载附加的配置文件的位置 ngj,x7t  
)%!XSsY.N|  
OL_{_K(w  
struts.devMode 8M@BG8  
      Whether Struts is in development mode or not iC iZJ"  
      是否为struts开发模式 RwS@I /  
T~h5B(J;  
struts.dispatcher.parametersWorkaround "c}@V*cO<d  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5*[2yKsTi  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3\T2?w9u(  
(KvROV);  
struts.enable.DynamicMethodInvocation g$. \  
      Allows one to disable dynamic method invocation from the URL @( n^T  
        允许动态方法调用 Ltjbxw"Qd  
=] 3tUD  
struts.freemarker.manager.classname bc , p }  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <b/~.$a'  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FI"`DMb}  
s1?[7yC  
struts.i18n.encoding E( us'9c   
      The encoding to use for localization messages vkLC-Mzm<  
      国际化信息内码 "UwH\T4I  
czlFr|O;  
struts.i18n.reload ,lCgQ0}<  
      Whether the localization messages should automatically be reloaded 5U_H>oD  
      是否国际化信息自动加载 <0S=,!  
5>AX*]c  
struts.locale T{wuj[ Q#:  
      The default locale for the Struts application \M'-O YH_[  
      默认的国际化地区信息 )Ud-}* g  
L@JOGCYy  
struts.mapper.class h*ZC*eV>  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class #07gd#j4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3> /K0N|$  
5q "ON)x  
struts.multipart.maxSize +2 Af&~T  
      The maximize size of a multipart request (file upload) _)]CzBRq\6  
      multipart请求信息的最大尺寸(文件上传用) C"IKt  
|lv|!]qAma  
struts.multipart.parser XD"_Iq!  
      The org.apache.struts2.dispatcher.multipart. d#2$!z#  
      MultiPartRequest parser implementation for a multipart request (file upload) ')GSAY7  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .f+TZDUO  
u^029sH6j  
BB|?1"neg  
struts.multipart.saveDir a~8[<Fomj  
      The directory to use for storing uploaded files wgd/(8d  
      设置存储上传文件的目录夹 uYrfm:4S  
!'LW_@  
struts.objectFactory {nU=%w"\  
      The com.opensymphony.xwork2.ObjectFactory implementation class V ]90  
      com.opensymphony.xwork2.ObjectFactory接口(spring) OzC\9YeA  
\=>H6x]q  
struts.objectFactory.spring.autoWire 3]?#he  
      Whether Spring should autoWire or not %Qk/_ R1   
      是否自动绑定Spring <V>dM4Mkr  
UwC=1g U  
struts.objectFactory.spring.useClassCache _#vrb;.+  
      Whether Spring should use its class cache or not ?ve#} \  
      是否spring应该使用自身的cache {\[5}nV  
G\T fL^A  
struts.objectTypeDeterminer RoAlf+&Qb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3j3N!T9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Fv<`AU  
r1fGJv1!o  
struts.serve.static.browserCache x`6<m!d`  
If static content served by the Struts filter should set browser caching header properties or not ]vuwkn+)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _ 84ut  
/rSH"$  
struts.serve.static Ks}Xgc\  
      Whether the Struts filter should serve static content or not ,-z9 #t  
      是否struts过滤器应该提供静态内容 :_QCfH  
^wS5>lf7p  
struts.tag.altSyntax LY+|[qka  
      Whether to use the alterative syntax for the tags or not |*`Z*6n  
      是否可以用替代的语法替代tags VE8;sGaJ  
0@AAulRl  
struts.ui.templateDir *-xU2  
      The directory containing UI templates fw[y+Bi& ?  
      UI templates的目录夹 Qyy.IPTP  
=Fdg/X1  
struts.ui.theme ]5%/3P,/  
      The default UI template theme ~H!S,"n^,P  
      默认的UI template主题 6]-SK$  
ur$l Z0  
struts.url.http.port [|l?2j\  
      The HTTP port used by Struts URLs r;m)nRu  
      设置http端口 t'ZWc\  
)aX,%yK  
struts.url.https.port S6[v;{xJ  
      The HTTPS port used by Struts URLs >|;aIa@9  
      设置https端口 MeUaTJFEB  
?mlNL/:  
struts.url.includeParams xC tmXo  
      The default includeParams method to generate Struts URLs E }ZJ)V7  
      在url中产生 默认的includeParams A2|Ud_  
RVeEkv[qp  
_/O25% l  
struts.velocity.configfile Ge<nxl<Bd  
      The Velocity configuration file path @]ao"ui@/  
      velocity配置文件路径 : "1XPr  
a+Ac[>  
struts.velocity.contexts : >>@rF ,  
      List of Velocity context names 'R_g">B.  
      velocity的context列表 4Fm90O  
rl0<Ls  
8.[SU  
struts.velocity.manager.classname T*KMksjxm`  
      org.apache.struts2.views.velocity.VelocityManager implementation class GQ |Mr{.;  
      org.apache.struts2.views.velocity.VelocityManager接口名 t#2(j1  
XU"~h64]  
struts.velocity.toolboxlocation $1v&azM.  
      The location of the Velocity toolbox J(6oL   
      velocity工具盒的位置 i'\T R|qd  
struts.xslt.nocache P@FHnh3}Z$  
      Whether or not XSLT templates should not be cached DY^;EZ!hb  
      是否XSLT模版应该被缓存 AFAAuFE"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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