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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 U~SOHfZ%(  
od- 0wJN-m  
struts.action.extension aQ ~  
      The URL extension to use to determine if the request is meant for a Struts action c{Ax{-'R  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L7jMpz&  
RoXU>a:nS  
struts.configuration "-N)TIzLX  
      The org.apache.struts2.config.Configuration implementation class 9's/~T  
        org.apache.struts2.config.Configuration接口名 w@P c7$EP  
(YjY=F  
struts.configuration.files Uv6#d":f;  
      A list of configuration files automatically loaded by Struts W`C&$v#  
      struts自动加载的一个配置文件列表 h-1eDxK6  
sa~.qmqu  
struts.configuration.xml.reload t-\S/N  
      Whether to reload the XML configuration or not EiY i<Z_S  
      是否加载xml配置(true,false) urHQb5|T}  
Zcg=a_  
struts.continuations.package )>)_>[  
      The package containing actions that use Rife continuations Ah_'.r1<P9  
      含有actions的完整连续的package名称 #]ii/Et#x  
?Rl?Pp=>  
struts.custom.i18n.resources %aX<p{EY  
      Location of additional localization properties files to load ~>@Dn40  
      加载附加的国际化属性文件(不包含.properties后缀) - v9V/LJ  
`@{qnCNQ  
struts.custom.properties $cev,OW6]  
      Location of additional configuration properties files to load 9-+6Ed^2  
      加载附加的配置文件的位置 (U/xpj}  
;bd\XHwMUP  
63QSYn,t  
struts.devMode q_8qowu"  
      Whether Struts is in development mode or not " [=Ee[/  
      是否为struts开发模式 39 JLi~j,  
AM}-dKei|  
struts.dispatcher.parametersWorkaround GYiUne $  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 31|Vb  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) I\sCH  
AA}M"8~2  
struts.enable.DynamicMethodInvocation t-SGG{  
      Allows one to disable dynamic method invocation from the URL kImGSIJ  
        允许动态方法调用 5|:=#Ql*  
l\5}\9yS  
struts.freemarker.manager.classname 5I{YsM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3Gt'<E|"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 r]'AdJFt  
:Ke~b_$Uy-  
struts.i18n.encoding xH\'gli/  
      The encoding to use for localization messages Z94D<X"  
      国际化信息内码 K}O~tff  
^!|BKH8>f%  
struts.i18n.reload Gq;0j:?CC  
      Whether the localization messages should automatically be reloaded 6^['g-\2  
      是否国际化信息自动加载 KhZ'Ic[vw  
G7C9FV bR  
struts.locale +v&+8S`+  
      The default locale for the Struts application R+Ke|C  
      默认的国际化地区信息 l\5qa_{z  
3}$L4U  
struts.mapper.class #hzs,tvvD  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |mrAvm}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 lp?geav  
8(%iYs$  
struts.multipart.maxSize W"|89\p}  
      The maximize size of a multipart request (file upload) FFtj5e  
      multipart请求信息的最大尺寸(文件上传用) z@&_3 Gl  
R\yw9!ESd  
struts.multipart.parser ms3Ec`i9  
      The org.apache.struts2.dispatcher.multipart. &&[j/d}J  
      MultiPartRequest parser implementation for a multipart request (file upload) q{c6DCc]\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \VPU)  
+(r8SnRX  
\u,hS*v0  
struts.multipart.saveDir uZId.+Rk  
      The directory to use for storing uploaded files :4Sj2  
      设置存储上传文件的目录夹 U,Z.MP Q  
TA}gCXE e  
struts.objectFactory ~v9\4O  
      The com.opensymphony.xwork2.ObjectFactory implementation class a&ZH  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Czb@:l%sc  
P 2;j>=W  
struts.objectFactory.spring.autoWire &#g;=jZ  
      Whether Spring should autoWire or not _}`iLA!$I  
      是否自动绑定Spring y{K~g<VL  
wamqeb{u  
struts.objectFactory.spring.useClassCache " I`<s<  
      Whether Spring should use its class cache or not &e_M \D  
      是否spring应该使用自身的cache (q*T.   
)R{4"&&2  
struts.objectTypeDeterminer 0_qqBL.4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *BBP"_$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 KWy4}7a@,s  
MsX`TOyO!  
struts.serve.static.browserCache E'Egc4Z2=l  
If static content served by the Struts filter should set browser caching header properties or not x1+8f2[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H*yX Iq:  
PWLMux  
struts.serve.static >F,~QHcz  
      Whether the Struts filter should serve static content or not v"_hWJ)  
      是否struts过滤器应该提供静态内容 (sO;etW  
YG?W8)T  
struts.tag.altSyntax 5H==m~  
      Whether to use the alterative syntax for the tags or not #(bMZ!/(  
      是否可以用替代的语法替代tags `6 lc]r  
#i.M-6SRd  
struts.ui.templateDir t 7;V`[  
      The directory containing UI templates 7u\^$25+h  
      UI templates的目录夹 ZxbWgM5rm  
,+,""t  
struts.ui.theme 49_b)K.tB  
      The default UI template theme ] 2FS=  
      默认的UI template主题 6!Ji-'\"  
;2)@NH  
struts.url.http.port t1g)Y|@d  
      The HTTP port used by Struts URLs v?!x,H$Qd  
      设置http端口 69r<Z  
![U|2x   
struts.url.https.port %dO'kU/-  
      The HTTPS port used by Struts URLs qN}0$x>p  
      设置https端口 rt!5Tl+v  
$0D]d.w=  
struts.url.includeParams k=w%oqpN  
      The default includeParams method to generate Struts URLs uQ9P6w=Nt  
      在url中产生 默认的includeParams |CY.Y,  
ph%/;?wY  
/jeurCQ8#u  
struts.velocity.configfile LurBqr  
      The Velocity configuration file path JL`n12$m  
      velocity配置文件路径 *8,]fBUq  
MBXumc_g  
struts.velocity.contexts sh:sPzQ%Jv  
      List of Velocity context names ga6M8eOI  
      velocity的context列表 ~e ]83?  
m}Kn!21  
5RI"g f  
struts.velocity.manager.classname !95ZK.UT  
      org.apache.struts2.views.velocity.VelocityManager implementation class L!c7$M5xJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 b!5W!vcK  
gI'4g ZH  
struts.velocity.toolboxlocation sR +=<u1  
      The location of the Velocity toolbox vM1f-I-  
      velocity工具盒的位置 . sgV  
struts.xslt.nocache ,>`wz^z  
      Whether or not XSLT templates should not be cached D$I7 Gz,w{  
      是否XSLT模版应该被缓存 QP >P  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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