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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 > mk>VM  
_3~/Z{z8  
struts.action.extension )31{.c/  
      The URL extension to use to determine if the request is meant for a Struts action /N'0@ q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l1HMH?0|  
jlXzfD T  
struts.configuration v#c'p^T  
      The org.apache.struts2.config.Configuration implementation class 3CcCcZ9I  
        org.apache.struts2.config.Configuration接口名 h}0}g]IUx  
o^+2%S`]  
struts.configuration.files 2@~.FBby7@  
      A list of configuration files automatically loaded by Struts !LJEo>D  
      struts自动加载的一个配置文件列表 u a%@Ay1|  
,Pi!%an w  
struts.configuration.xml.reload M~+}ss  
      Whether to reload the XML configuration or not xP/?E  
      是否加载xml配置(true,false) VW&EdrR,S  
)cP &c=  
struts.continuations.package  S1$lNB  
      The package containing actions that use Rife continuations e<A6= }  
      含有actions的完整连续的package名称 8L1 vt Yz  
Ec'Hlsgh&T  
struts.custom.i18n.resources nQ*9E|Vx  
      Location of additional localization properties files to load 5ir Ffr  
      加载附加的国际化属性文件(不包含.properties后缀) L)(JaZyV5  
1V ,Mk#_  
struts.custom.properties 7M8oI.?C|  
      Location of additional configuration properties files to load yzyBr1s  
      加载附加的配置文件的位置 RD6n1Wb(@  
Cfs2tN  
vG'6?%38  
struts.devMode  3-~*  
      Whether Struts is in development mode or not _nwsIjsW  
      是否为struts开发模式 $/p0DY  
{#`O'F>  
struts.dispatcher.parametersWorkaround {&dbxj-'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "%peYNZ&%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Fc&3tw"g  
76::X:76  
struts.enable.DynamicMethodInvocation d?ru8  
      Allows one to disable dynamic method invocation from the URL _+7+90u  
        允许动态方法调用 2JdzeJb  
S@Iza9\|@  
struts.freemarker.manager.classname A>\5fO  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4t 5i9+h  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |VX )S!  
&u+l`F^Z  
struts.i18n.encoding VdL*"i  
      The encoding to use for localization messages ~ECIL7,  
      国际化信息内码 =e)t,YVm  
pq"Z,9,F%  
struts.i18n.reload zEVQ[y6BcM  
      Whether the localization messages should automatically be reloaded zsM2R"[X  
      是否国际化信息自动加载 PfR|\{(  
HOaNhJ{7D  
struts.locale J tvZ~s  
      The default locale for the Struts application #7Fdmnu`  
      默认的国际化地区信息 ^%n]_[RUn4  
vmzc0J+3p  
struts.mapper.class YjCHKI"e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q@Aw]Kh  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 6,;dU-A+  
`.z"Q%uz  
struts.multipart.maxSize  \OJam<hZ  
      The maximize size of a multipart request (file upload) .} O@<t  
      multipart请求信息的最大尺寸(文件上传用) 8$F"!dc _  
I1 pnF61U  
struts.multipart.parser ,B~5;/ |  
      The org.apache.struts2.dispatcher.multipart. 57wHo[CJ  
      MultiPartRequest parser implementation for a multipart request (file upload) 'aWqj+Wbh  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) **V8a-@  
n!dXjInV  
yJK:4af;.  
struts.multipart.saveDir R 7h^ @  
      The directory to use for storing uploaded files [I?[N.v  
      设置存储上传文件的目录夹 G! Y l0Zr  
,&~-Sq) ~  
struts.objectFactory Ij>G7Q*d  
      The com.opensymphony.xwork2.ObjectFactory implementation class A` ~R\j  
      com.opensymphony.xwork2.ObjectFactory接口(spring) i/ .#`  
=,b6yV+$D  
struts.objectFactory.spring.autoWire .C\2f+(U  
      Whether Spring should autoWire or not )IVk4|  
      是否自动绑定Spring %9 3R/bx  
^Gi7th,  
struts.objectFactory.spring.useClassCache Cnr=1E=  
      Whether Spring should use its class cache or not vM'!WVs  
      是否spring应该使用自身的cache t`1M}}.  
#iKPp0`K*  
struts.objectTypeDeterminer ExhK\J  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class g`z;:ao  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 E~@&&d U8  
' 7Mz]@  
struts.serve.static.browserCache Ze!/b|`xI  
If static content served by the Struts filter should set browser caching header properties or not q`'m:{8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cQkj{u  
)K8 ^}L,  
struts.serve.static +Wl]1 c/  
      Whether the Struts filter should serve static content or not uO>x"D5tZ:  
      是否struts过滤器应该提供静态内容 7Ll? #eun  
Q45gC28x  
struts.tag.altSyntax QQ`tSYgex  
      Whether to use the alterative syntax for the tags or not m@Dra2Cv'@  
      是否可以用替代的语法替代tags o~<jayqU  
D<hX%VJ%M  
struts.ui.templateDir TMGYNb%<bX  
      The directory containing UI templates ihJ!]#Fbm  
      UI templates的目录夹 ch2m Ei(  
+DG-MM%\  
struts.ui.theme `_f&T}]  
      The default UI template theme K ton$%Li  
      默认的UI template主题 Egz6rRCvg  
1Ys)b[:  
struts.url.http.port \QQWhwE  
      The HTTP port used by Struts URLs &xt[w>/i  
      设置http端口 w~_ycY.e  
2 OV$M~  
struts.url.https.port l{*m-u5&;  
      The HTTPS port used by Struts URLs pIV |hb!G  
      设置https端口 <FX ]n<  
ow  
struts.url.includeParams Zor!hc0<  
      The default includeParams method to generate Struts URLs =), O;M  
      在url中产生 默认的includeParams P*jiz@6  
,PoG=W  
\K9.]PfbI  
struts.velocity.configfile fW Pa1E@  
      The Velocity configuration file path *s#6e}  
      velocity配置文件路径 mzCd@<T,  
);T&pm:C>  
struts.velocity.contexts TMD\=8Na  
      List of Velocity context names ,RDWx  
      velocity的context列表 q %j8Js  
{Q[ G/=mx  
:f:&B8  
struts.velocity.manager.classname lI%RdA[  
      org.apache.struts2.views.velocity.VelocityManager implementation class Yecdw'BW?  
      org.apache.struts2.views.velocity.VelocityManager接口名 {sxdDl  
)3A+Ell`  
struts.velocity.toolboxlocation eIy:5/s  
      The location of the Velocity toolbox fs yVu|G  
      velocity工具盒的位置 w_V A:]j4  
struts.xslt.nocache {Mj- $G"  
      Whether or not XSLT templates should not be cached ,cxe"U  
      是否XSLT模版应该被缓存 giH#t< )W  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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