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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @.4e^Km  
 >%~E <  
struts.action.extension =,*4:TU  
      The URL extension to use to determine if the request is meant for a Struts action }]qx "  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5`ma#_zk|f  
xk1pZQ8c  
struts.configuration ?~mw  
      The org.apache.struts2.config.Configuration implementation class 1I'ep\`"X  
        org.apache.struts2.config.Configuration接口名 aS7[s6  
Ly0U')D:  
struts.configuration.files A.mIqu,:  
      A list of configuration files automatically loaded by Struts [M^ur%H  
      struts自动加载的一个配置文件列表 `=]I -5#.W  
*-!&5~o/U  
struts.configuration.xml.reload rA*"22v=  
      Whether to reload the XML configuration or not U9om}WKO  
      是否加载xml配置(true,false) ,oW8im   
8gA:s`ofJ  
struts.continuations.package ng ZkBX  
      The package containing actions that use Rife continuations }ph;~og}y  
      含有actions的完整连续的package名称 lS`hJ:  
:QSCky*i  
struts.custom.i18n.resources \XG18V&  
      Location of additional localization properties files to load %H-(-v^T*  
      加载附加的国际化属性文件(不包含.properties后缀) #-QQ_  
bS0z\!1  
struts.custom.properties (I?CW~3#  
      Location of additional configuration properties files to load b,?@_*qv+  
      加载附加的配置文件的位置 hBSci|*f  
Lv;R8^n  
K1P3 FfG  
struts.devMode uW.)(l  
      Whether Struts is in development mode or not nDR)UR  
      是否为struts开发模式 =w~phn  
u -CCUMR  
struts.dispatcher.parametersWorkaround a;Nj'M~U  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic HWr")%EhD  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) DhQYjC[  
#+1*g4m~B  
struts.enable.DynamicMethodInvocation ]LvpYRU$P  
      Allows one to disable dynamic method invocation from the URL %hYol89F  
        允许动态方法调用 MTKd:.J6  
]}g;q*!J  
struts.freemarker.manager.classname ; rSpM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [qHLo>HaL  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mkfU fG&  
%"R|tlG  
struts.i18n.encoding u&iMY3=  
      The encoding to use for localization messages =R M=@X  
      国际化信息内码 htn"rY(  
^#H%LLt  
struts.i18n.reload uT5sLpA|6  
      Whether the localization messages should automatically be reloaded UMg*Yv%  
      是否国际化信息自动加载 AZmABl  
Bn7~p+N  
struts.locale VQ{.Ls2`Z  
      The default locale for the Struts application GEg8\  
      默认的国际化地区信息 9(%ptnya  
&Rgy/1  
struts.mapper.class /4\!zPPj.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7Y:~'&U|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 oGzZ.K3 A  
y;N[#hY#CD  
struts.multipart.maxSize S`LS/)  
      The maximize size of a multipart request (file upload) @v1f)(N  
      multipart请求信息的最大尺寸(文件上传用) |[k/%  
A7~~{9  
struts.multipart.parser E%CJM+r!  
      The org.apache.struts2.dispatcher.multipart. 3pSkk  
      MultiPartRequest parser implementation for a multipart request (file upload) Q\H_lB  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {DPobyvwFk  
\ 9T;-]  
*$ZLu jy7  
struts.multipart.saveDir Ns6Vf5T.  
      The directory to use for storing uploaded files 83*"58  
      设置存储上传文件的目录夹 fP41 B  
ZJotg *I  
struts.objectFactory 8ODrW!o  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6Xjr0 C+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Nz+Jf57t  
EUv xil  
struts.objectFactory.spring.autoWire } k[gR I]  
      Whether Spring should autoWire or not qDqgU  
      是否自动绑定Spring ,UFr??ZKm  
^L&hwXAO:  
struts.objectFactory.spring.useClassCache Bc {#ia  
      Whether Spring should use its class cache or not ?#F}mOVAa  
      是否spring应该使用自身的cache y//yLrs;  
z6tH2Wxf  
struts.objectTypeDeterminer `TBI{q[y  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class _v2 K1 1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,!"\L~6  
< PoRnx  
struts.serve.static.browserCache C7ZU)MEUd/  
If static content served by the Struts filter should set browser caching header properties or not Z5/g\G[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 o0:[,ock  
6x*u S~'  
struts.serve.static pn6 e{   
      Whether the Struts filter should serve static content or not Hu .e@7  
      是否struts过滤器应该提供静态内容 ER:)Fk>_  
4Fr0/="H  
struts.tag.altSyntax lY5a=mwHU  
      Whether to use the alterative syntax for the tags or not 66"-Xf~u  
      是否可以用替代的语法替代tags v)(tB7&`=  
>$]SYF29  
struts.ui.templateDir 4_3 DQx9s  
      The directory containing UI templates y0Pr[XZ  
      UI templates的目录夹 gB!K{ Io'  
m: 77pE&o  
struts.ui.theme UE4zmIq  
      The default UI template theme h' OLj#H  
      默认的UI template主题 $x&\9CRM  
F=C8U$'S  
struts.url.http.port Gc) Zu`67  
      The HTTP port used by Struts URLs eATX8`W  
      设置http端口 SSANt?\Z<  
w, u`06  
struts.url.https.port |Ew\Tgo/2  
      The HTTPS port used by Struts URLs }hOExTz  
      设置https端口 3AWNoXh  
|C9qM  
struts.url.includeParams YShtoaCx>  
      The default includeParams method to generate Struts URLs ?@ ei_<A{  
      在url中产生 默认的includeParams H4'xxsx  
iP1u u  
Ws[[Me, =  
struts.velocity.configfile ]p(jL7  
      The Velocity configuration file path jV^Dj  
      velocity配置文件路径 %?lPS  
Hh=D:kE  
struts.velocity.contexts s}Q%]W  
      List of Velocity context names dKcHj<'E/  
      velocity的context列表 p1 tfN$-  
%=J<WA6\  
4a;8XAl  
struts.velocity.manager.classname +%%FT#ce  
      org.apache.struts2.views.velocity.VelocityManager implementation class dB7E&"f  
      org.apache.struts2.views.velocity.VelocityManager接口名 D/_=rAl1  
;8UHnhk_O  
struts.velocity.toolboxlocation ?U]/4]  
      The location of the Velocity toolbox C[:Q?LE  
      velocity工具盒的位置 'z\K0  
struts.xslt.nocache y: @[QhV  
      Whether or not XSLT templates should not be cached T!o 4k  
      是否XSLT模版应该被缓存 rt5UT~  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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