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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 rmabm\QY  
Qy70/on9  
struts.action.extension #>- rKv.A  
      The URL extension to use to determine if the request is meant for a Struts action |wLQ)y*  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 cbwzT0  
 *$cp"  
struts.configuration :jUuw:\  
      The org.apache.struts2.config.Configuration implementation class YAPD7hA  
        org.apache.struts2.config.Configuration接口名 /GXO2zO  
9{TOFjsF  
struts.configuration.files ReE3742@  
      A list of configuration files automatically loaded by Struts 3?%kawO&  
      struts自动加载的一个配置文件列表 <>e<Xd:77{  
ks r5P~  
struts.configuration.xml.reload #!5Nbe  
      Whether to reload the XML configuration or not e`~q ;?:  
      是否加载xml配置(true,false) WuNu}Ibl}m  
kyjH~mK4  
struts.continuations.package yBe/UFp+  
      The package containing actions that use Rife continuations _bd#C   
      含有actions的完整连续的package名称 PR'FSTg  
]bR'J\Fwl  
struts.custom.i18n.resources :5*<QJuI#A  
      Location of additional localization properties files to load 6=g7|}  
      加载附加的国际化属性文件(不包含.properties后缀) vJCL m/}*  
sY6'y'a95  
struts.custom.properties 5 rWRE-  
      Location of additional configuration properties files to load ua[\npz5  
      加载附加的配置文件的位置 # _7c>gn  
%nCUct@c  
?hmb"^vlG  
struts.devMode 62 _$O"  
      Whether Struts is in development mode or not i4pJIb  
      是否为struts开发模式 0K2[E^.WN  
:RQ[(zD]  
struts.dispatcher.parametersWorkaround MMAC,4  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic IW1\vfe  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) QVH_B+ Q  
b5|p#&YK~  
struts.enable.DynamicMethodInvocation amSyGQ2  
      Allows one to disable dynamic method invocation from the URL O.E0LCABC  
        允许动态方法调用 :I $2[K  
{S}@P~H =  
struts.freemarker.manager.classname Yo(B8}?0!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class i\ Vpp8<B  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 NN:TT\!v  
;MMFF{  
struts.i18n.encoding >YfOR%mS4  
      The encoding to use for localization messages L)+ eM&W  
      国际化信息内码 U .Od  
bGJUu#  
struts.i18n.reload 5QSmim  
      Whether the localization messages should automatically be reloaded 1P[Lz!C  
      是否国际化信息自动加载 3a qmK.`H  
&f yFUg  
struts.locale LF~#4)B  
      The default locale for the Struts application sZH7 EK  
      默认的国际化地区信息 ~"mZ0 E  
II8nz[s  
struts.mapper.class 9y4rw]4zI  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (=/F=,w   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C|I 1 m  
>gZz`CH  
struts.multipart.maxSize oB\Xl)A<  
      The maximize size of a multipart request (file upload) ) G{v>Z ,  
      multipart请求信息的最大尺寸(文件上传用) zoJ;5a.3B  
UIl_& |  
struts.multipart.parser TUaK:*x*  
      The org.apache.struts2.dispatcher.multipart. [:QMnJ  
      MultiPartRequest parser implementation for a multipart request (file upload) (*RybKoaA  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l(5-Cr  
t0>{0 5  
yd72y'zi  
struts.multipart.saveDir Wj:QC<5 v  
      The directory to use for storing uploaded files a  98  
      设置存储上传文件的目录夹 ' XF`&3 i  
*[H+8/n_  
struts.objectFactory XOCau.#  
      The com.opensymphony.xwork2.ObjectFactory implementation class c-.>C)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #H[ 4?4r  
_PM<25Y,@  
struts.objectFactory.spring.autoWire nnG2z@$-  
      Whether Spring should autoWire or not ?6QJP|kE  
      是否自动绑定Spring !Ia"pNDf  
%D r?.e  
struts.objectFactory.spring.useClassCache #:|Y(,c  
      Whether Spring should use its class cache or not cDiz!n*.q  
      是否spring应该使用自身的cache +29\'w,  
{h"\JI!  
struts.objectTypeDeterminer )DmiN^:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class B@]7eVo  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `I8^QcP  
ymZ/(:3_  
struts.serve.static.browserCache { +2cRr.  
If static content served by the Struts filter should set browser caching header properties or not tTGK25&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >bN~p  
<L~xR5  
struts.serve.static sAoM=n}!  
      Whether the Struts filter should serve static content or not zy[=OX+  
      是否struts过滤器应该提供静态内容 9i}D6te  
.$0Ob<.  
struts.tag.altSyntax m0Syxb  
      Whether to use the alterative syntax for the tags or not u-{l,p_H  
      是否可以用替代的语法替代tags ql~{`qoD~  
Z0eBx  
struts.ui.templateDir z#VpS=  
      The directory containing UI templates  +Rgw+o  
      UI templates的目录夹 $NT9LtT@K  
i)L:VkN  
struts.ui.theme o# xg:m_py  
      The default UI template theme = Y-Ne6a  
      默认的UI template主题 ?@?a}  
io{H$  x(  
struts.url.http.port R2aK5~   
      The HTTP port used by Struts URLs Sx)Il~ x  
      设置http端口 nV3 7` I  
Zd U{`>v  
struts.url.https.port 9S%gVNxn  
      The HTTPS port used by Struts URLs 3Jm'q,TC  
      设置https端口 50ew/fZj|  
em [F|  
struts.url.includeParams 6b70w @P!  
      The default includeParams method to generate Struts URLs huJq#5?  
      在url中产生 默认的includeParams lK,=`xe  
%hbLT{w  
,/6:bc:W  
struts.velocity.configfile (?BgT i\  
      The Velocity configuration file path p@Y$eZ:O  
      velocity配置文件路径 &}0wzcMg  
TucAs 0-bF  
struts.velocity.contexts 8Wx@[!  
      List of Velocity context names Om2X>/V%C  
      velocity的context列表 _P<lG[V  
KWJgW{{v  
:6$4K"^1  
struts.velocity.manager.classname bmVgTm&  
      org.apache.struts2.views.velocity.VelocityManager implementation class %lJiM`a  
      org.apache.struts2.views.velocity.VelocityManager接口名 6 2`PK+  
NWHH.1|  
struts.velocity.toolboxlocation Q|B|#?E==  
      The location of the Velocity toolbox ; eF4J  
      velocity工具盒的位置 Rca Os  
struts.xslt.nocache $SzCVWS  
      Whether or not XSLT templates should not be cached A>t!/_"  
      是否XSLT模版应该被缓存 9G&l qfX:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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