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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 t&f" jPu>  
~u2w`H?V  
struts.action.extension Ars,V3ep  
      The URL extension to use to determine if the request is meant for a Struts action e`ex]py<C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !w=,p.?V=  
P!>g7X  
struts.configuration 3uO8v{`  
      The org.apache.struts2.config.Configuration implementation class [0op)Kn  
        org.apache.struts2.config.Configuration接口名 a 2Et,WA%  
a>(~C'(<  
struts.configuration.files N?^_=KE@  
      A list of configuration files automatically loaded by Struts .D3`'K3t{[  
      struts自动加载的一个配置文件列表 ^N{X "  
\P@S"QO  
struts.configuration.xml.reload pE(sV{PD  
      Whether to reload the XML configuration or not lbofF==(  
      是否加载xml配置(true,false) z `@z  
82 .HH5Z{  
struts.continuations.package gUb "3g0  
      The package containing actions that use Rife continuations C M^r|4 K  
      含有actions的完整连续的package名称 >Qk97we'9  
ER2V*,n@  
struts.custom.i18n.resources 7V/Zr  
      Location of additional localization properties files to load I}ndRDz[  
      加载附加的国际化属性文件(不包含.properties后缀) .pKN4  
0lf"w@/  
struts.custom.properties /1N)d?Pcl  
      Location of additional configuration properties files to load Xr2 Wa  
      加载附加的配置文件的位置 }JGq1  
DCK_F8  
rT<1S?jR  
struts.devMode `r9^:TMN  
      Whether Struts is in development mode or not CwB] )QV?  
      是否为struts开发模式 43F^J%G  
:P"9;$FY  
struts.dispatcher.parametersWorkaround :1NYpsd.i  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;3 dM@>5[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?M]u$Te/.  
X$PS(_M  
struts.enable.DynamicMethodInvocation ;Lqm#]C  
      Allows one to disable dynamic method invocation from the URL I2W{t l  
        允许动态方法调用 :^.u-bHI  
b8e*Pv/  
struts.freemarker.manager.classname N&,"kRFFo  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {~"Em'}J  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 XJ _%!  
ZgK@Fl*k  
struts.i18n.encoding tB !|p6  
      The encoding to use for localization messages gvK"*aIj  
      国际化信息内码 ^:U;rHY  
g.=!3e&z%  
struts.i18n.reload 6iyt2q kh  
      Whether the localization messages should automatically be reloaded %27G2^1  
      是否国际化信息自动加载 H'']J9O  
Mi;Tn;3er  
struts.locale :g/{(#E@Z  
      The default locale for the Struts application {YfYIt=.  
      默认的国际化地区信息 DSTx#*  
!Am =v=>  
struts.mapper.class nT)~w s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class BHIM'24bp  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8@Q"YA 3d+  
7V |"~%  
struts.multipart.maxSize o` 2 5  
      The maximize size of a multipart request (file upload) r"6lLc  
      multipart请求信息的最大尺寸(文件上传用) oX2r?.j#M  
)y5iH){ !  
struts.multipart.parser FmR\`yY_,  
      The org.apache.struts2.dispatcher.multipart. sAf9rZt*'  
      MultiPartRequest parser implementation for a multipart request (file upload) ]KzJ u`O%G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Mru~<:9  
EyzY2>"^  
}&=uZ:  
struts.multipart.saveDir sM<:C  
      The directory to use for storing uploaded files 5'),)  
      设置存储上传文件的目录夹 p+!f(H  
\?[O,A  
struts.objectFactory Jr|K>  
      The com.opensymphony.xwork2.ObjectFactory implementation class YALyZ.d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +)% ,G@-`  
_%XbxP6rH  
struts.objectFactory.spring.autoWire eNHpgj  
      Whether Spring should autoWire or not ;%M2x5  
      是否自动绑定Spring [ +yGDMLs  
K T%i,T  
struts.objectFactory.spring.useClassCache x!Y(Y=i>  
      Whether Spring should use its class cache or not wbo{JQ  
      是否spring应该使用自身的cache tP -5  
% 1OC#&  
struts.objectTypeDeterminer hwc:@'  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 1mAUEQ!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]Pz|Oi+]  
5Gc_LI&v7  
struts.serve.static.browserCache oXvdR(Sb^  
If static content served by the Struts filter should set browser caching header properties or not ik8|9m4/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9$n+-GSK  
7O]J^H+7  
struts.serve.static Q=dw 6  
      Whether the Struts filter should serve static content or not oA5<[&~<  
      是否struts过滤器应该提供静态内容 -wJ   
q|?`Gsr  
struts.tag.altSyntax 8|fLe\"  
      Whether to use the alterative syntax for the tags or not {H/8#y4qp&  
      是否可以用替代的语法替代tags V}j %gy`  
NU BpIx&  
struts.ui.templateDir \z&03@Sw  
      The directory containing UI templates J{a Q1)  
      UI templates的目录夹 tvG g@Xs\  
xn0s`I[  
struts.ui.theme 't||F1X~J  
      The default UI template theme "h^A]t;qe  
      默认的UI template主题 ,ZsYXW  
7g {g}  
struts.url.http.port &h98.A*&  
      The HTTP port used by Struts URLs MHC.k=  
      设置http端口 IS3e|o*]MP  
U]+b` m  
struts.url.https.port GG@iKL V  
      The HTTPS port used by Struts URLs sDW"j\  
      设置https端口 u Zo]8mV  
U&tfl/  
struts.url.includeParams * [iity  
      The default includeParams method to generate Struts URLs `two|gX0K  
      在url中产生 默认的includeParams IptB.bYc  
^\xCqVk_R  
3RBpbTNWp  
struts.velocity.configfile N[- %0  
      The Velocity configuration file path nL "g23  
      velocity配置文件路径 0[_O+u  
9/@FADh  
struts.velocity.contexts m9\@kA  
      List of Velocity context names z36brv<_'p  
      velocity的context列表 PmuEL@'^ U  
WsG"x>1n  
7-g]A2N  
struts.velocity.manager.classname $%N;d>[U,  
      org.apache.struts2.views.velocity.VelocityManager implementation class fU\k?'x_  
      org.apache.struts2.views.velocity.VelocityManager接口名 P2A]qX  
5WrIg(l  
struts.velocity.toolboxlocation O6*'gnke  
      The location of the Velocity toolbox }[XB]Xf  
      velocity工具盒的位置 5P5A,K  
struts.xslt.nocache PEOM1oY)w  
      Whether or not XSLT templates should not be cached (**-"o]HH  
      是否XSLT模版应该被缓存 5?#OR!N  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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