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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _ CXKJ]m4  
m\"M`o B  
struts.action.extension NTs< ;ED  
      The URL extension to use to determine if the request is meant for a Struts action Ud`V"X  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 <)?H98S  
?n\~&n'C  
struts.configuration .Z'CqBr[:  
      The org.apache.struts2.config.Configuration implementation class tvf"w`H  
        org.apache.struts2.config.Configuration接口名 `: i|y  
Drk9F"J  
struts.configuration.files ZJ=-cE2n  
      A list of configuration files automatically loaded by Struts qECc[)B  
      struts自动加载的一个配置文件列表 4kxy7] W  
f ,K1a9.  
struts.configuration.xml.reload a%Mbq;  
      Whether to reload the XML configuration or not %q2dpzNW  
      是否加载xml配置(true,false)  ZMg%/C  
J);1Tpm  
struts.continuations.package Vu^J'>X  
      The package containing actions that use Rife continuations j=PQoEtU'<  
      含有actions的完整连续的package名称 oel3H5Nz  
|cWW5\/  
struts.custom.i18n.resources =f.f%g6  
      Location of additional localization properties files to load (.<Gde#  
      加载附加的国际化属性文件(不包含.properties后缀) rTDx|pvYx  
-58r* [=8  
struts.custom.properties u;h9Ra1  
      Location of additional configuration properties files to load EG7ki0  
      加载附加的配置文件的位置 isQ{Xt~K  
^^3 >R`  
P ,xayy  
struts.devMode HPVT$EJ  
      Whether Struts is in development mode or not =QRLKo#_  
      是否为struts开发模式 ,UH`l./3DX  
42U3>  
struts.dispatcher.parametersWorkaround }P-9\*hlm  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k,X` }AJ6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) e_\4(4x  
+@usJkxul  
struts.enable.DynamicMethodInvocation DK*2 d_  
      Allows one to disable dynamic method invocation from the URL ]*sXISg1  
        允许动态方法调用 Ij@YOt  
pjIXZ=  
struts.freemarker.manager.classname VP0wa>50!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6H.D `"cj  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 i. `S0  
D GOc!  
struts.i18n.encoding fVb&=%e  
      The encoding to use for localization messages x4.-7%VV%  
      国际化信息内码 A}H)ojG'v  
py P5^Qv  
struts.i18n.reload \8{C$"F  
      Whether the localization messages should automatically be reloaded c6E@+xU  
      是否国际化信息自动加载 .~ZNlI {K  
-[0)n{AVvU  
struts.locale k+JDbJ@  
      The default locale for the Struts application !Lk|eGd*  
      默认的国际化地区信息 'S@h._q  
+)L 'qbCSM  
struts.mapper.class l'B`f)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o LuGW5wzj  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 s-o0N{b?#'  
-]W AB9  
struts.multipart.maxSize n8iejdA'  
      The maximize size of a multipart request (file upload) i,<TaW*I  
      multipart请求信息的最大尺寸(文件上传用) + :iNoDz  
nCGLuZn  
struts.multipart.parser BU<A+Pe>  
      The org.apache.struts2.dispatcher.multipart. uDQ d48>  
      MultiPartRequest parser implementation for a multipart request (file upload) H5^ 'J`0\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Co[  rhs  
Tx`;y|  
/NMd GKr  
struts.multipart.saveDir 0)yvyQ5  
      The directory to use for storing uploaded files S=eY`,'#R  
      设置存储上传文件的目录夹 q`"gT;3S  
x_2 [+Ol  
struts.objectFactory )z2Tm4>iql  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1ncY"S/VO  
      com.opensymphony.xwork2.ObjectFactory接口(spring) gSL$silc  
L*D-RYW  
struts.objectFactory.spring.autoWire )/Ee#)z*  
      Whether Spring should autoWire or not >9uDY+70I3  
      是否自动绑定Spring 9~ K 1+%!  
+>44'M^Z|(  
struts.objectFactory.spring.useClassCache zRL[.O9  
      Whether Spring should use its class cache or not Nyow:7p  
      是否spring应该使用自身的cache R`!x<J  
&]16Hb~  
struts.objectTypeDeterminer >m44U 9   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~ 9^1m  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  Q.DtC  
8QXxRD;0:  
struts.serve.static.browserCache k .KN9=o  
If static content served by the Struts filter should set browser caching header properties or not )+u|qT3%  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kJZBQ<^  
ncu &<j}U  
struts.serve.static 4F??9o8}  
      Whether the Struts filter should serve static content or not FC.y%P,  
      是否struts过滤器应该提供静态内容 ?U cW@B{  
tceQn ^|<  
struts.tag.altSyntax ^z "90-V^  
      Whether to use the alterative syntax for the tags or not f+Put  
      是否可以用替代的语法替代tags 9"I/jd0B  
vz#rbBY*;  
struts.ui.templateDir uG${`4  
      The directory containing UI templates UpN:F  
      UI templates的目录夹 ^7.864  
(SkI9[1\@3  
struts.ui.theme &t5pJ`$(Cy  
      The default UI template theme k$i76r  
      默认的UI template主题 ( T VzYm y  
y4C_G?  
struts.url.http.port oz(<e  
      The HTTP port used by Struts URLs ,xn+T)2I  
      设置http端口 *h-_   
u;F++$=  
struts.url.https.port '2WYbcU  
      The HTTPS port used by Struts URLs kK16+`\+  
      设置https端口 s~Ni\SF  
oi::/W|A+  
struts.url.includeParams i(a2FKLy  
      The default includeParams method to generate Struts URLs 7M<7^)9  
      在url中产生 默认的includeParams )z=`,\&p:  
@j K7bab:  
TMhUo#`I|  
struts.velocity.configfile kgEGL]G>  
      The Velocity configuration file path *QG>U[  
      velocity配置文件路径 ;E,%\<  
5dXC  
struts.velocity.contexts (=j]fnH?  
      List of Velocity context names $f7#p4;}(  
      velocity的context列表 3R !Mfz*  
Vv B%,_\  
DQ?'f@I&*  
struts.velocity.manager.classname D`o* OlU  
      org.apache.struts2.views.velocity.VelocityManager implementation class Ja4O*C<  
      org.apache.struts2.views.velocity.VelocityManager接口名 JrQd7  
%A,4vLe~6  
struts.velocity.toolboxlocation zRx-xWo  
      The location of the Velocity toolbox G)?VC^Q  
      velocity工具盒的位置 ]>b.oI/  
struts.xslt.nocache LR@rn2Z  
      Whether or not XSLT templates should not be cached P B.@G,)  
      是否XSLT模版应该被缓存 ^+Ie   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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