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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7a4b,-93  
eVVm"96Q.;  
struts.action.extension \+STl#3*q  
      The URL extension to use to determine if the request is meant for a Struts action (}|QSf:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,dG2[<?o  
)<vU F]e~  
struts.configuration ,xJ1\_GI`  
      The org.apache.struts2.config.Configuration implementation class ~ e4Pj`?=K  
        org.apache.struts2.config.Configuration接口名 j> ?0Y  
"|\G[xLOaW  
struts.configuration.files u$"dL=s!  
      A list of configuration files automatically loaded by Struts C_RxJWka  
      struts自动加载的一个配置文件列表 **%/Ke[  
k6p Xc<]8  
struts.configuration.xml.reload vwlPFr Ll  
      Whether to reload the XML configuration or not dC F!.  
      是否加载xml配置(true,false) x P3v65Q1  
*A>I)a<:  
struts.continuations.package QNk\y@yKw  
      The package containing actions that use Rife continuations .BWCGb2bH  
      含有actions的完整连续的package名称 Do3g^RD#  
ZP]l%6\.  
struts.custom.i18n.resources <ah!!  
      Location of additional localization properties files to load BaLvlB  
      加载附加的国际化属性文件(不包含.properties后缀) RbY=O OQ  
|@rPd=G^(/  
struts.custom.properties ep<O?7@j-G  
      Location of additional configuration properties files to load ["N)=d|LS  
      加载附加的配置文件的位置 Td7=La0   
:dZq!1~t  
EqN_VT@  
struts.devMode RP"YSnF3  
      Whether Struts is in development mode or not CPw=?<db  
      是否为struts开发模式 m~LB0u$ac  
4l7FV<g  
struts.dispatcher.parametersWorkaround zJ*|tw4  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  u Z(vf  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) rfl-(_3  
@-7h}2P Q  
struts.enable.DynamicMethodInvocation )YB @6TiD  
      Allows one to disable dynamic method invocation from the URL 6eUM[C.  
        允许动态方法调用 {GTOHJ2  
E>bK-jG  
struts.freemarker.manager.classname bpQ5B'9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class r&u&$ "c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }bW"Z2^nB  
!c;Z<@  
struts.i18n.encoding #LGAvFA*_F  
      The encoding to use for localization messages fO;#;p.  
      国际化信息内码 7kQZ$sLc  
Ic%c%U=i  
struts.i18n.reload 2=&4@c|cn  
      Whether the localization messages should automatically be reloaded  Stzv  
      是否国际化信息自动加载 Z|8oD*,  
WB: NV=&^  
struts.locale 4H<@da}  
      The default locale for the Struts application 8f""@TTp  
      默认的国际化地区信息 vS!%!-F  
7_HJ|QB  
struts.mapper.class Y5 BWg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class gJkk0wok C  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 W'>"E/Tx#O  
yJ\K\\]  
struts.multipart.maxSize *?'^R c  
      The maximize size of a multipart request (file upload) V<ZohB?y  
      multipart请求信息的最大尺寸(文件上传用) K,!"5WrX*  
W+F^(SC\  
struts.multipart.parser u9TiEEof3  
      The org.apache.struts2.dispatcher.multipart. 6 J&_H(^  
      MultiPartRequest parser implementation for a multipart request (file upload) D8`dEB2|S  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N^)\+*tf1  
d)_fI*:f  
m0: IFE($  
struts.multipart.saveDir XM9}ax  
      The directory to use for storing uploaded files oi@hZniP?  
      设置存储上传文件的目录夹 !9B`  
O}Ipg[h  
struts.objectFactory xnBU)#<]S  
      The com.opensymphony.xwork2.ObjectFactory implementation class 9`A}-YA !  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 7S +YQ$_  
tAI<[M@  
struts.objectFactory.spring.autoWire D7 D:?VoR  
      Whether Spring should autoWire or not W^es"\  
      是否自动绑定Spring 5uVSbo.  
7K 8tz}  
struts.objectFactory.spring.useClassCache j}uVT2ZE%  
      Whether Spring should use its class cache or not *J ]2"~_.  
      是否spring应该使用自身的cache Ju0W  
?)8OC(B8q  
struts.objectTypeDeterminer yX-h|Cr"  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s+EJXox w  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 H pZD^h?L  
MJ=(rp=YU9  
struts.serve.static.browserCache _iJ8*v 8A  
If static content served by the Struts filter should set browser caching header properties or not jD`p;#~8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kp{q5J6/  
;tBc&LJ?  
struts.serve.static Lrr1) h  
      Whether the Struts filter should serve static content or not $Ur-Q d  
      是否struts过滤器应该提供静态内容 wM]j#  
O&]P u5  
struts.tag.altSyntax ,?'":T1[  
      Whether to use the alterative syntax for the tags or not 4axc05  
      是否可以用替代的语法替代tags ceW,A`J  
F2B9Q_>P  
struts.ui.templateDir w7(jSPB  
      The directory containing UI templates 1x"S^j   
      UI templates的目录夹 I6q]bQ="  
(jV_L 1D  
struts.ui.theme "@!B"'xg  
      The default UI template theme o 0-3[W'x<  
      默认的UI template主题 QR.]?t;1  
{JJq/[j  
struts.url.http.port 12Lc$\3P  
      The HTTP port used by Struts URLs I6jDRC0<  
      设置http端口 ?3I93Bt7  
9XH}/FcP_O  
struts.url.https.port 8 2EH'C  
      The HTTPS port used by Struts URLs =;) M+"  
      设置https端口 ogOUrJ}P  
QSaJb?I  
struts.url.includeParams wDL dmrB  
      The default includeParams method to generate Struts URLs <9BM%  
      在url中产生 默认的includeParams jt*VD>ji  
l$>))cW!  
J:N4F.o&K  
struts.velocity.configfile 0~)_/yx?S  
      The Velocity configuration file path XOdkfmc+s'  
      velocity配置文件路径 v>4kF _N  
]0 g$3  
struts.velocity.contexts jkN-(v(T  
      List of Velocity context names +Kw&XRA d  
      velocity的context列表 AUan^Om  
r"%uP[H  
UP8=V>T02  
struts.velocity.manager.classname h rksPK"s2  
      org.apache.struts2.views.velocity.VelocityManager implementation class |t1ij'N  
      org.apache.struts2.views.velocity.VelocityManager接口名 S7I8BS[*v  
w b@Zna  
struts.velocity.toolboxlocation Sh]g]xR  
      The location of the Velocity toolbox U1.w%b,  
      velocity工具盒的位置 #fuc`X3:HL  
struts.xslt.nocache >z,SN  
      Whether or not XSLT templates should not be cached o#X=1us  
      是否XSLT模版应该被缓存 *Dz<Pi^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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