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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 G"5Nj3v d  
PxfeU2^{0  
struts.action.extension SL hki)|  
      The URL extension to use to determine if the request is meant for a Struts action y$r9Y!?s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l(v$+  
l#\z3"b  
struts.configuration KQJn\#>  
      The org.apache.struts2.config.Configuration implementation class Jk}L+X vv  
        org.apache.struts2.config.Configuration接口名 P qagep d  
 +h9U V  
struts.configuration.files ?LV-W  
      A list of configuration files automatically loaded by Struts =mi:<q  
      struts自动加载的一个配置文件列表 V'Z&>6Z  
68J 9T^84  
struts.configuration.xml.reload J2oWssw"  
      Whether to reload the XML configuration or not dY4k9p8  
      是否加载xml配置(true,false) iBtjd`V*  
 [`hE^chd  
struts.continuations.package {#w A !>.  
      The package containing actions that use Rife continuations 6m-:F.k1(  
      含有actions的完整连续的package名称 rt3f7 s*  
f- k|w%R@  
struts.custom.i18n.resources { /F rs*AF  
      Location of additional localization properties files to load Mf ;|z0UX  
      加载附加的国际化属性文件(不包含.properties后缀) Uaus>Frx.T  
=YXe1$ $  
struts.custom.properties j*eUF-J1  
      Location of additional configuration properties files to load ]8xc?*i8  
      加载附加的配置文件的位置 c4ZuW_&:  
T<TcV9vM  
_X,[]+ziu%  
struts.devMode /slm ]'  
      Whether Struts is in development mode or not *gM,x4Y  
      是否为struts开发模式 EI=Naq  
V>FT~k_"  
struts.dispatcher.parametersWorkaround d4y9AE@k  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic FUyB"-<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) s.R-<Y 3  
|P,zGy  
struts.enable.DynamicMethodInvocation ( K6~Tj  
      Allows one to disable dynamic method invocation from the URL `?zg3GD_  
        允许动态方法调用 Sc4obcw%  
LC,*H0  
struts.freemarker.manager.classname !cEbz b  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class L(WL,xnBy  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 W.#}q K" q  
G%P>A g  
struts.i18n.encoding Hhe{ +W@~  
      The encoding to use for localization messages P+)qE6\  
      国际化信息内码 74@lo-/LY  
heE}_,$|  
struts.i18n.reload ia%z+:G  
      Whether the localization messages should automatically be reloaded @uI?  
      是否国际化信息自动加载 ADv^eJJ|  
DS#c m3  
struts.locale a|DsHZ^6^  
      The default locale for the Struts application Q^z=w![z  
      默认的国际化地区信息 mR{CVU  
Y7<zm}=(/  
struts.mapper.class Vq3gceo'0A  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ==QWwPpA  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 hp bwZ  
(C8 U   
struts.multipart.maxSize doP$N3Zm  
      The maximize size of a multipart request (file upload) v! 7s M  
      multipart请求信息的最大尺寸(文件上传用) _GVE^yW~z  
U@Z>/ q  
struts.multipart.parser nNt*} k  
      The org.apache.struts2.dispatcher.multipart. yfmp$GO:  
      MultiPartRequest parser implementation for a multipart request (file upload) o&(wg(Rv  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8YuJ8KC  
-PNi^ K_  
y[: ~CL  
struts.multipart.saveDir v8ba~  
      The directory to use for storing uploaded files 21r= = H$  
      设置存储上传文件的目录夹 T vrk^!  
(GCG/8s  
struts.objectFactory Iz DG&c  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8zhBA9Y#~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) y }\r#"Z`  
x^A7'ad0  
struts.objectFactory.spring.autoWire ""co6qo#>  
      Whether Spring should autoWire or not sX+`wc  
      是否自动绑定Spring T4mv%zzS  
q@(1Yivk  
struts.objectFactory.spring.useClassCache z{ptm7  
      Whether Spring should use its class cache or not 7;&(}  
      是否spring应该使用自身的cache y|$R`P  
ev9; Ld  
struts.objectTypeDeterminer "\e:h| .G  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *HR +a#o  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m#tpbFAsc  
>lrhHU  
struts.serve.static.browserCache GL1'Zo  
If static content served by the Struts filter should set browser caching header properties or not JPEIT  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3KSpB;HX  
(a[.vw^g  
struts.serve.static &5?G-mn  
      Whether the Struts filter should serve static content or not PgMbMH  
      是否struts过滤器应该提供静态内容 v? L  
[ `7%sn]$  
struts.tag.altSyntax (8.{+8o  
      Whether to use the alterative syntax for the tags or not j~bAbOX12  
      是否可以用替代的语法替代tags iOXZ ]Xj5  
m`z7fi7u  
struts.ui.templateDir / s,tY74'5  
      The directory containing UI templates e@E17l-  
      UI templates的目录夹 #ZJMlJ:q`"  
Vtr3G.P^  
struts.ui.theme Ly;I,)w  
      The default UI template theme tJNIr5o  
      默认的UI template主题 zh\$t]d<I  
4o<*PPA1  
struts.url.http.port %}P4kEY  
      The HTTP port used by Struts URLs CEuWw:)  
      设置http端口 (89Ji'dc  
C5|db{=\.*  
struts.url.https.port <47k@Ym   
      The HTTPS port used by Struts URLs 7h%4]  
      设置https端口 &iNwvA%9D  
gV8"V Zg2  
struts.url.includeParams hoenQ6N^:  
      The default includeParams method to generate Struts URLs #uSK#>H_!  
      在url中产生 默认的includeParams .wmnnvtl,  
wd[eJcQ,  
afHaB/t{R  
struts.velocity.configfile ks*Y9D*=  
      The Velocity configuration file path q*, Q5  
      velocity配置文件路径 uRE*%d>  
)P?IqSEA%  
struts.velocity.contexts re^Hc(8M  
      List of Velocity context names >c4/ ?YV  
      velocity的context列表 v?%LQKO  
yhpz5[AuO  
rEdY>\'  
struts.velocity.manager.classname b7HffO O  
      org.apache.struts2.views.velocity.VelocityManager implementation class !4WEk  
      org.apache.struts2.views.velocity.VelocityManager接口名 T dk ,&8  
5{K}?*3hJ  
struts.velocity.toolboxlocation *FK`&(B+}  
      The location of the Velocity toolbox 0w %[  
      velocity工具盒的位置 j(eFoZz,  
struts.xslt.nocache DVlJ*A  
      Whether or not XSLT templates should not be cached &fwS{n;U  
      是否XSLT模版应该被缓存 glE^t6)  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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