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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8$}1|"F  
4h wUH  
struts.action.extension Hp;Dp!PLa  
      The URL extension to use to determine if the request is meant for a Struts action JK0L&t<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {#YGor|  
$>zLa_cn|  
struts.configuration =B O} hk  
      The org.apache.struts2.config.Configuration implementation class AA34JVm]  
        org.apache.struts2.config.Configuration接口名 RbUBKMZ U  
+` g&J  
struts.configuration.files Z7?C^m  
      A list of configuration files automatically loaded by Struts 7Wub@Mp  
      struts自动加载的一个配置文件列表 6( TG/J  
<*u[<  
struts.configuration.xml.reload H@%Y!z@\  
      Whether to reload the XML configuration or not %IGcn48J  
      是否加载xml配置(true,false) lgp-/O"T  
biFy*+|  
struts.continuations.package F<y$Q0Z}  
      The package containing actions that use Rife continuations j2NnDz'  
      含有actions的完整连续的package名称 lAuI?/E  
P_)h8-!+ $  
struts.custom.i18n.resources Ftu~nh}  
      Location of additional localization properties files to load l?E7'OEF:  
      加载附加的国际化属性文件(不包含.properties后缀) (.Yt| "j  
Q.: SIBP  
struts.custom.properties Yy]^_,r  
      Location of additional configuration properties files to load Fa78yY+6  
      加载附加的配置文件的位置 #MYhKySku  
!7XAc,y  
Z!o&};_j  
struts.devMode \9*wo9cV  
      Whether Struts is in development mode or not ImQ?<g8$  
      是否为struts开发模式 `Cy-*$$  
Enr8"+.(  
struts.dispatcher.parametersWorkaround )HWf`;VQ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @mM'V5_#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ek6PMZF:'  
7kapa59  
struts.enable.DynamicMethodInvocation < wV?B9j  
      Allows one to disable dynamic method invocation from the URL ]F kLtq  
        允许动态方法调用 3]Rb2$p[=  
J{c-'Of2yi  
struts.freemarker.manager.classname `[x`#irD  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class NFpR jC?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~*R"WiDtI  
b#cXn4<3D  
struts.i18n.encoding _hlLM,p  
      The encoding to use for localization messages e glcf z%  
      国际化信息内码 A+i|zo5p=k  
KO/Z|I  
struts.i18n.reload I_xvg >i  
      Whether the localization messages should automatically be reloaded 4A(kM}uRB  
      是否国际化信息自动加载 *cn,[  
],{b&\  
struts.locale *k$&U3=  
      The default locale for the Struts application !C>}j* 4  
      默认的国际化地区信息 "{-jZdq'  
*{|{T_H:  
struts.mapper.class +$R4'{9q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class t.Hte/,k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {w*5uI%%e  
#M$Gj>E%4  
struts.multipart.maxSize I_66q7U"0  
      The maximize size of a multipart request (file upload) &`hx   
      multipart请求信息的最大尺寸(文件上传用) M]PH1 2Ob  
"@Ir Bi6  
struts.multipart.parser "bZ {W(h  
      The org.apache.struts2.dispatcher.multipart. qzq_3^ 66  
      MultiPartRequest parser implementation for a multipart request (file upload) FTvFtdY  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) j?sq i9#  
'?Fw]z1$  
$oKT-G  
struts.multipart.saveDir 6}bUX_!&s  
      The directory to use for storing uploaded files b z3 &  
      设置存储上传文件的目录夹 P)bS ;w\(Y  
!#P|2>>u  
struts.objectFactory t,|`#6Ft  
      The com.opensymphony.xwork2.ObjectFactory implementation class _kR);\V.8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]A)`I  
fW^\G2Fk  
struts.objectFactory.spring.autoWire NUH;\*]8s  
      Whether Spring should autoWire or not -7^?40A  
      是否自动绑定Spring KDD_WXGt~  
04{*iS95J  
struts.objectFactory.spring.useClassCache CD|)TXy  
      Whether Spring should use its class cache or not PMPB}-d  
      是否spring应该使用自身的cache $|~YXH~O  
f?)BAah  
struts.objectTypeDeterminer ?`R;ZT)U-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class LJ7Qwh_",  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 <n+?7`d,  
C" vj#Tx  
struts.serve.static.browserCache ox9$aBjJ  
If static content served by the Struts filter should set browser caching header properties or not KG:CVIW Y  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y] Q=kI  
NYopt?Xg  
struts.serve.static {.=4;   
      Whether the Struts filter should serve static content or not !Cse,6/Z  
      是否struts过滤器应该提供静态内容 m,U Mb#7Y  
20glz(  
struts.tag.altSyntax t# cm |  
      Whether to use the alterative syntax for the tags or not yhnhORSY;  
      是否可以用替代的语法替代tags [K_v,m]   
2xy &mNx  
struts.ui.templateDir x;d*?69f]  
      The directory containing UI templates ]z5`!e)L  
      UI templates的目录夹 Kgev*xg  
0< i]ph  
struts.ui.theme ^&gu{kP  
      The default UI template theme |#hj O3  
      默认的UI template主题 y U"pU>fV@  
AC*> f&  
struts.url.http.port |ymw])L  
      The HTTP port used by Struts URLs WDznhMo  
      设置http端口 b[}f]pB@n  
'n1-?T)  
struts.url.https.port QkMK\Up  
      The HTTPS port used by Struts URLs 72J@Dc  
      设置https端口 dg#w/}}m  
3/+r*lv>X  
struts.url.includeParams lP$bxUNt  
      The default includeParams method to generate Struts URLs Q4;eN w  
      在url中产生 默认的includeParams >^mNIfdE^=  
M[aF3bbN  
1eiV[z$?  
struts.velocity.configfile M'Fa[n*b?!  
      The Velocity configuration file path ~loJYq'y  
      velocity配置文件路径 {Dv^j#  
JIeKp7;^  
struts.velocity.contexts Aj| Gqw>  
      List of Velocity context names e)Q{yO  
      velocity的context列表 cBxBIC  
U;%I" p`Z/  
8WT^ES~C  
struts.velocity.manager.classname or2BG&W  
      org.apache.struts2.views.velocity.VelocityManager implementation class X~ca8!Dq  
      org.apache.struts2.views.velocity.VelocityManager接口名 6|# +  
4dv5  
struts.velocity.toolboxlocation k 4|*t}o7  
      The location of the Velocity toolbox G's >0  
      velocity工具盒的位置 R.KqTEs<k  
struts.xslt.nocache <zmtVE*>g  
      Whether or not XSLT templates should not be cached *dB^B5  
      是否XSLT模版应该被缓存 Wz}DC7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八