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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 czdNqk.kh  
8^c|9ow  
struts.action.extension W%Br%VQJ  
      The URL extension to use to determine if the request is meant for a Struts action qNC.|R  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &>i+2c~  
vb5tyY0c  
struts.configuration `r+e! o  
      The org.apache.struts2.config.Configuration implementation class v|t^th,  
        org.apache.struts2.config.Configuration接口名 O`OntYwa>  
u2-%~Rlo  
struts.configuration.files +%UXI$v  
      A list of configuration files automatically loaded by Struts 7 82NiVed  
      struts自动加载的一个配置文件列表 Z;7f D  
N@?Fpmu/k  
struts.configuration.xml.reload fVb&=%e  
      Whether to reload the XML configuration or not "%qGcC8  
      是否加载xml配置(true,false) A}H)ojG'v  
N$:[`,  
struts.continuations.package vRRi"bo  
      The package containing actions that use Rife continuations 8'Z9Z*^h#x  
      含有actions的完整连续的package名称 i?4vdL8M  
n&FN?"I/]  
struts.custom.i18n.resources &P[eA u  
      Location of additional localization properties files to load -[0)n{AVvU  
      加载附加的国际化属性文件(不包含.properties后缀) ]*[S# Jk  
9oc.`-e\?  
struts.custom.properties 4q~+K' Z  
      Location of additional configuration properties files to load Ct$e`H!;  
      加载附加的配置文件的位置 ~?[%uGI0h  
Q4CxtY  
W O|2x0K  
struts.devMode 4=*VXM/  
      Whether Struts is in development mode or not &wK%p/?  
      是否为struts开发模式 C Ij3D"  
c<pr1g  
struts.dispatcher.parametersWorkaround [M Z'i/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  p&:R SO  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) + :iNoDz  
'WxcA)z0cQ  
struts.enable.DynamicMethodInvocation $N+a4  
      Allows one to disable dynamic method invocation from the URL Le|Ho^h,Y  
        允许动态方法调用 KosAc'/ M  
HMrS::  
struts.freemarker.manager.classname _4xX}Z;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class B=u@u([.  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 sJw3o7@pg  
xh_6@}D2J  
struts.i18n.encoding :T5l0h-eC  
      The encoding to use for localization messages VISNmz2P  
      国际化信息内码 ;IXDZ#;   
h+t{z"Ic=  
struts.i18n.reload x_2 [+Ol  
      Whether the localization messages should automatically be reloaded pRPz1J$58  
      是否国际化信息自动加载 Y.[^3  
r,L#JR w#-  
struts.locale /DQoM@X  
      The default locale for the Struts application 9_ KUUA  
      默认的国际化地区信息 1;]cYIq  
>9uDY+70I3  
struts.mapper.class hi`\3B  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class FL/@e$AK  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /".+OpL  
k8 ,.~HkU  
struts.multipart.maxSize H2E!A2\m  
      The maximize size of a multipart request (file upload) QVb @/  
      multipart请求信息的最大尺寸(文件上传用) "'^#I_*Mf  
W*}q;ub;  
struts.multipart.parser ;]KGRT  
      The org.apache.struts2.dispatcher.multipart. b H?dyS6Bx  
      MultiPartRequest parser implementation for a multipart request (file upload)  #RbPNVs  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Nt$/JBB[$  
$X9-0-  
mI@E>VCV[  
struts.multipart.saveDir >|XQfavE  
      The directory to use for storing uploaded files ;jo,&C  
      设置存储上传文件的目录夹 `:}GE@]  
2oGl"3/p  
struts.objectFactory M _Z*F!al<  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7'J}|m{7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) kQsyvE  
dAm( uJ  
struts.objectFactory.spring.autoWire LXJ"ct  
      Whether Spring should autoWire or not =S|SQz5%w  
      是否自动绑定Spring Q<;f-9q @  
f+Put  
struts.objectFactory.spring.useClassCache s'tmak-}|  
      Whether Spring should use its class cache or not TsfOod   
      是否spring应该使用自身的cache P%ev8]2  
#J\ 2/~  
struts.objectTypeDeterminer b U-Cd  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \3O#H  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M})2y+  
<&t^&6k  
struts.serve.static.browserCache 5owUQg,W  
If static content served by the Struts filter should set browser caching header properties or not Q/1 6D  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M$FQoRwH  
5A>W;Q\4  
struts.serve.static Y9'Bdm/  
      Whether the Struts filter should serve static content or not RI')iz?  
      是否struts过滤器应该提供静态内容 T,TKt%  
rk-}@vp  
struts.tag.altSyntax 13'tsM&  
      Whether to use the alterative syntax for the tags or not kbI:}b7H  
      是否可以用替代的语法替代tags n-#?6`>a  
QG4#E$ c  
struts.ui.templateDir _E{SGbCCi  
      The directory containing UI templates J&@[=zBYw  
      UI templates的目录夹 (9*=d_=  
5Q?7 xTQ  
struts.ui.theme n,wLk./`  
      The default UI template theme dp&4G6Y<A  
      默认的UI template主题 Fm#4;'x5E  
V2u^sy  
struts.url.http.port yCf*ts1  
      The HTTP port used by Struts URLs 53=VIN]  
      设置http端口 \(cu<{=rU  
eg3zp gZ  
struts.url.https.port i jg'X#E  
      The HTTPS port used by Struts URLs $f7#p4;}(  
      设置https端口 ";J1$a  
:y"Zc1_E  
struts.url.includeParams j\P47q'v#  
      The default includeParams method to generate Struts URLs 94 H\,}i 8  
      在url中产生 默认的includeParams JY"<b6C^  
_W@q%L>  
0mF3Vs`-Q  
struts.velocity.configfile LrX7WI  
      The Velocity configuration file path %i]q} M  
      velocity配置文件路径 JcvWE $  
|p4F^!9  
struts.velocity.contexts 4hg#7#?boW  
      List of Velocity context names 1Yo9Wf;vP  
      velocity的context列表 NJ/6_e  
R Q X  
nBgksB*A  
struts.velocity.manager.classname |dsd5Vdr  
      org.apache.struts2.views.velocity.VelocityManager implementation class )Jz L  
      org.apache.struts2.views.velocity.VelocityManager接口名 m;>HUTj  
N32!*TsWs  
struts.velocity.toolboxlocation ?i>.<IPOq  
      The location of the Velocity toolbox JpvE c!cli  
      velocity工具盒的位置 %4Y/-xF}9,  
struts.xslt.nocache SaH0YxnY+  
      Whether or not XSLT templates should not be cached (%rO'X  
      是否XSLT模版应该被缓存 'gxSHqeI2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五