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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 K8iQ?  
Iak06E  
struts.action.extension xUs1-O1i  
      The URL extension to use to determine if the request is meant for a Struts action RCGpZyl  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 j]9,yi  
Bm^8"SSN  
struts.configuration P_N},Xry  
      The org.apache.struts2.config.Configuration implementation class .w~L0(  
        org.apache.struts2.config.Configuration接口名 1rmN)  
sMw"C~XL  
struts.configuration.files }Oy/F  
      A list of configuration files automatically loaded by Struts >F!X'#Iv  
      struts自动加载的一个配置文件列表 ~;uW) [  
T 6rjtq  
struts.configuration.xml.reload 49#?I:l  
      Whether to reload the XML configuration or not 41XXL$  
      是否加载xml配置(true,false) b@1";+(27  
H: ;S1D  
struts.continuations.package SQ`ec95',  
      The package containing actions that use Rife continuations ) nn v{hN  
      含有actions的完整连续的package名称  YP}r15P  
|VX0o2  
struts.custom.i18n.resources H`U>ZJ.  
      Location of additional localization properties files to load 6FI`0j=~  
      加载附加的国际化属性文件(不包含.properties后缀) iHOvCrp+X  
,6\oT;G  
struts.custom.properties Mw $.B#  
      Location of additional configuration properties files to load ?Qh[vcF7`  
      加载附加的配置文件的位置 SL% Ec%9Y  
h6gtO$A|p=  
}Mh`j $  
struts.devMode *7/MeE6)i  
      Whether Struts is in development mode or not I#t# %!InH  
      是否为struts开发模式 u&Y1,:hiL  
C'0=eel[  
struts.dispatcher.parametersWorkaround .$-%rU:*}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1\Vp[^#Vx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) !% yd'"6Dl  
ez*O'U  
struts.enable.DynamicMethodInvocation *&yt;|y  
      Allows one to disable dynamic method invocation from the URL [IuF0$w=dj  
        允许动态方法调用 |G>Lud  
a`QKN rA2  
struts.freemarker.manager.classname m[*y9A1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class UXV>#U?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 fxX4 !r  
/SYzo4(  
struts.i18n.encoding ,HO@bCK  
      The encoding to use for localization messages Q\v^3u2;m`  
      国际化信息内码 k'Z$#  
g`zC0~D2  
struts.i18n.reload q0]Z` <w  
      Whether the localization messages should automatically be reloaded ]a=Bc~g91  
      是否国际化信息自动加载 !xZ`()D#  
'4d+!%2t  
struts.locale q1o)l  
      The default locale for the Struts application \wo'XF3:  
      默认的国际化地区信息 ~bk+JK- >  
W(UrG]J*l  
struts.mapper.class #_OrS/H  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lw 9 rf4RF  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 cY\"{o"C  
n<>/X_m  
struts.multipart.maxSize AVv 8Hhd  
      The maximize size of a multipart request (file upload) 0Fm,F&12  
      multipart请求信息的最大尺寸(文件上传用) 3P2L phW  
g JMv  
struts.multipart.parser VYN1^Tp  
      The org.apache.struts2.dispatcher.multipart. ns[Q %_  
      MultiPartRequest parser implementation for a multipart request (file upload) W_N!f=HW  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4wQ>HrS)(  
Gj([S17\0:  
CpF&Vy K  
struts.multipart.saveDir S~LT Lv:>  
      The directory to use for storing uploaded files o5eFLJ6  
      设置存储上传文件的目录夹 Nl`8Kcv  
E; Z1HF R  
struts.objectFactory ['n;e:*  
      The com.opensymphony.xwork2.ObjectFactory implementation class $3MYr5  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4 U`5=BI  
6*H F`@(  
struts.objectFactory.spring.autoWire `JL&x|q o  
      Whether Spring should autoWire or not |F#L{=B  
      是否自动绑定Spring t{)J#8:g  
CK+_T}+-  
struts.objectFactory.spring.useClassCache gcf EJN4'  
      Whether Spring should use its class cache or not (t)a u  
      是否spring应该使用自身的cache K2R[u#Q  
i^'Uod0d.  
struts.objectTypeDeterminer j8Csnm0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #/ Qe7:l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %@Ty,d:;=  
(Q09$  
struts.serve.static.browserCache FO5'<G-  
If static content served by the Struts filter should set browser caching header properties or not !EQMTF=(  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v(tr:[V  
h .$3 jNU  
struts.serve.static 7&z`N^dz{  
      Whether the Struts filter should serve static content or not  $VCWc#  
      是否struts过滤器应该提供静态内容 ^g56:j~?  
)FrXD3 p  
struts.tag.altSyntax  P7GF"/  
      Whether to use the alterative syntax for the tags or not c}>p"  
      是否可以用替代的语法替代tags c);(+b  
aBLE:v  
struts.ui.templateDir &t\KKsUtd  
      The directory containing UI templates {r!X W  
      UI templates的目录夹 =,=tSp  
Wg+fT{[f|  
struts.ui.theme a~F` {(Q2  
      The default UI template theme j.@TPf*  
      默认的UI template主题 w oqP&8a  
wz P")}[0  
struts.url.http.port "sf]I[a  
      The HTTP port used by Struts URLs `)W}4itm  
      设置http端口 {s=$.Kg  
w<]Wg^dyQ  
struts.url.https.port 8HyK;+ZkVd  
      The HTTPS port used by Struts URLs ei8OLcw:x  
      设置https端口 85fBKpEe  
z;_d?S <*m  
struts.url.includeParams 0#mu[O  
      The default includeParams method to generate Struts URLs &\0`\#R  
      在url中产生 默认的includeParams u&>o1!c*P  
huau(s0um  
^r<bi%@C$  
struts.velocity.configfile rtz%(4aS  
      The Velocity configuration file path X192Lar  
      velocity配置文件路径 =kspHP<k  
=y/VrF.bV  
struts.velocity.contexts Tl!}9/Q5E:  
      List of Velocity context names sGCV um}  
      velocity的context列表 WBA0! g98  
F:CqB|  
In)#`E` g.  
struts.velocity.manager.classname P==rY5+s`  
      org.apache.struts2.views.velocity.VelocityManager implementation class DaW_-:@s  
      org.apache.struts2.views.velocity.VelocityManager接口名 24Y~x`W   
,z?Re)q m  
struts.velocity.toolboxlocation #n'tpp~O  
      The location of the Velocity toolbox \DE`tkV8  
      velocity工具盒的位置 j_?U6$xi  
struts.xslt.nocache uL!{xuN  
      Whether or not XSLT templates should not be cached hNV" {V3`{  
      是否XSLT模版应该被缓存 g=;c*{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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