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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ^Tl|v'   
H;v*/~zl  
struts.action.extension S_)va#b#  
      The URL extension to use to determine if the request is meant for a Struts action B%,0zb+-L  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )t|M)zJ  
=lzjMRX(?  
struts.configuration 2JbCYCTC  
      The org.apache.struts2.config.Configuration implementation class 3o1j l2n  
        org.apache.struts2.config.Configuration接口名 f#!Ljjf$;  
CzwnmSv{.  
struts.configuration.files {3l] /X3  
      A list of configuration files automatically loaded by Struts i6[Hu8  
      struts自动加载的一个配置文件列表 a^,Xm(Wb}  
f>Ge Em~  
struts.configuration.xml.reload f\ Qi()  
      Whether to reload the XML configuration or not |kjk{  
      是否加载xml配置(true,false) w*aKb  
O)&V}hU*  
struts.continuations.package _- { >e  
      The package containing actions that use Rife continuations -ohqw+D  
      含有actions的完整连续的package名称 se_1 wCYz  
VLRW,lR9O  
struts.custom.i18n.resources /: B!hvpw  
      Location of additional localization properties files to load %kF6y_h`  
      加载附加的国际化属性文件(不包含.properties后缀) y3d`$'7H>  
d^ w6_  
struts.custom.properties 7%C6gU!r  
      Location of additional configuration properties files to load ]c*&5c$  
      加载附加的配置文件的位置 M-eX>}CDm  
&)1+WrU  
"I u3&mc  
struts.devMode H>2)R 7h  
      Whether Struts is in development mode or not <"6 }C)G  
      是否为struts开发模式 Y\s@'UoVN  
xse8fGs  
struts.dispatcher.parametersWorkaround ,|D<De\v&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic kid@*.I  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a8NL  
_pL:dKfy7  
struts.enable.DynamicMethodInvocation L~>pSP^a  
      Allows one to disable dynamic method invocation from the URL l1nrJm8  
        允许动态方法调用 N_wB  
Ww:,O48%  
struts.freemarker.manager.classname }qxw Nmx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ubv<3syR'  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 I vO#tI  
!2=< MO  
struts.i18n.encoding .O@T#0&=_  
      The encoding to use for localization messages `-IX"rf  
      国际化信息内码 # R}sGT  
T:dV[3  
struts.i18n.reload @w?hX K=  
      Whether the localization messages should automatically be reloaded (} ?")$.  
      是否国际化信息自动加载 t 7dcaNBZ  
#L ffmS  
struts.locale 3,t3\`=  
      The default locale for the Struts application |U)M.\h  
      默认的国际化地区信息 VBo=*gn,$  
_e:c 22T'  
struts.mapper.class z&Cz!HrS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class c<Fr^8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 },+ &y^  
vq=nG]cE)  
struts.multipart.maxSize NSI$uS6  
      The maximize size of a multipart request (file upload) lk;4l Z  
      multipart请求信息的最大尺寸(文件上传用) 5o2w)<d!  
6fY-D qF!  
struts.multipart.parser NCL!|  
      The org.apache.struts2.dispatcher.multipart. }hRw{#*8  
      MultiPartRequest parser implementation for a multipart request (file upload) ,v,#f .  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) O%}?DiSl  
u0p[ltJ,  
4h~CDy%_  
struts.multipart.saveDir wNl{,aH@  
      The directory to use for storing uploaded files #p$iWY>e~  
      设置存储上传文件的目录夹 :J6 xYy$  
lu vrvm  
struts.objectFactory eCFMWFhC  
      The com.opensymphony.xwork2.ObjectFactory implementation class owQSy9Az  
      com.opensymphony.xwork2.ObjectFactory接口(spring) "lLwgh;  
@S9^~W3G3  
struts.objectFactory.spring.autoWire gv\WI4"n  
      Whether Spring should autoWire or not \:y oS>G  
      是否自动绑定Spring n37P$0  
|r['"6  
struts.objectFactory.spring.useClassCache s_o{w"3X  
      Whether Spring should use its class cache or not uHeKttR-  
      是否spring应该使用自身的cache lV".-:u_  
[eLMb)n  
struts.objectTypeDeterminer ANWfRtiU#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [|&#A;{F#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;-kC&GZf  
f*o+g:]3  
struts.serve.static.browserCache Xrl# DN  
If static content served by the Struts filter should set browser caching header properties or not &$yxAqdab  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ahk q  
{:] u 6l  
struts.serve.static ZSvU1T8  
      Whether the Struts filter should serve static content or not P"[\p|[U  
      是否struts过滤器应该提供静态内容 7K5 tBUNQ  
4ibOVBG:*,  
struts.tag.altSyntax 8B! MgNKV  
      Whether to use the alterative syntax for the tags or not []:&WA 9N  
      是否可以用替代的语法替代tags Q2qT[aD,  
d0V*[{  
struts.ui.templateDir ?k`UQi]Q  
      The directory containing UI templates X6<Ds'I  
      UI templates的目录夹 18,;2Sr44  
 SwE bVwB  
struts.ui.theme ^ 6b27_=  
      The default UI template theme w"{mDL}c  
      默认的UI template主题 muAgsH$/  
\AeM=K6q+D  
struts.url.http.port @.)WS\Cv#E  
      The HTTP port used by Struts URLs nvB< pSm  
      设置http端口 BdrYc^?JL]  
ZiW&*nN?M  
struts.url.https.port .;F%k,!v  
      The HTTPS port used by Struts URLs J\Db8O-/x4  
      设置https端口 6L"b O'_5K  
#(}'G*  
struts.url.includeParams f cnv[B..{  
      The default includeParams method to generate Struts URLs BdB9M8fM  
      在url中产生 默认的includeParams MzMVs3w|  
+#L'g c  
Q[Gs%/>  
struts.velocity.configfile cHC1l  
      The Velocity configuration file path c+{ ar^)*  
      velocity配置文件路径 W[f%m0  
vddl9"V)  
struts.velocity.contexts Lb#PiTJI  
      List of Velocity context names )# v}8aL  
      velocity的context列表 T 9FGuit9  
QtA@p  
3N ?"s1U  
struts.velocity.manager.classname JFdMYb  
      org.apache.struts2.views.velocity.VelocityManager implementation class ASB3|uy_  
      org.apache.struts2.views.velocity.VelocityManager接口名 ):\+%v^  
(%'`t(<  
struts.velocity.toolboxlocation #+H3b!8=  
      The location of the Velocity toolbox >}B53.;.k  
      velocity工具盒的位置 d ATAH}r&  
struts.xslt.nocache 9* P-k.Bl  
      Whether or not XSLT templates should not be cached _7b4+ L  
      是否XSLT模版应该被缓存 0ybMI+*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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