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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2ElZ&(RZJF  
2b K1.BD  
struts.action.extension /B<QYvv  
      The URL extension to use to determine if the request is meant for a Struts action K%ptRj$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~P BJ~j+G  
dh_c`{9  
struts.configuration ^[6el_mj  
      The org.apache.struts2.config.Configuration implementation class $`[TIyA9!  
        org.apache.struts2.config.Configuration接口名 DY\~O  
s_}`TejK  
struts.configuration.files cH6++r  
      A list of configuration files automatically loaded by Struts :-Ml?:0_X  
      struts自动加载的一个配置文件列表 [@_W-rA  
{fJCj152.  
struts.configuration.xml.reload d7S?"JpV  
      Whether to reload the XML configuration or not &y&HxV  
      是否加载xml配置(true,false) m/3,;P.6  
#$ 4g&8  
struts.continuations.package `|2g &Vn  
      The package containing actions that use Rife continuations 14DhJUV"b  
      含有actions的完整连续的package名称 c~+KrWbZ~  
2ck0k,WP  
struts.custom.i18n.resources Ab6R ?mUM  
      Location of additional localization properties files to load (H8JV1J  
      加载附加的国际化属性文件(不包含.properties后缀) i1S cXKO  
[1nUq!uTm  
struts.custom.properties GOOm] ]I  
      Location of additional configuration properties files to load {y'4&vt<~  
      加载附加的配置文件的位置 ey6ujV7!  
[RF6mWQ  
~jzjJ&O&  
struts.devMode OT0IGsJ"'  
      Whether Struts is in development mode or not }T-'""*  
      是否为struts开发模式 7,zE?KG /  
wYr*('uT  
struts.dispatcher.parametersWorkaround d( yTz&u)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Z~].v._YV)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) adPd}rt;  
W{c Z7$d  
struts.enable.DynamicMethodInvocation GVhy }0|  
      Allows one to disable dynamic method invocation from the URL hr!'  
        允许动态方法调用 { [3xi`0-  
e/&^~ $h  
struts.freemarker.manager.classname O7p=N8V  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L5'?.9]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 gD2P)7:  
Q' Tg0,,S  
struts.i18n.encoding '50}QY_R.  
      The encoding to use for localization messages ^HxIy;EQ<z  
      国际化信息内码 I1 Otu~%d  
>g m  
struts.i18n.reload LmytO$?2(  
      Whether the localization messages should automatically be reloaded fm L8n<1  
      是否国际化信息自动加载 d8iq9AP\o  
eC94rcb}i{  
struts.locale S9{A}+"K  
      The default locale for the Struts application 7MGvw-Tpb7  
      默认的国际化地区信息 qtmKX  
{PR "}x  
struts.mapper.class w2 r  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class zez|l  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [N12X7O3  
MT7B'hd  
struts.multipart.maxSize ~oJ"si  
      The maximize size of a multipart request (file upload) D*j^f7ab  
      multipart请求信息的最大尺寸(文件上传用) #IJe q0TVB  
S@g(kIo]  
struts.multipart.parser {xH?b0>  
      The org.apache.struts2.dispatcher.multipart. ~Hu!iZ2]  
      MultiPartRequest parser implementation for a multipart request (file upload) +H28F_ #  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G{I),Y~IF  
VFzIBgJ3  
I]DD5l}\  
struts.multipart.saveDir g+5c"Yk+u~  
      The directory to use for storing uploaded files BNj_f  
      设置存储上传文件的目录夹 YRo,wsj  
<# RVA{  
struts.objectFactory 0)M8Tm0$  
      The com.opensymphony.xwork2.ObjectFactory implementation class R8_I ASs  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 'y=N_/+s  
GGf<9!:  
struts.objectFactory.spring.autoWire gq"d$Xh$x7  
      Whether Spring should autoWire or not E7M_R/7@y  
      是否自动绑定Spring >,E^ R`y  
*\(z"B  
struts.objectFactory.spring.useClassCache  * k<@  
      Whether Spring should use its class cache or not {0 j_.XZ  
      是否spring应该使用自身的cache AL.psw-Il  
!=A;?Kdq  
struts.objectTypeDeterminer IrMB=pWo  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class +<j7^AEG  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 UoPY:(?;i  
s*s~yH6  
struts.serve.static.browserCache ,uAp;"YJeV  
If static content served by the Struts filter should set browser caching header properties or not Bp3E)l  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zh|9\lf  
JXM]tV  
struts.serve.static hHGuD2%  
      Whether the Struts filter should serve static content or not DY9]$h*y  
      是否struts过滤器应该提供静态内容 IvT><8<G  
t&:L?K)j  
struts.tag.altSyntax [:FiA?O]  
      Whether to use the alterative syntax for the tags or not x M(H4.<  
      是否可以用替代的语法替代tags g;v;xlY`N  
fGO\f;P  
struts.ui.templateDir ;AE-=/<  
      The directory containing UI templates 4(|yl^w  
      UI templates的目录夹 nYFrp)DLK  
3+15 yEeA  
struts.ui.theme ! 5NuFLOf  
      The default UI template theme >mai v;  
      默认的UI template主题 :n QlS  
]"lB!O~  
struts.url.http.port h%krA<G9  
      The HTTP port used by Struts URLs w4vV#C4X  
      设置http端口 t* =[RS*  
W*t] d  
struts.url.https.port wWy;dma#  
      The HTTPS port used by Struts URLs TI8r/P? ]V  
      设置https端口 'gvR?[!t  
mL=d E Q  
struts.url.includeParams ocFk#FW  
      The default includeParams method to generate Struts URLs z -!w/Bv@  
      在url中产生 默认的includeParams Aeb(b+=  
XzHR^^;u"*  
b:D92pH  
struts.velocity.configfile 8.[F3Tk=  
      The Velocity configuration file path Fq@o_bI  
      velocity配置文件路径 B*,)@h  
lI 4tW=  
struts.velocity.contexts 2S{P(B   
      List of Velocity context names K5jt(7i  
      velocity的context列表 PDuc;RG  
@kqxN\DE  
 @Fb1D"!  
struts.velocity.manager.classname +yp:douERi  
      org.apache.struts2.views.velocity.VelocityManager implementation class $2Whb!7Z(  
      org.apache.struts2.views.velocity.VelocityManager接口名 4P&2Z0  
"FWx;65CR  
struts.velocity.toolboxlocation u3C_Xz  
      The location of the Velocity toolbox MQQm3VaKS  
      velocity工具盒的位置 Lr:Qc#2  
struts.xslt.nocache ?: yz/9(  
      Whether or not XSLT templates should not be cached {aUnOyX_  
      是否XSLT模版应该被缓存 x}yl Rg`[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五