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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 T<nK/lp1t  
w H=7pS"s  
struts.action.extension b?Q$UMAbH  
      The URL extension to use to determine if the request is meant for a Struts action ''9K(p6  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \Qnr0t@0  
2|exY>`w  
struts.configuration `{w|2 [C3  
      The org.apache.struts2.config.Configuration implementation class c3fi<?0&|  
        org.apache.struts2.config.Configuration接口名 2HE<WI^#h  
Xeis_  
struts.configuration.files 7Y.yl F:  
      A list of configuration files automatically loaded by Struts T[[E)f1[  
      struts自动加载的一个配置文件列表 FR50y+h^$  
9P <1/W!  
struts.configuration.xml.reload Wkb>JnPo  
      Whether to reload the XML configuration or not ~9!@BL\  
      是否加载xml配置(true,false) 9@M;\ @&g  
eUa:@cA  
struts.continuations.package ri3*~?k00  
      The package containing actions that use Rife continuations ^Bw"+6d  
      含有actions的完整连续的package名称 )<'2 vpz  
0V"(}!=2a  
struts.custom.i18n.resources s&WE'  
      Location of additional localization properties files to load Qd3ppJn  
      加载附加的国际化属性文件(不包含.properties后缀) NV} fcZ  
GmUm?A@B  
struts.custom.properties kp?_ir  
      Location of additional configuration properties files to load o"N\l{#s  
      加载附加的配置文件的位置 o4rf[.z  
bTYR=^9  
g rQ,J  
struts.devMode Rdj3dg'<  
      Whether Struts is in development mode or not J +Y?'"r  
      是否为struts开发模式 Bq4@I_b  
#cD$ DA  
struts.dispatcher.parametersWorkaround ) cOBP}j+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ?g K|R  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :[_k .1-+  
f0g_Gn $  
struts.enable.DynamicMethodInvocation <[gN4x>'  
      Allows one to disable dynamic method invocation from the URL 8&x&Ou$("V  
        允许动态方法调用 /^~)iTwH  
y(C',Xn  
struts.freemarker.manager.classname 44^jE{,9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ] :](xW%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 qw|B-lT{:  
n%vmo f  
struts.i18n.encoding *&_(kq z'1  
      The encoding to use for localization messages |U~\;m@  
      国际化信息内码 &u2m6 r>W  
r5lPO*?Df  
struts.i18n.reload Fkqw #s(T  
      Whether the localization messages should automatically be reloaded Aba%QQQ  
      是否国际化信息自动加载 z+_d*\  
[w  FK!?  
struts.locale _lH:%E*  
      The default locale for the Struts application @%MGLR{pH  
      默认的国际化地区信息 ~WmA55  
se_Oi$VZ{  
struts.mapper.class uqBVKE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T%PUV \LV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 HXB & 6  
/I`-  
struts.multipart.maxSize 6%c]{eTd9  
      The maximize size of a multipart request (file upload) a}k5[)et  
      multipart请求信息的最大尺寸(文件上传用) `- 9p)@'8k  
3P'Wk|j  
struts.multipart.parser zb!RfQ,  
      The org.apache.struts2.dispatcher.multipart. \%W"KLP  
      MultiPartRequest parser implementation for a multipart request (file upload) 0o@eE3^  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) cGg ~+R2P  
(x[z=_I%`  
p@YbIn  
struts.multipart.saveDir ]*rK;  
      The directory to use for storing uploaded files .g_Kab3?L  
      设置存储上传文件的目录夹 >bwq  
{I$zmVG  
struts.objectFactory ,G$<J0R1  
      The com.opensymphony.xwork2.ObjectFactory implementation class %x^U3"7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *M~BN}.  
\VAS<?3  
struts.objectFactory.spring.autoWire 2;SiH]HNS  
      Whether Spring should autoWire or not @7?L+.r$9  
      是否自动绑定Spring nG| NRp  
|)ALJJ=+  
struts.objectFactory.spring.useClassCache ge&!GO  
      Whether Spring should use its class cache or not v?q)E%5j  
      是否spring应该使用自身的cache p" Di;3!y!  
f F9=zrW  
struts.objectTypeDeterminer Is  ( Ji  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ez^wK~  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q"GZh.m  
ML1/1GK*i+  
struts.serve.static.browserCache R8, g^N  
If static content served by the Struts filter should set browser caching header properties or not cEPqcy *  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N<HJ}geC "  
Pfg.'Bl  
struts.serve.static [:{HX U7y  
      Whether the Struts filter should serve static content or not @PKY>58)  
      是否struts过滤器应该提供静态内容 Y)C!N$=@Q  
ZlL]AD@  
struts.tag.altSyntax F^wm&:%{`  
      Whether to use the alterative syntax for the tags or not mw${3j~&  
      是否可以用替代的语法替代tags R6irL!akAd  
HAcC& s8  
struts.ui.templateDir _GL:4  
      The directory containing UI templates jQ P2[\  
      UI templates的目录夹 K@!Gs'Op  
8/ CK(G  
struts.ui.theme @B>pPCowa  
      The default UI template theme MB?762 Q  
      默认的UI template主题 lM%3 ?~?Q&  
FlLk.+!t  
struts.url.http.port t\,X G  
      The HTTP port used by Struts URLs ;c#jO:A5  
      设置http端口 x?G"58  
IKeO&]k  
struts.url.https.port f2M}N  
      The HTTPS port used by Struts URLs y?xFF9W@H  
      设置https端口 Zx%6pZ(.  
ALp|fZ\vp  
struts.url.includeParams )#025>$z  
      The default includeParams method to generate Struts URLs U{&gV~  
      在url中产生 默认的includeParams ,D{D QJ(B  
-j}zr yG-  
z7O$o/E-*  
struts.velocity.configfile s>e)\9c  
      The Velocity configuration file path m+dJ3   
      velocity配置文件路径 9.l*#A^  
ys} I~MK-  
struts.velocity.contexts EpH\;25u  
      List of Velocity context names ;v%f +  
      velocity的context列表 Jw -3G3h  
yH',vC.  
Sk%*Zo{|  
struts.velocity.manager.classname 6F3FcUL  
      org.apache.struts2.views.velocity.VelocityManager implementation class p']oy;t  
      org.apache.struts2.views.velocity.VelocityManager接口名 qbD[<T  
IFW"S fdZk  
struts.velocity.toolboxlocation :sJQ r._L  
      The location of the Velocity toolbox t|}}#Z!I[f  
      velocity工具盒的位置 pn aSOyR  
struts.xslt.nocache !s[[X5  
      Whether or not XSLT templates should not be cached iiTt{ab\Y  
      是否XSLT模版应该被缓存 JR4fJG  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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