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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 )2Y]A^Y   
JZ-64OT  
struts.action.extension ]f wW dtz1  
      The URL extension to use to determine if the request is meant for a Struts action 8/u kzY1!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 KR hls"\1  
"(';UFa  
struts.configuration XZ8]se"C  
      The org.apache.struts2.config.Configuration implementation class 6KN6SN$  
        org.apache.struts2.config.Configuration接口名 zd F;!  
&Fk|"f+  
struts.configuration.files X .K*</(g  
      A list of configuration files automatically loaded by Struts :inVwc  
      struts自动加载的一个配置文件列表 |^F$Ta  
[?2?7>D8  
struts.configuration.xml.reload u'Hh||La"  
      Whether to reload the XML configuration or not F)/4#[  
      是否加载xml配置(true,false) iT{[zLz>1  
I;, n|o  
struts.continuations.package *F(<:3;2  
      The package containing actions that use Rife continuations u`!Dp$P  
      含有actions的完整连续的package名称 ~= otdJ  
#D >:'ezm  
struts.custom.i18n.resources FZ8Qj8  
      Location of additional localization properties files to load Ggv*EsN/cC  
      加载附加的国际化属性文件(不包含.properties后缀) nKTi"2dm  
KXWz(L!1  
struts.custom.properties v`6vc)>8  
      Location of additional configuration properties files to load /WX&UAG  
      加载附加的配置文件的位置 Ru);wzky  
@bnw$U`+  
Q(BZg{  
struts.devMode 6IJ;od.\b$  
      Whether Struts is in development mode or not r.=.,R  
      是否为struts开发模式 eOZ~p  
8N<m V^|}  
struts.dispatcher.parametersWorkaround {q;_Dd  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .I^Y[_.G  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) -Wre4 ^,v  
7.kH="@  
struts.enable.DynamicMethodInvocation %S>6Q^B  
      Allows one to disable dynamic method invocation from the URL C 8d9 (u  
        允许动态方法调用 (4rHy*6  
rj1%IzaXU^  
struts.freemarker.manager.classname AF{@lDa1h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class RyWfoLc  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 YnCuF0>  
{e., $'#  
struts.i18n.encoding `sd H q  
      The encoding to use for localization messages Vk76cV D  
      国际化信息内码 N7;kWQH  
rQPO+  
struts.i18n.reload t+0/$  
      Whether the localization messages should automatically be reloaded '68#7Hs.  
      是否国际化信息自动加载 Ch~y;C&e+r  
[V5,1dmkI  
struts.locale =xb/zu(  
      The default locale for the Struts application /7-FVqDx8  
      默认的国际化地区信息 `)BZk[64  
0AhUH| ]  
struts.mapper.class 0p\Kf(|E*6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class IZd~Am3f  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 A43[i@o  
Kc>Rd  
struts.multipart.maxSize 5T'v iG}%  
      The maximize size of a multipart request (file upload) `+UBl\j  
      multipart请求信息的最大尺寸(文件上传用) cf%2A1I2W  
zYftgH_o  
struts.multipart.parser +)_DaL E  
      The org.apache.struts2.dispatcher.multipart. FIQHs"#T  
      MultiPartRequest parser implementation for a multipart request (file upload) !4YmaijeN  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) X7MA>j3m  
T@n};,SQ  
;YBk.} %  
struts.multipart.saveDir w.=rea~  
      The directory to use for storing uploaded files  4NIb_E0  
      设置存储上传文件的目录夹 i&)OJy  
8>X]wA6q  
struts.objectFactory m*KI'~#$%  
      The com.opensymphony.xwork2.ObjectFactory implementation class G12o?N0p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %F:; A  
g12.4+  
struts.objectFactory.spring.autoWire fA), ^  
      Whether Spring should autoWire or not /\E3p6\*  
      是否自动绑定Spring nD=N MqQ &  
I.%EYAai  
struts.objectFactory.spring.useClassCache U1|{7.R  
      Whether Spring should use its class cache or not 8N4E~*>C  
      是否spring应该使用自身的cache :G5O_T$  
5mm&l+N)  
struts.objectTypeDeterminer `t g=__D  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aZo>3z;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %V#? 1{  
0P;LH3sx  
struts.serve.static.browserCache DMKtTt[}  
If static content served by the Struts filter should set browser caching header properties or not ?rdWhF]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 g}*p(Tp9:  
)k4&S{=  
struts.serve.static iN5[x{^t  
      Whether the Struts filter should serve static content or not uME_/S uO  
      是否struts过滤器应该提供静态内容 zN\C  
KJt6d`ZN  
struts.tag.altSyntax (:}}p}u  
      Whether to use the alterative syntax for the tags or not xb&,9Lxd|  
      是否可以用替代的语法替代tags 5BM6Pnle  
q3GkfgY  
struts.ui.templateDir J{n A ?[  
      The directory containing UI templates )6px5Vwz  
      UI templates的目录夹 !d95gq<=>  
\|Y_,fi  
struts.ui.theme 5wv7]F<  
      The default UI template theme !'Hd:oD<  
      默认的UI template主题 /?}2OCq  
/9?yw!  
struts.url.http.port i\o * =+{r  
      The HTTP port used by Struts URLs CH5>u  
      设置http端口 d?/>Qqw:#  
[4;G^{ bX  
struts.url.https.port 6DC+8I<  
      The HTTPS port used by Struts URLs =pnQ?2Og  
      设置https端口 1buO&q!vn  
YuoIhT  
struts.url.includeParams 7~L_>7 ;  
      The default includeParams method to generate Struts URLs -NA2+].  
      在url中产生 默认的includeParams O5*3 qJp  
*\`<=,H6<  
?5j~"  
struts.velocity.configfile $1k@O@F(4  
      The Velocity configuration file path hsYv=Tw3C  
      velocity配置文件路径 b]N&4t  
s$^2Qp  
struts.velocity.contexts nB4+*=$E+-  
      List of Velocity context names #jPn7  
      velocity的context列表 FRayB VHL  
cV4Y= &  
Fn{Pmo*rs  
struts.velocity.manager.classname lZ) qV!<  
      org.apache.struts2.views.velocity.VelocityManager implementation class U7-*]ik  
      org.apache.struts2.views.velocity.VelocityManager接口名 f#gV>.P;h\  
2_)gJ_kP  
struts.velocity.toolboxlocation sR)jZpmC(  
      The location of the Velocity toolbox 9d!mGnl  
      velocity工具盒的位置 (N`GvB7;  
struts.xslt.nocache 4Ujy_E?^  
      Whether or not XSLT templates should not be cached d\r-)VWSr"  
      是否XSLT模版应该被缓存 @eq.&{&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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