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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 g12mSbf=9  
ti}g?\VT  
struts.action.extension }K%y'D  
      The URL extension to use to determine if the request is meant for a Struts action "VfV;)]|w  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 mEM/}]2  
V(LE4P 1  
struts.configuration j& x=?jX  
      The org.apache.struts2.config.Configuration implementation class iOO1\9{@  
        org.apache.struts2.config.Configuration接口名 >FRJvZ6  
HcKZmL. wp  
struts.configuration.files sIZ|N"2]A*  
      A list of configuration files automatically loaded by Struts 6'^Gh B  
      struts自动加载的一个配置文件列表 UVIR P#  
+#/`4EnI  
struts.configuration.xml.reload O@gHx!L  
      Whether to reload the XML configuration or not fsxZQ=-PW  
      是否加载xml配置(true,false) bR*/d-v^  
!KEnr`O2u  
struts.continuations.package xqA XfJ.  
      The package containing actions that use Rife continuations g^qbd$}  
      含有actions的完整连续的package名称 FlPPz  
+l,6}tV9  
struts.custom.i18n.resources o3oAk10  
      Location of additional localization properties files to load YV 5kzq  
      加载附加的国际化属性文件(不包含.properties后缀) t;~H6  
E{-W#}#  
struts.custom.properties KJf~9w9U  
      Location of additional configuration properties files to load >[U.P)7;  
      加载附加的配置文件的位置 ny,a5zEnF  
;J)8#|  
7rdPA9  
struts.devMode pJK}9p=4`  
      Whether Struts is in development mode or not wv~?<DF  
      是否为struts开发模式 I}@m6D|\  
)7j CEA03  
struts.dispatcher.parametersWorkaround B9-Nb 4  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic )^ky @V  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Js7D>GWP!  
).Ei:/*j  
struts.enable.DynamicMethodInvocation .L X8ko  
      Allows one to disable dynamic method invocation from the URL yM8<)6=  
        允许动态方法调用 J3$Ce%<   
o=,q4;R'  
struts.freemarker.manager.classname 5>e3srKu  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Dn#GoDMJ[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Fk 5;  
O+o4E?}  
struts.i18n.encoding ^uy2qO4Yw  
      The encoding to use for localization messages qU1^ K  
      国际化信息内码 xTJ-v/t3<  
\"r*wae  
struts.i18n.reload njk1x  
      Whether the localization messages should automatically be reloaded y.LJ 5K$&a  
      是否国际化信息自动加载 N` DLIv8i;  
eqL~h1^Co  
struts.locale ?B&@  
      The default locale for the Struts application MZ8jL,a^  
      默认的国际化地区信息 S4jt*]w5b  
.kGlUb?^Q  
struts.mapper.class 8-wW?YTG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Px>Gc:!>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 nn"Wn2ciS  
6#JdQ[IP6  
struts.multipart.maxSize G|p3NhLgO=  
      The maximize size of a multipart request (file upload) ~4Gs\U:!Q  
      multipart请求信息的最大尺寸(文件上传用) kUdl2["MZ  
A!K/92[#@  
struts.multipart.parser Eoj 2l&\  
      The org.apache.struts2.dispatcher.multipart. iuX82z`  
      MultiPartRequest parser implementation for a multipart request (file upload) CulU?-[i  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \rw/d5.  
iE|qU_2Y  
[;Q8xvVZ'  
struts.multipart.saveDir 8"#Ix1#  
      The directory to use for storing uploaded files mh#dnxeR  
      设置存储上传文件的目录夹 tkG0xRH  
bs%lMa.o  
struts.objectFactory 9 pGND]tIi  
      The com.opensymphony.xwork2.ObjectFactory implementation class 2ja@NT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) jQKlJi2xu  
M# sDPT  
struts.objectFactory.spring.autoWire "\'g2|A  
      Whether Spring should autoWire or not ^Fl6-|^~  
      是否自动绑定Spring \qrSJ=}t  
1D0_k  
struts.objectFactory.spring.useClassCache +b7}R7:AFH  
      Whether Spring should use its class cache or not WJ{hta  
      是否spring应该使用自身的cache U[ $KQEJYj  
,=9e]pQ  
struts.objectTypeDeterminer ">n38:?R  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [U]ouh)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 nC3U%*l  
7H-,:8  
struts.serve.static.browserCache P~)ndaQ  
If static content served by the Struts filter should set browser caching header properties or not <&?gpRK   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y}bJN%M  
;JcOm&d/hk  
struts.serve.static 93Yo }6>  
      Whether the Struts filter should serve static content or not .oJs"=h:m  
      是否struts过滤器应该提供静态内容 cm8-L[>E  
7-oH >OF^  
struts.tag.altSyntax i4Y_5  
      Whether to use the alterative syntax for the tags or not *aXZONym  
      是否可以用替代的语法替代tags ?,J N?  
Dj<]eG]  
struts.ui.templateDir 8QeM6;^/5  
      The directory containing UI templates gzK"'4`  
      UI templates的目录夹 )V^J^1  
.qyk[O  
struts.ui.theme Fr}e-a  
      The default UI template theme H?M#7K~[  
      默认的UI template主题 T4 dYC'z  
S^@I4Z  
struts.url.http.port mGjxc}  
      The HTTP port used by Struts URLs N#;k;Z'iL  
      设置http端口 r@&d88U:  
y@;4F n/  
struts.url.https.port oh '\,zpL  
      The HTTPS port used by Struts URLs |5wuYG  
      设置https端口 1Ftl1uf  
c3gy{:lb  
struts.url.includeParams M-!eL<  
      The default includeParams method to generate Struts URLs 41<.e` {  
      在url中产生 默认的includeParams zfE;)K^"  
aW8Bx\q  
`  L(AvSR  
struts.velocity.configfile y)W.xR  
      The Velocity configuration file path ^|6%~jkD5  
      velocity配置文件路径 W^2Q"c#7F  
e&C(IEZ/N;  
struts.velocity.contexts w#Y<~W&  
      List of Velocity context names )$/Gh&1G  
      velocity的context列表 2&E1)^  
!8"516!d|p  
1NO<K`  
struts.velocity.manager.classname ExDH@Lb  
      org.apache.struts2.views.velocity.VelocityManager implementation class j:%~:  
      org.apache.struts2.views.velocity.VelocityManager接口名 H!Y`?Rc  
*'+OA6  
struts.velocity.toolboxlocation %d+:0.+`n  
      The location of the Velocity toolbox IB x?MU#.  
      velocity工具盒的位置 ?-,v0#  
struts.xslt.nocache V8>%$O sw  
      Whether or not XSLT templates should not be cached H1uNlPT  
      是否XSLT模版应该被缓存 _wWh7'u~G  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五