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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,m5i(WL  
j-W$)c3X  
struts.action.extension =\5WYC  
      The URL extension to use to determine if the request is meant for a Struts action G 2)F<Y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^MF 2Q+  
tZz%x?3G  
struts.configuration -OlrA{=c_  
      The org.apache.struts2.config.Configuration implementation class ZL\^J8PRK  
        org.apache.struts2.config.Configuration接口名 HbsNF~;  
jYRSV7d  
struts.configuration.files 1BU97!  
      A list of configuration files automatically loaded by Struts j2UQQFh  
      struts自动加载的一个配置文件列表 *qy \%A  
,.>9$(s  
struts.configuration.xml.reload @:GqOTN  
      Whether to reload the XML configuration or not R^o535pozc  
      是否加载xml配置(true,false) ,.cR@5qI  
d$3md<lIB  
struts.continuations.package ":M]3.  
      The package containing actions that use Rife continuations ]B=*p0~j^n  
      含有actions的完整连续的package名称 u@#%SX  
,#3Aaw   
struts.custom.i18n.resources BoYY^ih  
      Location of additional localization properties files to load `v``}8tm  
      加载附加的国际化属性文件(不包含.properties后缀) @Xl(A]w%!  
^]R_t@  
struts.custom.properties N'WTIM3W  
      Location of additional configuration properties files to load W6NhJ#M7  
      加载附加的配置文件的位置  t8EI"|  
iIX%%r+  
u0&R*YV  
struts.devMode *pa hZiO  
      Whether Struts is in development mode or not JR.)CzC  
      是否为struts开发模式 E2>{ seZ  
;P)oKx  
struts.dispatcher.parametersWorkaround Ne Y*l  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ="& GU%$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ~ O#\$u  
%QEBY>|lI  
struts.enable.DynamicMethodInvocation s_NY#MPz[  
      Allows one to disable dynamic method invocation from the URL Z%3CmKdeF  
        允许动态方法调用 Rh^@1{yr  
q=5aHH% |  
struts.freemarker.manager.classname |> STb\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class oLKliA=q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 F8-GnT xa  
ojnO69v  
struts.i18n.encoding B1 }-   
      The encoding to use for localization messages @iuX~QA[9  
      国际化信息内码 k37?NoT  
/ e>%yq<9B  
struts.i18n.reload U,i_}O3Q  
      Whether the localization messages should automatically be reloaded _dd! nU\A|  
      是否国际化信息自动加载 u>lt}0  
Pq [_(Nt  
struts.locale gdf0  
      The default locale for the Struts application y7F |v8bq  
      默认的国际化地区信息 Gb `)d  
6}E>B{Y  
struts.mapper.class j_so s%-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  N~$>| gn  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 BC.3U.  
h^=;\ng1l  
struts.multipart.maxSize ux TgK'3  
      The maximize size of a multipart request (file upload) 8 8_ef7w  
      multipart请求信息的最大尺寸(文件上传用) ,EEAxmf  
R*:$^v@4  
struts.multipart.parser ,1mL=|na  
      The org.apache.struts2.dispatcher.multipart. ^>l <)$s  
      MultiPartRequest parser implementation for a multipart request (file upload) ' J@J$#6  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) LhLAQ2~  
`r1}:`.m,  
doL-G?8B  
struts.multipart.saveDir ,K,st+s|  
      The directory to use for storing uploaded files 5m~9Vl-&  
      设置存储上传文件的目录夹 5]dlD #  
zG_nx3  
struts.objectFactory G7&TMg7i  
      The com.opensymphony.xwork2.ObjectFactory implementation class ZXb|3|D  
      com.opensymphony.xwork2.ObjectFactory接口(spring) [M[#f&=Z  
aU(.LC  
struts.objectFactory.spring.autoWire GLO3v. n;  
      Whether Spring should autoWire or not y-+W  
      是否自动绑定Spring hb; CpA  
KUU {X~w  
struts.objectFactory.spring.useClassCache (y]Z*p:EW  
      Whether Spring should use its class cache or not Uwkxc  
      是否spring应该使用自身的cache LnE/62){N  
h_4*?w  
struts.objectTypeDeterminer W_M#Gi/ AL  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `r SOt *<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 GrG'G(NQ  
8B*(P>  
struts.serve.static.browserCache 4x)vy -y  
If static content served by the Struts filter should set browser caching header properties or not 5{b;wLi$X2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 2om:S+3)2  
-/?)0E  
struts.serve.static rNV3-#kU  
      Whether the Struts filter should serve static content or not tsg`c;{  
      是否struts过滤器应该提供静态内容 $(D>v!dp  
EFC+7L(j  
struts.tag.altSyntax 5?$MZaT  
      Whether to use the alterative syntax for the tags or not Q8`V0E\~  
      是否可以用替代的语法替代tags :8@)W<>%  
KE,.Evyu=  
struts.ui.templateDir "yQBHYP  
      The directory containing UI templates cV6H!\  
      UI templates的目录夹 Dc0=gq0  
+TqrvI.  
struts.ui.theme |j0_^:2r=  
      The default UI template theme R-m5(  
      默认的UI template主题 Ua \f]y  
H Y5R  
struts.url.http.port Kfb(wW  
      The HTTP port used by Struts URLs ;wMu  
      设置http端口 )dfhy  
DRm`y>.  
struts.url.https.port S~:uOm2t\  
      The HTTPS port used by Struts URLs 2z !05]B%  
      设置https端口 o;6~pw%  
&UH0Tw4   
struts.url.includeParams O W.CU=XU  
      The default includeParams method to generate Struts URLs /#vt \I<x  
      在url中产生 默认的includeParams 6Tmz!E0  
3?j: M]fR  
Crc6wmp  
struts.velocity.configfile ?n{m2.H  
      The Velocity configuration file path #EUT"^:d  
      velocity配置文件路径 XdA]);,  
(.=Y_g.  
struts.velocity.contexts -Wa<}Tz  
      List of Velocity context names BC!) g+8  
      velocity的context列表 i45.2,  
&Y1h=,KR9  
Io<T'K  
struts.velocity.manager.classname ~/A2 :}Cp=  
      org.apache.struts2.views.velocity.VelocityManager implementation class Vq0X:<9  
      org.apache.struts2.views.velocity.VelocityManager接口名 (pCHj'  
$s=` {vv  
struts.velocity.toolboxlocation W3[>IH"+  
      The location of the Velocity toolbox 7ucm1   
      velocity工具盒的位置 axmq/8X  
struts.xslt.nocache n eu<zSS  
      Whether or not XSLT templates should not be cached TI8\qIW  
      是否XSLT模版应该被缓存 ">=Ep+ix  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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