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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Sx", Zb  
"<y0D!&  
struts.action.extension ySk'#\d  
      The URL extension to use to determine if the request is meant for a Struts action 7 P$>T  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 v0}R]h~>\H  
#nOS7Q#uW  
struts.configuration WG0Ne;Ho  
      The org.apache.struts2.config.Configuration implementation class ClvqI"Rd  
        org.apache.struts2.config.Configuration接口名 ?onTW2cG;  
j~@Hj$APa`  
struts.configuration.files CtO`t5  
      A list of configuration files automatically loaded by Struts <$]=Vaq  
      struts自动加载的一个配置文件列表 ~Kr_[X:d5  
97%S{_2m/  
struts.configuration.xml.reload 9+o`/lk1  
      Whether to reload the XML configuration or not O4mSr{HCp  
      是否加载xml配置(true,false) !b0ANIp  
QmpP_eS >  
struts.continuations.package `Z 3p( G  
      The package containing actions that use Rife continuations _Bp{~-fO  
      含有actions的完整连续的package名称 T3W?-,  
6pHn%yE*  
struts.custom.i18n.resources !\ckUMZ\  
      Location of additional localization properties files to load pS vqGJU3  
      加载附加的国际化属性文件(不包含.properties后缀) cy6lsJ"?  
[Pnk@jIk4  
struts.custom.properties -t:~d:  
      Location of additional configuration properties files to load ~x:B@Ow  
      加载附加的配置文件的位置 drr n&y  
AP8YY8,  
G{ 9p.Q  
struts.devMode Gidh7x  
      Whether Struts is in development mode or not nF8|*}w  
      是否为struts开发模式 9 ^G. ]W]  
bCv^za]P6  
struts.dispatcher.parametersWorkaround +NH#t} .  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;ORT#7CU  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) EO<{Bj=2  
[-*1M4D9  
struts.enable.DynamicMethodInvocation z)Is:LhS  
      Allows one to disable dynamic method invocation from the URL (H\)BS7#R  
        允许动态方法调用 w*E0f?s  
d'4^c,d  
struts.freemarker.manager.classname xzqgem`[\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %SHjJCS3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 VOj{&O2c  
?G48GxJ  
struts.i18n.encoding u0)~Im,X  
      The encoding to use for localization messages `pHlGbrW  
      国际化信息内码 &K1\"  
b"au9:F4@7  
struts.i18n.reload 7 +RsZu  
      Whether the localization messages should automatically be reloaded jkPye{j  
      是否国际化信息自动加载 rNdeD~\  
+w(sDH~kd  
struts.locale y?ps+ce93  
      The default locale for the Struts application "Y9PS_u(~  
      默认的国际化地区信息 @_gCGI>Q  
QbF!V%+a's  
struts.mapper.class e~Oge  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |C\%H R  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 wkO8  
"kLu]M<  
struts.multipart.maxSize Ft7{P.g  
      The maximize size of a multipart request (file upload) 7X Z5CX&  
      multipart请求信息的最大尺寸(文件上传用) AgOw{bJ%  
6D[m}/?Uy  
struts.multipart.parser Cr!}qZq  
      The org.apache.struts2.dispatcher.multipart. Ez3>}E,  
      MultiPartRequest parser implementation for a multipart request (file upload) W[5a'}OV  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  d"E@e21  
J 8/]&Ow  
`}b#O}z)^  
struts.multipart.saveDir EFb1Y{u^\!  
      The directory to use for storing uploaded files .RI{\i`  
      设置存储上传文件的目录夹 E>/kNl  
2wHvHH!  
struts.objectFactory S,K'y?6  
      The com.opensymphony.xwork2.ObjectFactory implementation class :YL`GSl  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9t 3mU:  
C*;g!~{  
struts.objectFactory.spring.autoWire {uurM` f}:  
      Whether Spring should autoWire or not g4NxNjM;  
      是否自动绑定Spring l?F&I.{J  
PT9,R^2T!  
struts.objectFactory.spring.useClassCache 3GH@|id  
      Whether Spring should use its class cache or not -h5yg`+1N\  
      是否spring应该使用自身的cache ]et4B+=i  
Kq`C5  
struts.objectTypeDeterminer dQ4VpR9|;  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :Hk:Goo2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 y*Egt`W  
orGNza"A  
struts.serve.static.browserCache `m6>r9:  
If static content served by the Struts filter should set browser caching header properties or not >^cP]gG Y  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zJp}JO  
hJqLH ?Ri  
struts.serve.static ]9xuLJ)  
      Whether the Struts filter should serve static content or not '@Zau\xC  
      是否struts过滤器应该提供静态内容 B8+J0jdg6%  
q Ee1OB  
struts.tag.altSyntax 8.-0_C*U;  
      Whether to use the alterative syntax for the tags or not RC_w 1:h  
      是否可以用替代的语法替代tags OYw~I.Rq  
4!'1o`8vs  
struts.ui.templateDir 5XSr K  
      The directory containing UI templates U@W3x@  
      UI templates的目录夹 ~9&#7fU  
`>M-J-J  
struts.ui.theme R{s&6  
      The default UI template theme "62vwWrwO  
      默认的UI template主题 (=v :@\r  
` u#'  
struts.url.http.port p0 @ ,-  
      The HTTP port used by Struts URLs tb^8jC  
      设置http端口 Nm{\?  
.ZuRH_pI  
struts.url.https.port r(ej=aR  
      The HTTPS port used by Struts URLs )E--E+j  
      设置https端口 )ZxDfRjL  
Xb0$BAP  
struts.url.includeParams 72hN%l   
      The default includeParams method to generate Struts URLs d|GQZAEJEt  
      在url中产生 默认的includeParams (w31W[V'#  
Gp0H[-oF  
bRSE"B  
struts.velocity.configfile  U 6((  
      The Velocity configuration file path k)Y}X)\36  
      velocity配置文件路径 ^ olaq(z  
fE1B1j<  
struts.velocity.contexts 6jv_j[[  
      List of Velocity context names d~bZOy  
      velocity的context列表 ao4"=My*G  
>s 4"2X  
U(lcQC`$  
struts.velocity.manager.classname ~U] "dbQ  
      org.apache.struts2.views.velocity.VelocityManager implementation class Dj Z;LE>  
      org.apache.struts2.views.velocity.VelocityManager接口名 YCv)DW;  
Tr}z&efY  
struts.velocity.toolboxlocation lHRs3+  
      The location of the Velocity toolbox grvm2`u  
      velocity工具盒的位置 ?gknJ:  
struts.xslt.nocache ?xftr(  
      Whether or not XSLT templates should not be cached EV1x"}D A_  
      是否XSLT模版应该被缓存 81m3j`b  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五