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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ad52a3deR  
@}uo:b:Q  
struts.action.extension ywB0 D`s'  
      The URL extension to use to determine if the request is meant for a Struts action h 0)oQrY  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 NRk^Z)  
O;T)u4Q&3  
struts.configuration %eGD1.R  
      The org.apache.struts2.config.Configuration implementation class M'oQ<,yW-  
        org.apache.struts2.config.Configuration接口名 Xn5LrLM&  
c{39,oF  
struts.configuration.files j 20m Z  
      A list of configuration files automatically loaded by Struts ) q/brCq  
      struts自动加载的一个配置文件列表 xK4E+^ b  
|CK/-UG}  
struts.configuration.xml.reload )Y"t$Iw"  
      Whether to reload the XML configuration or not `6LV XDR  
      是否加载xml配置(true,false) 3$BO=hI/-  
jS5K:yx<  
struts.continuations.package 7|Iq4@IT  
      The package containing actions that use Rife continuations z6h/C {  
      含有actions的完整连续的package名称 ]BTISaL-R  
u'gsIuRJ  
struts.custom.i18n.resources Q5IN1 ^=HF  
      Location of additional localization properties files to load QUF1_Sa  
      加载附加的国际化属性文件(不包含.properties后缀) " Lh XR  
0UGAc]!/RZ  
struts.custom.properties 238z'I+$G/  
      Location of additional configuration properties files to load 8^R~qpg%  
      加载附加的配置文件的位置 KqNsCT+j  
f917F.1 I  
k9c`[M  
struts.devMode Xob(4  
      Whether Struts is in development mode or not D2io3Lo$ov  
      是否为struts开发模式 }/g1  
v[a4d&P  
struts.dispatcher.parametersWorkaround ZB5NTNf>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic G B>T3l"  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) akwS;|SZ  
h(^[WSa  
struts.enable.DynamicMethodInvocation w"A>mEex<  
      Allows one to disable dynamic method invocation from the URL "c![s%  
        允许动态方法调用 9Z3Vf[n5\  
eO{2rV45O  
struts.freemarker.manager.classname Wck WX]};S  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5 L-6@@/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 zCu+Oi6  
eEeK ] 8@  
struts.i18n.encoding gV'=u z v  
      The encoding to use for localization messages -NDB.~E^DJ  
      国际化信息内码 %*Yb J_j7  
tcI Z 2H%  
struts.i18n.reload t~Ic{%bdA  
      Whether the localization messages should automatically be reloaded uiWo<}t}{  
      是否国际化信息自动加载 I#W J";kqB  
VY0-18 o  
struts.locale -or)NE  
      The default locale for the Struts application '47E8PIJ|  
      默认的国际化地区信息 gpCWXz')i  
&@qB6!^  
struts.mapper.class V~t; J  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class cQ0+kX<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Tcq@Q$H  
SWNT}{x]  
struts.multipart.maxSize ZZ>(o d!B  
      The maximize size of a multipart request (file upload) YCyh+%Q(  
      multipart请求信息的最大尺寸(文件上传用) nNRc@9Lt  
2V$YZSw6q  
struts.multipart.parser WTZuf9:  
      The org.apache.struts2.dispatcher.multipart. @X_)%Y-^O  
      MultiPartRequest parser implementation for a multipart request (file upload) e^hI[LbNC  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I3Ad+]v  
p >nKNd_aQ  
\r &(l1R  
struts.multipart.saveDir 'tVe#oI  
      The directory to use for storing uploaded files Wa%p+(\<uB  
      设置存储上传文件的目录夹 X C '|  
GEki34 n0  
struts.objectFactory i\RB KF  
      The com.opensymphony.xwork2.ObjectFactory implementation class Ul:M=8nE%  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Gk|T1%  
#jw%0H;l]  
struts.objectFactory.spring.autoWire quFNPdP  
      Whether Spring should autoWire or not q]y{ 4"=5  
      是否自动绑定Spring SqoO"(1x  
eW[](lGWM  
struts.objectFactory.spring.useClassCache )U{IQE;T#  
      Whether Spring should use its class cache or not AQ,%5MeqJ  
      是否spring应该使用自身的cache w X.]O!^X~  
`V?NS,@$  
struts.objectTypeDeterminer &=lh Kt  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =8 DS~J{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Oq 95zo  
!Eb!y`jK  
struts.serve.static.browserCache ul\FZT 4  
If static content served by the Struts filter should set browser caching header properties or not $u,`bX  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 F4g3l    
~JOC8dO  
struts.serve.static 8`q"] BQN  
      Whether the Struts filter should serve static content or not '^.3}N{Fo  
      是否struts过滤器应该提供静态内容 0Rh*SoYrC  
z@xkE ,j>  
struts.tag.altSyntax u"kB`||(  
      Whether to use the alterative syntax for the tags or not i6E~]&~.v  
      是否可以用替代的语法替代tags  ;.~D!  
[Y6ZcO/-i  
struts.ui.templateDir =%+xNOdN7?  
      The directory containing UI templates L#/<y{  
      UI templates的目录夹 ,*;g+[Bhpl  
~&+8m=   
struts.ui.theme 44UN*_qG  
      The default UI template theme _(KzjOMt  
      默认的UI template主题 ;oRgg'k<  
ABhQ7 x|  
struts.url.http.port , L8(Vo`-  
      The HTTP port used by Struts URLs Ewo6Q){X  
      设置http端口 vH]2t.\  
[uu<aRAg3O  
struts.url.https.port zB+zw\ncN  
      The HTTPS port used by Struts URLs alZ83^YN'  
      设置https端口 YU1z\pK  
f7 zGz  
struts.url.includeParams kfy|3KA3m  
      The default includeParams method to generate Struts URLs 5K$d4KT  
      在url中产生 默认的includeParams sHHu<[psM  
vNAQ/Q  
MNKY J  
struts.velocity.configfile Qr[".>+  
      The Velocity configuration file path R"e533  
      velocity配置文件路径 ;x4yidb6  
Njs'v;-K  
struts.velocity.contexts 4zf(  
      List of Velocity context names n*N`].r#{=  
      velocity的context列表 \p J<@  
6am<V]Hw0F  
2B]mD-~  
struts.velocity.manager.classname ]U5/!e  
      org.apache.struts2.views.velocity.VelocityManager implementation class 4J2C# Cs  
      org.apache.struts2.views.velocity.VelocityManager接口名 O4,? C)  
NQ\<~a`Eq  
struts.velocity.toolboxlocation :z+l=d:4  
      The location of the Velocity toolbox f >\~h,SLL  
      velocity工具盒的位置 (EOYJHZB!  
struts.xslt.nocache Gv 6#LcF#  
      Whether or not XSLT templates should not be cached k)S'@>n{u  
      是否XSLT模版应该被缓存 _(:bGI'.m  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五