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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 JNJ96wnX1  
A(2\Gfe  
struts.action.extension $+P6R`K  
      The URL extension to use to determine if the request is meant for a Struts action A=PJg!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yx@%x?B  
E .'v,GYe  
struts.configuration x$:P;#  
      The org.apache.struts2.config.Configuration implementation class --> ~<o  
        org.apache.struts2.config.Configuration接口名 g5YDRL!Wh  
#80 [q3  
struts.configuration.files P<tHqN !q  
      A list of configuration files automatically loaded by Struts 1GaM!OC9  
      struts自动加载的一个配置文件列表 YLx4qE  
AgBXB%).  
struts.configuration.xml.reload d :a*;F  
      Whether to reload the XML configuration or not 6dN W2_  
      是否加载xml配置(true,false) 6H#4iMeh  
|h7 d #V>  
struts.continuations.package 0E<xzYo  
      The package containing actions that use Rife continuations M zRliH8e  
      含有actions的完整连续的package名称 xk#q_!(j  
w|k?2 ?&  
struts.custom.i18n.resources ~fht [S?@M  
      Location of additional localization properties files to load x}tg/` .=z  
      加载附加的国际化属性文件(不包含.properties后缀) ~OE1Sd:2  
w YEkWB^  
struts.custom.properties &c|3v!  
      Location of additional configuration properties files to load $M0F~x  
      加载附加的配置文件的位置  UZV\]Y  
qdOUvf  
_<8~CWo:  
struts.devMode qDV t  
      Whether Struts is in development mode or not @mJ# ~@*(  
      是否为struts开发模式 "KiTjl`M,  
fHLt{!O  
struts.dispatcher.parametersWorkaround XHh!Q0v;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1^HmM"DD  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) u alpm#GU  
4#D<#!]^  
struts.enable.DynamicMethodInvocation 7~I*u6zY  
      Allows one to disable dynamic method invocation from the URL L,+m5wKj[  
        允许动态方法调用 }Z,xF`  
k$ORVU  
struts.freemarker.manager.classname z{q|HO  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Gkr]8J  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 `xq/<U;i  
Fs3rsig  
struts.i18n.encoding I&Z4?K  
      The encoding to use for localization messages )&") J}@  
      国际化信息内码 -Gyj]v5y`c  
.,9e~6}  
struts.i18n.reload n | M~C\*  
      Whether the localization messages should automatically be reloaded %0gcNk"=  
      是否国际化信息自动加载 }t FRl  
M}S1Zz%Ii1  
struts.locale 7;i [  
      The default locale for the Struts application dc+U #]tS  
      默认的国际化地区信息 ] oMtqkiR  
XH`W(  
struts.mapper.class  n$u@v(I  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class (Ev=kO  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 LK}*k/eG  
&*nq.l76X`  
struts.multipart.maxSize +@"Ls P  
      The maximize size of a multipart request (file upload) e*!0|#-  
      multipart请求信息的最大尺寸(文件上传用) g.wDg  
Ifu[L&U  
struts.multipart.parser L>>RboR}  
      The org.apache.struts2.dispatcher.multipart. Tp[-,3L  
      MultiPartRequest parser implementation for a multipart request (file upload) z#|tcHVFT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G &QGQ  
/7CV7=^d,  
EW~M,+?  
struts.multipart.saveDir c]+uj q  
      The directory to use for storing uploaded files Sp]u5\  
      设置存储上传文件的目录夹 w2(pgWed  
^Mmsja5K  
struts.objectFactory a`*Dq"9pV  
      The com.opensymphony.xwork2.ObjectFactory implementation class Aw) I:d7F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?heg_ ~P  
!XqU'xxC  
struts.objectFactory.spring.autoWire buu /Nz$  
      Whether Spring should autoWire or not ,vh $G 7D  
      是否自动绑定Spring _Oc(K "v  
_wp_y-"  
struts.objectFactory.spring.useClassCache EZee kxs  
      Whether Spring should use its class cache or not WZQ EBXs  
      是否spring应该使用自身的cache 6g-Q  
>At* jg48  
struts.objectTypeDeterminer @d1YN]ede  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3Jh!YzI8  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 >|1$Pv?  
r?$ V;Z  
struts.serve.static.browserCache QnTKo&|9  
If static content served by the Struts filter should set browser caching header properties or not 4Nl3"@<$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "sUjJ|  
*Tum(wWZ  
struts.serve.static Iy#=Nq=  
      Whether the Struts filter should serve static content or not Tv6HPD$[  
      是否struts过滤器应该提供静态内容 oWb\T 2!m  
nXT/zfS  
struts.tag.altSyntax Fxx -2(U  
      Whether to use the alterative syntax for the tags or not PY76;D*`  
      是否可以用替代的语法替代tags pdySip<  
tu:W1?  
struts.ui.templateDir 4G3u8)b=  
      The directory containing UI templates $}8@?>-w  
      UI templates的目录夹 BA6(Owb  
:%4N4| Q  
struts.ui.theme ;@FCa j&  
      The default UI template theme ]J^/`gc  
      默认的UI template主题 vs%d}]v  
_O3X;U7rc  
struts.url.http.port 0$BX8?Z  
      The HTTP port used by Struts URLs 5rH?FQE  
      设置http端口 ^r@,(r6w  
Pq(7lua7  
struts.url.https.port .2{*>Dzi  
      The HTTPS port used by Struts URLs +:kMYL3  
      设置https端口 Jq*Q;}n  
jYk5]2#A  
struts.url.includeParams WYm<_1  
      The default includeParams method to generate Struts URLs {l9gYA  
      在url中产生 默认的includeParams r7jh)Q;BbR  
GCj[ySCD  
Gq]/6igzX  
struts.velocity.configfile :ggXVwpe  
      The Velocity configuration file path `>Ms7G9S~e  
      velocity配置文件路径 -x VZm8y  
W P9PX  
struts.velocity.contexts hYbaVE  
      List of Velocity context names nt_FqUJ  
      velocity的context列表 Tvl"KVGm  
7DPxz'7):  
 "SA*  
struts.velocity.manager.classname pCC3r t(  
      org.apache.struts2.views.velocity.VelocityManager implementation class adWH';Q:  
      org.apache.struts2.views.velocity.VelocityManager接口名 A=+1PgL66  
#+Y%Bxf  
struts.velocity.toolboxlocation Jbn^G7vH<6  
      The location of the Velocity toolbox &Lbh?C  
      velocity工具盒的位置 #H]c/  
struts.xslt.nocache 8/<+p? 3p>  
      Whether or not XSLT templates should not be cached va2FgW`Bd+  
      是否XSLT模版应该被缓存 ,*.qa0E#W  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五