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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]]|vQA^  
a`zw5  
struts.action.extension <*DP G\6Ma  
      The URL extension to use to determine if the request is meant for a Struts action !{ /AJb  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V e4@^Jy;  
+<n8O~h  
struts.configuration pv,I_"  
      The org.apache.struts2.config.Configuration implementation class Dqm;twd>  
        org.apache.struts2.config.Configuration接口名 7 JVonruaR  
X=pPkgW  
struts.configuration.files E7|P\^}m(f  
      A list of configuration files automatically loaded by Struts RU,!F99'1  
      struts自动加载的一个配置文件列表 )5ISkbsxD  
-\}Ix>  
struts.configuration.xml.reload i,y7R?-K  
      Whether to reload the XML configuration or not KgEfhO$W  
      是否加载xml配置(true,false) 4 UnN~  
 ehQ~+x  
struts.continuations.package @'FOM  
      The package containing actions that use Rife continuations /7Ft1f  
      含有actions的完整连续的package名称 r r(UE  
JAI;7  
struts.custom.i18n.resources q%k _C0  
      Location of additional localization properties files to load _eMY ?  
      加载附加的国际化属性文件(不包含.properties后缀) 9d&}CZr  
j'|`:^ Sy  
struts.custom.properties rfhvdwwD  
      Location of additional configuration properties files to load };]f 3  
      加载附加的配置文件的位置 4GqE%n+ta~  
W> rx:O+  
}B2qtb3  
struts.devMode |BA<> WE  
      Whether Struts is in development mode or not >y iE}  
      是否为struts开发模式 kB ;!EuL  
of?0 y-LT%  
struts.dispatcher.parametersWorkaround JiCy77H  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `i3fC&?C  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d]QCk &XU  
x|<89o L  
struts.enable.DynamicMethodInvocation @3I/57u<  
      Allows one to disable dynamic method invocation from the URL \k*h& :$  
        允许动态方法调用 Ss#UX_DT_  
IT\ x0b cv  
struts.freemarker.manager.classname O_y?53X  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class w1 tg7^(@  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Q)}z$h55  
5tl uS  
struts.i18n.encoding N!^5<2z@eT  
      The encoding to use for localization messages kS$m$ D  
      国际化信息内码 a1# 'uS9W  
iU a `<  
struts.i18n.reload Ems0"e  
      Whether the localization messages should automatically be reloaded 2~2j?\AEd.  
      是否国际化信息自动加载 y,=TB#  
*p7_rY  
struts.locale O,?aVgY  
      The default locale for the Struts application - WK  
      默认的国际化地区信息 g'1ASMuR  
\9s x_T  
struts.mapper.class RaLc}F)9   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6T{SRN{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (Y$48@x  
Shb"Jc_i  
struts.multipart.maxSize qn|~z@"  
      The maximize size of a multipart request (file upload) nV&v@g4Tt  
      multipart请求信息的最大尺寸(文件上传用) rty&\u@}  
Z;nUS,?om  
struts.multipart.parser 41jlfKiOm  
      The org.apache.struts2.dispatcher.multipart. hXz@ (cF  
      MultiPartRequest parser implementation for a multipart request (file upload) 4+15`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) { aq}Q|?/  
g\foBK:GE  
d]w%zo,yr  
struts.multipart.saveDir :pPn)j$  
      The directory to use for storing uploaded files ~TfQuIvQB  
      设置存储上传文件的目录夹 Ve^rzGU  
j\.\ePmk]  
struts.objectFactory Z7Xic5PI{4  
      The com.opensymphony.xwork2.ObjectFactory implementation class eFdN"8EW  
      com.opensymphony.xwork2.ObjectFactory接口(spring) WHvU|rJ  
L% ?3VW  
struts.objectFactory.spring.autoWire ##clReS  
      Whether Spring should autoWire or not ?br4 wl  
      是否自动绑定Spring [u}2xsSx  
m kHcGB!~  
struts.objectFactory.spring.useClassCache 3Mt Alc0xp  
      Whether Spring should use its class cache or not x$Tf IFy  
      是否spring应该使用自身的cache  = ~^  
&[|P/gj#>  
struts.objectTypeDeterminer 5 ]v]^Y'?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gtV*`g  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K5SP8<.  
?^H1X-;  
struts.serve.static.browserCache Jdp@3mP  
If static content served by the Struts filter should set browser caching header properties or not H{nYZOf/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 UAq%Y8KA  
yCG<qQz  
struts.serve.static @%sr#YqY  
      Whether the Struts filter should serve static content or not auT'ATW7i  
      是否struts过滤器应该提供静态内容 |=W=H6h*  
s;4r)9Uvx  
struts.tag.altSyntax VPqMbr"L[  
      Whether to use the alterative syntax for the tags or not zS+_6s  
      是否可以用替代的语法替代tags !wZ  9P  
W:z!fh-  
struts.ui.templateDir #8[iqvE  
      The directory containing UI templates 7f\@3r  
      UI templates的目录夹 A T'P=)F@  
#cD20t  
struts.ui.theme gaXKP1m^  
      The default UI template theme ;_hL  
      默认的UI template主题 iu(+ N~  
#J<IHNRt  
struts.url.http.port {-?8r>  
      The HTTP port used by Struts URLs 0x/3Xz  
      设置http端口 zr5(nAl  
DTR/.Nr'K  
struts.url.https.port bxA1fA;  
      The HTTPS port used by Struts URLs @Xb>GPVe#L  
      设置https端口 q=40  l  
1-bQ ( -  
struts.url.includeParams n%YG)5;  
      The default includeParams method to generate Struts URLs @*rED6zH  
      在url中产生 默认的includeParams b[_${in:  
5};$>47m  
hfuGCD6F`  
struts.velocity.configfile 'N?t=A  
      The Velocity configuration file path @ dF]X  
      velocity配置文件路径 g2'Q)w  
t[-0/-4  
struts.velocity.contexts @lnM%  
      List of Velocity context names x6c#[:R&  
      velocity的context列表 p/f!\  
b-XC\  
>&3ATH;&(  
struts.velocity.manager.classname OK^0,0kS3  
      org.apache.struts2.views.velocity.VelocityManager implementation class N2x!RYW  
      org.apache.struts2.views.velocity.VelocityManager接口名 Vt!<.8&`  
e;/C}sK:  
struts.velocity.toolboxlocation IAJYD/Y&?  
      The location of the Velocity toolbox |rbl sL2?Z  
      velocity工具盒的位置 ax)j$  
struts.xslt.nocache +#d}3^_]  
      Whether or not XSLT templates should not be cached +e6c4Tw/  
      是否XSLT模版应该被缓存 2!4.L&Ki  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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