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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 wOMrUWB0  
kT-dQ32  
struts.action.extension |2Krxi3*  
      The URL extension to use to determine if the request is meant for a Struts action Oc,E\~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?&gqGU}  
3p+V~n.+  
struts.configuration TTDcVG_}  
      The org.apache.struts2.config.Configuration implementation class )a7nr<)aU  
        org.apache.struts2.config.Configuration接口名 z`Jcpt  
eq" eLk6h  
struts.configuration.files mM[KT} A  
      A list of configuration files automatically loaded by Struts .8 GX8[t  
      struts自动加载的一个配置文件列表 :eH*biXy}2  
CI#6 r8u  
struts.configuration.xml.reload JJQS7,vG  
      Whether to reload the XML configuration or not mBwM=LAZ  
      是否加载xml配置(true,false) _YK66cS3E/  
~vbyX  
struts.continuations.package 9 HiH6f^5  
      The package containing actions that use Rife continuations {+3 `{34e  
      含有actions的完整连续的package名称 h]+UK14m  
*jf%Wj)0M  
struts.custom.i18n.resources '9ki~jtf=  
      Location of additional localization properties files to load a<NZC  
      加载附加的国际化属性文件(不包含.properties后缀) W>E/LBpE4  
\4`:~c  
struts.custom.properties K]{x0A  
      Location of additional configuration properties files to load @%^JB  
      加载附加的配置文件的位置 #NyfE|MKBC  
DXa!"ZU  
i-jrF6&  
struts.devMode P Nf_{4  
      Whether Struts is in development mode or not OGR2Y  
      是否为struts开发模式 g7UZtpLTm  
4\_~B{kzZ  
struts.dispatcher.parametersWorkaround MwuRxeRO-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic WR.>?IG2E  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >iV2>o_  
b)[2t^zG  
struts.enable.DynamicMethodInvocation mG*ER^Y@D  
      Allows one to disable dynamic method invocation from the URL ez-jVi-Fi  
        允许动态方法调用 q\$k'(k>35  
{i^F4A@=Z  
struts.freemarker.manager.classname $eq*@5B  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class G`e!WvC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \[J\I  
cr`NHl/XF  
struts.i18n.encoding p9y@5z  
      The encoding to use for localization messages Bjp4:;Bb  
      国际化信息内码 `DFo:w!k  
5%jy7)8C  
struts.i18n.reload n~Yr`5+Z  
      Whether the localization messages should automatically be reloaded Z}AhDIw!G  
      是否国际化信息自动加载 <r1/& RW,  
2CF5qn}T  
struts.locale FokSg[)5  
      The default locale for the Struts application (&KBYiwr  
      默认的国际化地区信息 u9*7Buou^  
Y6E0-bL@Fe  
struts.mapper.class *'n L[]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .WVIdVO7  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 r [E4/?_  
'Ul^V  
struts.multipart.maxSize lD#S:HX  
      The maximize size of a multipart request (file upload) g7;OZ#\  
      multipart请求信息的最大尺寸(文件上传用) XOoz.GSQ  
\v _R]0m\  
struts.multipart.parser VeipM  
      The org.apache.struts2.dispatcher.multipart. 6pdek3pOCt  
      MultiPartRequest parser implementation for a multipart request (file upload) m ##_U9O  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) VZ]}9k  
A7I{Le  
`uof\D<']  
struts.multipart.saveDir ^4~?]5Y\  
      The directory to use for storing uploaded files ]^0mh["  
      设置存储上传文件的目录夹 3De(:c)@  
s}<i[hY>  
struts.objectFactory | vPU]R>6  
      The com.opensymphony.xwork2.ObjectFactory implementation class )eVn1U2*z.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) M#.dF{ %%  
Ms=N+e$n  
struts.objectFactory.spring.autoWire XE$;Z'Qhjm  
      Whether Spring should autoWire or not %%T?LRv  
      是否自动绑定Spring C*stj  
^Z+p_;J$p  
struts.objectFactory.spring.useClassCache w y&yK*w  
      Whether Spring should use its class cache or not H-qbgd6&>R  
      是否spring应该使用自身的cache "!R*f $  
717OzrF}A?  
struts.objectTypeDeterminer }1mkX\wWP  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class .^wBv 'Y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 JYR^k=  
lxfv'A  
struts.serve.static.browserCache ?BR Z){)  
If static content served by the Struts filter should set browser caching header properties or not cz1 m05E  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 P#9Pq,I  
=>- W!Of  
struts.serve.static 8I7JsCj  
      Whether the Struts filter should serve static content or not 2<E@f0BVAy  
      是否struts过滤器应该提供静态内容 "9IR|  
X2mZ~RB(p  
struts.tag.altSyntax pD]2.O  
      Whether to use the alterative syntax for the tags or not q\/xx`L  
      是否可以用替代的语法替代tags AHzm9U @  
mYFc53B  
struts.ui.templateDir ?!u9=??  
      The directory containing UI templates G6bvV*TRi  
      UI templates的目录夹 s{:Thgv,9  
|*g\-2j{  
struts.ui.theme tN;^{O-(V  
      The default UI template theme sitgz)Ki^  
      默认的UI template主题 rrSFmhQUk  
^[VEr"X  
struts.url.http.port 0v|qP  
      The HTTP port used by Struts URLs $+ORq3  
      设置http端口 XPLm`Q|1#t  
qu0 q LM  
struts.url.https.port ^ f[^.k$3d  
      The HTTPS port used by Struts URLs y/>Nx7C0=2  
      设置https端口 BKK@_B"  
*rVI[k L  
struts.url.includeParams 63'L58O  
      The default includeParams method to generate Struts URLs 5R6QZVc  
      在url中产生 默认的includeParams NNBT.k3)  
nK`H;k  
qga\icQr  
struts.velocity.configfile rAk;8)O$  
      The Velocity configuration file path ~i0>[S3 '  
      velocity配置文件路径 O&Y22mu  
b_)SMAsO7  
struts.velocity.contexts ir5eR}H  
      List of Velocity context names ]/|DCxQ  
      velocity的context列表 b?/Su<q  
\[ W`hhJ  
s >k4G  
struts.velocity.manager.classname %reW/;)l{  
      org.apache.struts2.views.velocity.VelocityManager implementation class AMN`bgxW  
      org.apache.struts2.views.velocity.VelocityManager接口名 _ucixM#  
^97[(89G9  
struts.velocity.toolboxlocation I7C+XUQkQ  
      The location of the Velocity toolbox ,=2)1I]  
      velocity工具盒的位置 dKmPKeJM  
struts.xslt.nocache rIX 40,`  
      Whether or not XSLT templates should not be cached !Pu7%nV.  
      是否XSLT模版应该被缓存 x[R?hS,0 t  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五