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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 STT2o=   
Qb@eK$wo}  
struts.action.extension wu^q`!ml  
      The URL extension to use to determine if the request is meant for a Struts action 6F5,3&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~zMKVM1Q.,  
@ M[Q$:  
struts.configuration PNmF}"  
      The org.apache.struts2.config.Configuration implementation class #S?c ;3-  
        org.apache.struts2.config.Configuration接口名 'Oy5e@G+?  
rt.[,m  
struts.configuration.files {E~l>Z88  
      A list of configuration files automatically loaded by Struts syFI$rf _  
      struts自动加载的一个配置文件列表 )fCMITq.|  
f'_ S1\  
struts.configuration.xml.reload \!PV*%P  
      Whether to reload the XML configuration or not Jr?!Mh-  
      是否加载xml配置(true,false) t,Q'S`eTU  
V4?Oc2mS  
struts.continuations.package hZF(/4Z2  
      The package containing actions that use Rife continuations ,kE=TR.|  
      含有actions的完整连续的package名称 Tf l;7w.(A  
7|~:P $M  
struts.custom.i18n.resources QN #)F  
      Location of additional localization properties files to load :0dfB&7  
      加载附加的国际化属性文件(不包含.properties后缀) !fZLQc  
u%aFb*  
struts.custom.properties M71R -B`-  
      Location of additional configuration properties files to load (HSw%e  
      加载附加的配置文件的位置 ]PVt o\B=  
RIo'X@zb  
Kw*~W i  
struts.devMode bA+[{  
      Whether Struts is in development mode or not V85.DK!  
      是否为struts开发模式 Z!)f*  
rIPl6,w~  
struts.dispatcher.parametersWorkaround `r.N  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ?d,M.o{0]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 5 ZUy:  
6 5"uD7;  
struts.enable.DynamicMethodInvocation R\ q):,  
      Allows one to disable dynamic method invocation from the URL {c?ymkK  
        允许动态方法调用 X8.y4{5  
d"l}Ny)C  
struts.freemarker.manager.classname y{;u@o?T  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KDaN-r^{%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4g'}h`kh  
TMtI^mkB:  
struts.i18n.encoding s<#N]mp'   
      The encoding to use for localization messages 4]u,x`6C  
      国际化信息内码 w=$'Lt!  
JP_kQ  
struts.i18n.reload q-uLA&4  
      Whether the localization messages should automatically be reloaded #-dK0<:  
      是否国际化信息自动加载 NCxn^$/+>9  
500> CBL0O  
struts.locale #}j]XWy  
      The default locale for the Struts application kpWzMd &RK  
      默认的国际化地区信息 L B<UC?e  
wJ(8}eI  
struts.mapper.class "_oLe;?$c  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .SBc5KX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 jRwa0Px(  
mOSCkp{<e  
struts.multipart.maxSize  mc~`  
      The maximize size of a multipart request (file upload) s/PhXf\MN  
      multipart请求信息的最大尺寸(文件上传用) fT x4vlI4  
K /8qB~J*  
struts.multipart.parser J2=*-O:  
      The org.apache.struts2.dispatcher.multipart. /6smVz@O  
      MultiPartRequest parser implementation for a multipart request (file upload) A{t"M-<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Fi/jR0]e2  
[{/$9k-aF?  
)ZeLaaP  
struts.multipart.saveDir 79a9L{gso  
      The directory to use for storing uploaded files n8Q* _?Z/  
      设置存储上传文件的目录夹 p*!q}%U  
<YSg~T  
struts.objectFactory ,.q8Xf  
      The com.opensymphony.xwork2.ObjectFactory implementation class [Q=4P*G}X  
      com.opensymphony.xwork2.ObjectFactory接口(spring) m"q/,}DR  
}eI`Qg  
struts.objectFactory.spring.autoWire CCn/ udp@  
      Whether Spring should autoWire or not lf;~5/%wMG  
      是否自动绑定Spring b<8q 92F  
>0 7shNX  
struts.objectFactory.spring.useClassCache >waN;&>/  
      Whether Spring should use its class cache or not %/X2 l  
      是否spring应该使用自身的cache }oV3EIH  
M-vC>u3Y  
struts.objectTypeDeterminer bbO+%-(X  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class dUZ$wbV%h  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 iW":DOdi_  
"W3W:vl!  
struts.serve.static.browserCache &6Ns7w6*z  
If static content served by the Struts filter should set browser caching header properties or not q< b"M$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a\>+=mua  
{dDq*sLf  
struts.serve.static m_(E(_  
      Whether the Struts filter should serve static content or not M;V&KG Z  
      是否struts过滤器应该提供静态内容 #Af)n(  
h^`{ .TlN  
struts.tag.altSyntax s5nB(L*Pjp  
      Whether to use the alterative syntax for the tags or not 8KZ$ F>T]>  
      是否可以用替代的语法替代tags Pb3EnNqYbM  
 w}"!l G  
struts.ui.templateDir |E? ,xWN  
      The directory containing UI templates |c=d;+  
      UI templates的目录夹 )4Bwt`VX  
S'|lU@P Cl  
struts.ui.theme <Ak:8&$O  
      The default UI template theme 6(,ItMbI  
      默认的UI template主题 N:twq&[Y  
oO8]lHS?@  
struts.url.http.port Z0{f  
      The HTTP port used by Struts URLs oy`3r5g   
      设置http端口 {a[&#Uv  
l<s :%%CX  
struts.url.https.port " S ?Km  
      The HTTPS port used by Struts URLs >J9IRAm}sc  
      设置https端口 JXlTN[O  
8 H,_vf  
struts.url.includeParams 2V 4`s'  
      The default includeParams method to generate Struts URLs *>G ^!e.u  
      在url中产生 默认的includeParams Vn@A]Jx^  
D\n>*x  
,zc"udpKF  
struts.velocity.configfile t`) 'LT  
      The Velocity configuration file path H&w(]PDh  
      velocity配置文件路径 8 f|9W%jt  
Z4=_k{*  
struts.velocity.contexts N'I?fWN!;R  
      List of Velocity context names P Q6T| >  
      velocity的context列表 r$94J'_  
}{P&idkv  
_F! :(@}  
struts.velocity.manager.classname #W_i{bdO  
      org.apache.struts2.views.velocity.VelocityManager implementation class }<E sS  
      org.apache.struts2.views.velocity.VelocityManager接口名 [5x+aW%ql  
="/R5fp  
struts.velocity.toolboxlocation P0a>+^:%  
      The location of the Velocity toolbox "r:H5) !  
      velocity工具盒的位置 (MZ A  
struts.xslt.nocache 11PLH0  
      Whether or not XSLT templates should not be cached t)YFTO"Jj  
      是否XSLT模版应该被缓存 PY[S z=[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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