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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }EW@/; kC  
rl <! h5  
struts.action.extension d- wbZ)BR  
      The URL extension to use to determine if the request is meant for a Struts action '%D$|)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +mr\AAFn  
@`hnp:  
struts.configuration @ZD/y %e  
      The org.apache.struts2.config.Configuration implementation class T9c=As_EM  
        org.apache.struts2.config.Configuration接口名 n1Y3b~E?E  
*>ilT5q  
struts.configuration.files w^.^XK4v.  
      A list of configuration files automatically loaded by Struts dV5aIj  
      struts自动加载的一个配置文件列表 @ k`^Z5tN  
Dn}Wsd=  
struts.configuration.xml.reload !JkH$~  
      Whether to reload the XML configuration or not |<YoH$.  
      是否加载xml配置(true,false) X~H ~k1  
77:s=)   
struts.continuations.package TC2gl[  
      The package containing actions that use Rife continuations vbZGs7%  
      含有actions的完整连续的package名称 5_d=~whO&2  
F$;vPAxbK"  
struts.custom.i18n.resources uMB|x,X I  
      Location of additional localization properties files to load vE9M2[TJA  
      加载附加的国际化属性文件(不包含.properties后缀)  F%}0q&  
p PF]&:&-b  
struts.custom.properties ?^# h|aUp.  
      Location of additional configuration properties files to load dZ kr#>  
      加载附加的配置文件的位置 e>Z F? (a0  
 h,D6MP  
{O"?_6',  
struts.devMode `wyX)6A|bt  
      Whether Struts is in development mode or not /f:)I.FUm  
      是否为struts开发模式 [~ Wiy3n  
`F#<qZSR  
struts.dispatcher.parametersWorkaround g;>M{)A  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ${/"u3a_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Xgy)Z:R  
e' `xU  
struts.enable.DynamicMethodInvocation d^&F%)AT  
      Allows one to disable dynamic method invocation from the URL $S"QyAH~-a  
        允许动态方法调用 &I[ITp6y 0  
I3 %P_oW'  
struts.freemarker.manager.classname owA0I'|V-A  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {GaQV-t  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $rZ:$d.C  
.45XS>=z#  
struts.i18n.encoding cI5*`LML1  
      The encoding to use for localization messages #&@qmps(T  
      国际化信息内码 NjTVinz  
sH^?v0^a  
struts.i18n.reload h-XMr_F  
      Whether the localization messages should automatically be reloaded 2Qoj>Wy{  
      是否国际化信息自动加载 A0NNB%4|/  
5>XrNc91  
struts.locale &zCqF=/9U  
      The default locale for the Struts application 4b"%171  
      默认的国际化地区信息 HzO6hb{jJO  
YzcuS/~x  
struts.mapper.class KAR XC,z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~dIb>[7wy  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^UF]%qqOn  
fs]9HK/@\  
struts.multipart.maxSize I<w`+<o(  
      The maximize size of a multipart request (file upload) !n=@(bT*wT  
      multipart请求信息的最大尺寸(文件上传用) cU y,q]PO  
[_3Rhp:  
struts.multipart.parser ZOFhX$I  
      The org.apache.struts2.dispatcher.multipart. a.|4`*1[;  
      MultiPartRequest parser implementation for a multipart request (file upload) c=YJ:&/5&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b&$ ?.z  
^J8sR4p#  
^6?NYHMr=  
struts.multipart.saveDir ~YIGOL"?  
      The directory to use for storing uploaded files >`jsUeS  
      设置存储上传文件的目录夹 [;c'o5M&  
a0"gt"q A  
struts.objectFactory AUloP?24  
      The com.opensymphony.xwork2.ObjectFactory implementation class XA[G F6W,Y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) iA~b[20&  
imx/hz!  
struts.objectFactory.spring.autoWire eQk ~YA]K  
      Whether Spring should autoWire or not fwy-M:  
      是否自动绑定Spring ~&/|J)}  
26fm }QV  
struts.objectFactory.spring.useClassCache ZCQ7xQD  
      Whether Spring should use its class cache or not CI+dIv>  
      是否spring应该使用自身的cache q%4l!gzF3  
4>4*4!KR}  
struts.objectTypeDeterminer $*| :A  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class jafq(t  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 n2bL-  
mm3goIi; Y  
struts.serve.static.browserCache )Oq N\  
If static content served by the Struts filter should set browser caching header properties or not {cF7h)j  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 PmtBu`OkV  
_tfZg /+)  
struts.serve.static Fj9/@pe1  
      Whether the Struts filter should serve static content or not >'i d/  
      是否struts过滤器应该提供静态内容 `Z{kJMS  
fhu- YYJt  
struts.tag.altSyntax  qO  
      Whether to use the alterative syntax for the tags or not Ejdw"P"  
      是否可以用替代的语法替代tags >G2o  
rK*s/mX <  
struts.ui.templateDir +#5nk,1c>  
      The directory containing UI templates hFw\uETu  
      UI templates的目录夹 _nR8L`l*z  
TEZ^Ia  
struts.ui.theme khl(9R4a  
      The default UI template theme /Yk2 |L  
      默认的UI template主题 :&= TE2  
L~1u?-zu  
struts.url.http.port &* 4uji  
      The HTTP port used by Struts URLs 3G9YpA_}X  
      设置http端口 b#-5b%ON  
dbkccO}WB  
struts.url.https.port %3e}YQe)  
      The HTTPS port used by Struts URLs e~r%8.Wm  
      设置https端口 5_+vjV;5  
Xj^6ZJc  
struts.url.includeParams %S8e:kc6  
      The default includeParams method to generate Struts URLs UA[2R1}d  
      在url中产生 默认的includeParams #q~SfG  
1<]g7W  
N2_j[Pe  
struts.velocity.configfile (NUk{MTX  
      The Velocity configuration file path ~UjFL~K}  
      velocity配置文件路径 09"C&X~  
e{/(NtKf  
struts.velocity.contexts p.q :vI$J  
      List of Velocity context names B]< 6\Z?=  
      velocity的context列表 nnmn@t(%r  
sXI_!)H  
 C~vU  
struts.velocity.manager.classname p ez^]I  
      org.apache.struts2.views.velocity.VelocityManager implementation class %3'4QmpR  
      org.apache.struts2.views.velocity.VelocityManager接口名 C #ng`7 q  
S .rT5A[  
struts.velocity.toolboxlocation kZ+nL)YQ#  
      The location of the Velocity toolbox ^RG6h  
      velocity工具盒的位置 : j&M&+  
struts.xslt.nocache KO(+%>^R  
      Whether or not XSLT templates should not be cached XM3N>OR.  
      是否XSLT模版应该被缓存 @.fuR#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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