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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 fXB0j;A  
fc@A0Hf  
struts.action.extension 048kPXm`  
      The URL extension to use to determine if the request is meant for a Struts action ch]29  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yDS4h(^  
!!y a  
struts.configuration nj4/#W  
      The org.apache.struts2.config.Configuration implementation class +/\6=).\  
        org.apache.struts2.config.Configuration接口名 [Nq*BrzF  
.|=\z9_7S8  
struts.configuration.files jh$='Gn  
      A list of configuration files automatically loaded by Struts }1xo-mUg,  
      struts自动加载的一个配置文件列表 h7@6T+#WoT  
mV m Gg,  
struts.configuration.xml.reload J8~haim  
      Whether to reload the XML configuration or not ~{gqsuCCL  
      是否加载xml配置(true,false) B1Oq!k  
uIrG*K  
struts.continuations.package },[}$m %  
      The package containing actions that use Rife continuations SY8C4vb'h  
      含有actions的完整连续的package名称 CH/rp4NeSy  
nF/OPd  
struts.custom.i18n.resources J-4:H gx  
      Location of additional localization properties files to load IM+ o.@f-  
      加载附加的国际化属性文件(不包含.properties后缀) ::F|8  
,2)6s\]/b  
struts.custom.properties R GX=)  
      Location of additional configuration properties files to load \C1nZk?3  
      加载附加的配置文件的位置 D3A/l  
{_dvx*M  
{y;n:^  
struts.devMode (tQc  
      Whether Struts is in development mode or not l@:0e]8|o  
      是否为struts开发模式 #89!'W  
.x1NWGDn  
struts.dispatcher.parametersWorkaround v9UD%@tZ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~v"L!=~G;a  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [trwBZ^D~  
K4);HJ|=  
struts.enable.DynamicMethodInvocation bYPKh  
      Allows one to disable dynamic method invocation from the URL yCX?!E;La  
        允许动态方法调用 &t-kpA|EG  
 RX5dO%  
struts.freemarker.manager.classname +'w3 =2Bo  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class v9->nVc-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 a@*\o+Su  
Xs?o{]Fe  
struts.i18n.encoding D#)b+7N-  
      The encoding to use for localization messages ;({W#Wa  
      国际化信息内码 !? gKqx'T$  
_/K_[w 1  
struts.i18n.reload b%5f&N  
      Whether the localization messages should automatically be reloaded = 9]~ yt  
      是否国际化信息自动加载 {.\TtE  
r>U@3%0&  
struts.locale ?I@W:#>o  
      The default locale for the Struts application xZv#Es%#  
      默认的国际化地区信息 n.G!43@*N  
}Z,x~G  
struts.mapper.class "FKOaQ%IH  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class r$~HfskeI  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :4%k9BGAj"  
$p?aVO  
struts.multipart.maxSize E+w<RNBmz  
      The maximize size of a multipart request (file upload) \K!VNB>h  
      multipart请求信息的最大尺寸(文件上传用) e@OX_t_  
iW /}#  
struts.multipart.parser "6?0h[uff  
      The org.apache.struts2.dispatcher.multipart. #ucBo<[  
      MultiPartRequest parser implementation for a multipart request (file upload) 3kMf!VL  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 2('HvH]k  
^M>P:~  
~La>?:g <+  
struts.multipart.saveDir W1=H8 O  
      The directory to use for storing uploaded files 9j9TPyC/2  
      设置存储上传文件的目录夹 vOpK Np  
<<R*2b  
struts.objectFactory q(2'\ _`u  
      The com.opensymphony.xwork2.ObjectFactory implementation class )f<z% :I+Z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }d}Ke_Q0  
xjj6WED  
struts.objectFactory.spring.autoWire h{HHLR  
      Whether Spring should autoWire or not lv+TD!b   
      是否自动绑定Spring ]F'e aR  
`, Tz Q  
struts.objectFactory.spring.useClassCache 6MMOf\   
      Whether Spring should use its class cache or not I75DUJqy]  
      是否spring应该使用自身的cache Q|?L*Pq2I  
Y^EcQzLw  
struts.objectTypeDeterminer pohp&Tcm  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class U/l&tmIVY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 FSW_<%  
<s<n  
struts.serve.static.browserCache )"aV* "  
If static content served by the Struts filter should set browser caching header properties or not ^N{h3b8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0*D$R`$  
Xg!{K3OS  
struts.serve.static 'XP7" N47O  
      Whether the Struts filter should serve static content or not "8jf81V*  
      是否struts过滤器应该提供静态内容 fN^8{w/O  
P%&0]FCx  
struts.tag.altSyntax 9c,'k#k  
      Whether to use the alterative syntax for the tags or not G[I"8iS,  
      是否可以用替代的语法替代tags dV$gB<iS  
*Y7u'v  
struts.ui.templateDir E GU 0)<  
      The directory containing UI templates tq6!`L}3  
      UI templates的目录夹 kr:^tbJ  
""F5z,'  
struts.ui.theme O$j7i:G'5  
      The default UI template theme ca*DZG/  
      默认的UI template主题 YdC6k?tzS  
q"sed]  
struts.url.http.port hwBfdZ  
      The HTTP port used by Struts URLs gANuBWh8T  
      设置http端口 O6a<`]F  
j<jN05p  
struts.url.https.port `FDiX7M  
      The HTTPS port used by Struts URLs dx{bB%?Y\=  
      设置https端口 1 A !bE  
^"1n4im  
struts.url.includeParams BmMGx8P  
      The default includeParams method to generate Struts URLs C>j@,G4  
      在url中产生 默认的includeParams Ln<`E|[29  
|[ k.ii6iO  
(\hx` Yh=>  
struts.velocity.configfile l%puHZ)t  
      The Velocity configuration file path D] jz A x  
      velocity配置文件路径 2 %@4]  
JG!mc7  
struts.velocity.contexts 8\ +T8(m  
      List of Velocity context names ith 3 =`3  
      velocity的context列表 A8fOQ  
Agg<tM{yB  
NI}yVV  
struts.velocity.manager.classname wh\}d4gN  
      org.apache.struts2.views.velocity.VelocityManager implementation class YY((V@|K  
      org.apache.struts2.views.velocity.VelocityManager接口名 OgQV;at  
\y)rt )  
struts.velocity.toolboxlocation |\<`Ib4j  
      The location of the Velocity toolbox X!Mx5fg  
      velocity工具盒的位置 YpZ+n*&+  
struts.xslt.nocache ]kG"ubHV?h  
      Whether or not XSLT templates should not be cached #ASz;$P  
      是否XSLT模版应该被缓存  Ins`l  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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