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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 O>Xyl4U  
?#rDoYt/Sx  
struts.action.extension $wdIOfaH  
      The URL extension to use to determine if the request is meant for a Struts action :a0qm.EN  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 hCc_+/j|  
U:#9!J?41  
struts.configuration ^WVH z;  
      The org.apache.struts2.config.Configuration implementation class (4>k+ H  
        org.apache.struts2.config.Configuration接口名 S3P;@Rm  
zK}$W73W^  
struts.configuration.files !HY+6!hk  
      A list of configuration files automatically loaded by Struts 9H" u\t|?  
      struts自动加载的一个配置文件列表 x a7x 2]~-  
7 H.2]X  
struts.configuration.xml.reload 'X<R)E  
      Whether to reload the XML configuration or not 0KHA5dt  
      是否加载xml配置(true,false) [9Q2/V;Uk%  
]gQgNn?  
struts.continuations.package yg5Ik{  
      The package containing actions that use Rife continuations T,!?+#  
      含有actions的完整连续的package名称 JyjS#BWi  
G;yf]xFd  
struts.custom.i18n.resources -SlLX\>p  
      Location of additional localization properties files to load 0V}%'Ec<e  
      加载附加的国际化属性文件(不包含.properties后缀) [L{q  
@2L+"=u#  
struts.custom.properties Z<0M_q9?MO  
      Location of additional configuration properties files to load 'eLO#1Ipf  
      加载附加的配置文件的位置 hof:36 <  
<FRYt-+  
bfQ+}|;  
struts.devMode b=wc-n A  
      Whether Struts is in development mode or not rMH\;\ I|U  
      是否为struts开发模式 u0A.I_  
TC<_I0jCh  
struts.dispatcher.parametersWorkaround y7u"a)T  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {Ymn_   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2VrF~+  
D+9xI  
struts.enable.DynamicMethodInvocation f*0[[J0]  
      Allows one to disable dynamic method invocation from the URL 2x"&8Bg3  
        允许动态方法调用 4@.qM6 \\q  
,l_"%xYx  
struts.freemarker.manager.classname nkG1&wiX  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }~:`9PV)Z%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 N*f?A$u/I  
pyq~_ Bng  
struts.i18n.encoding 2h@/Q)z  
      The encoding to use for localization messages BB.^-0up  
      国际化信息内码 cE$<6&0  
f2`[skNj  
struts.i18n.reload .Qyq*6T3&  
      Whether the localization messages should automatically be reloaded :Z- = 1b~  
      是否国际化信息自动加载 4@u*#Bp`|  
Ty}'A(U  
struts.locale :3gtc/pt>  
      The default locale for the Struts application 2>Xgo%  
      默认的国际化地区信息 *_}ft-*w  
Ovq-rI{  
struts.mapper.class A% -*M 'J  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,gVA^]eDh  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0B>hVaj>-  
K63OjR >H  
struts.multipart.maxSize &u&/t?  
      The maximize size of a multipart request (file upload) @a'Rn  
      multipart请求信息的最大尺寸(文件上传用) P6!c-\  
wI'T J e,  
struts.multipart.parser Kyq/'9`  
      The org.apache.struts2.dispatcher.multipart. -lQ8 &eB  
      MultiPartRequest parser implementation for a multipart request (file upload) t3}>5cAxy  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) NoB)tAvw  
jL8.*pfv  
az*c0Z<pl  
struts.multipart.saveDir 08n2TL;EsX  
      The directory to use for storing uploaded files ~Y7>P$G)  
      设置存储上传文件的目录夹 W;4rhZEgd  
}R=n!Y$F  
struts.objectFactory tda#9i[pkH  
      The com.opensymphony.xwork2.ObjectFactory implementation class -,)&?S  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Sb+^~M  
&xo_93  
struts.objectFactory.spring.autoWire W4%I%&j  
      Whether Spring should autoWire or not 5/F1|N4  
      是否自动绑定Spring >gRb.-{ux  
zR_ "  
struts.objectFactory.spring.useClassCache 93Kd7x-3  
      Whether Spring should use its class cache or not ><V<}&:y$(  
      是否spring应该使用自身的cache $M5iU@A  
?1T)cd*  
struts.objectTypeDeterminer j^;f {0f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class I<L  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Y``50{7  
1xP*  
struts.serve.static.browserCache o%;R4 s,  
If static content served by the Struts filter should set browser caching header properties or not vMu6u .e  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 >x9@ if  
[3lAKI  
struts.serve.static K~$A2b95  
      Whether the Struts filter should serve static content or not rE$0a-d2B  
      是否struts过滤器应该提供静态内容 OyH>N/  
io%WV%1_  
struts.tag.altSyntax i/E"E7  
      Whether to use the alterative syntax for the tags or not R&KFF'%  
      是否可以用替代的语法替代tags &OQ37(<_  
_JNSl2  
struts.ui.templateDir 1Bp?HyCR  
      The directory containing UI templates td JA?  
      UI templates的目录夹 *eL&fC  
@rI+.X  
struts.ui.theme NXo$rf:  
      The default UI template theme 4zKmoYt  
      默认的UI template主题 K~Nx;{{d  
hGh91c;4  
struts.url.http.port l7 Pn5c  
      The HTTP port used by Struts URLs N iw~0"-V  
      设置http端口 "'U+T:S  
+i^@QNOa  
struts.url.https.port cZC%W!pT  
      The HTTPS port used by Struts URLs 2>TOC BB"  
      设置https端口 3N c#6VI  
0h/bC)z  
struts.url.includeParams =\~<##sRJ  
      The default includeParams method to generate Struts URLs u#!QIQW  
      在url中产生 默认的includeParams #0$fZ  
+lC?Vpi^  
!-rG1VI_S*  
struts.velocity.configfile mO<1&{qMZ  
      The Velocity configuration file path y/i{6P2`,D  
      velocity配置文件路径 nl<TM96  
|?A:[C#X  
struts.velocity.contexts X!,huB^i  
      List of Velocity context names xnP@ h  
      velocity的context列表 3D 4-Wo4  
B^Sxp=~Au  
Gk:tT1  
struts.velocity.manager.classname 5<U:Yy  
      org.apache.struts2.views.velocity.VelocityManager implementation class 4N6JKS  
      org.apache.struts2.views.velocity.VelocityManager接口名 rDI}X?JmX  
Lmsc ~~  
struts.velocity.toolboxlocation fVf @Ngvu  
      The location of the Velocity toolbox (;VlK#rnC  
      velocity工具盒的位置 ":@\kw  
struts.xslt.nocache $,u>,  
      Whether or not XSLT templates should not be cached *!oV?N[eA'  
      是否XSLT模版应该被缓存 XM1; >#kz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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