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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 7 [N1Vr(1  
i{?uIb B  
struts.action.extension @{\q1J>  
      The URL extension to use to determine if the request is meant for a Struts action 1Rc'2Y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 xw(KSPN  
zFmoo4P/  
struts.configuration h1} x2  
      The org.apache.struts2.config.Configuration implementation class >y#<WB$i  
        org.apache.struts2.config.Configuration接口名 T B~C4HK=  
{.v-  
struts.configuration.files f5<qF ]Y/  
      A list of configuration files automatically loaded by Struts USy^Y?~ ;  
      struts自动加载的一个配置文件列表 ]f=108|8  
^5x\cR  
struts.configuration.xml.reload A6YkoYgC  
      Whether to reload the XML configuration or not Wg9q_Ql  
      是否加载xml配置(true,false) v>CA A"LH  
Z%Q[W}iD  
struts.continuations.package zL$$G,  
      The package containing actions that use Rife continuations z)I.^  
      含有actions的完整连续的package名称 `O ?61YUQH  
AI}29L3C  
struts.custom.i18n.resources !%>p;H%0  
      Location of additional localization properties files to load PB*m D7"  
      加载附加的国际化属性文件(不包含.properties后缀) 3Z;`n,g  
p"EQ6_f  
struts.custom.properties DyIuM{Owj  
      Location of additional configuration properties files to load ue@ fry  
      加载附加的配置文件的位置 gTcLS|& H  
#?-2f{  
#u`i4  
struts.devMode (9$z+Zmm?  
      Whether Struts is in development mode or not *U|K~dl]K  
      是否为struts开发模式 2'UWPZgE  
Rqu_[M  
struts.dispatcher.parametersWorkaround ('QfB<4H1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `2Rd=M]?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) U<QO@5  
U0G(  
struts.enable.DynamicMethodInvocation 6OuB}*  
      Allows one to disable dynamic method invocation from the URL E-\Wo3  
        允许动态方法调用 E9JxntX  
_0p8FhNt  
struts.freemarker.manager.classname {3cT\u  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /@-!JF#g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 w'E&w)Z]  
Gv?3T Am8  
struts.i18n.encoding ;5QdT{$H  
      The encoding to use for localization messages Ry9kGdqO  
      国际化信息内码 sw A^oU  
jz;N&62|  
struts.i18n.reload HE#IJB6BS?  
      Whether the localization messages should automatically be reloaded 2 ZW {  
      是否国际化信息自动加载 {2QCdj46  
mDZ/Kp{  
struts.locale o|FjNL  
      The default locale for the Struts application H y}oSy26  
      默认的国际化地区信息 30 e>C  
AlF"1X02  
struts.mapper.class Q |,(C0<G  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =wbgZr^2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8>Az<EF^=#  
P]w5`aBM  
struts.multipart.maxSize "X<vgM^:  
      The maximize size of a multipart request (file upload) X}x"+ #\<@  
      multipart请求信息的最大尺寸(文件上传用) ObJgJr  
C],"va  
struts.multipart.parser =Ji+GJ <,9  
      The org.apache.struts2.dispatcher.multipart. ! f!/~M"!  
      MultiPartRequest parser implementation for a multipart request (file upload) ZYf0FC=-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;$=kfj9 :7  
Ik W 8$>  
I|&<!{Rq  
struts.multipart.saveDir pK/r{/>r  
      The directory to use for storing uploaded files oihn`DY {  
      设置存储上传文件的目录夹 kF{'?R5 w  
"QCtF55X&  
struts.objectFactory E<6Fjy  
      The com.opensymphony.xwork2.ObjectFactory implementation class i"0]L5=P  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !' ;1;k);  
ob=](  
struts.objectFactory.spring.autoWire V ,# |\  
      Whether Spring should autoWire or not ]k0Pe;<  
      是否自动绑定Spring YO&=f d*  
i3 ?cL4  
struts.objectFactory.spring.useClassCache n[|*[II  
      Whether Spring should use its class cache or not K,B qVu  
      是否spring应该使用自身的cache i{T mn  
1{%3OG^'  
struts.objectTypeDeterminer $wnK"k%G  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ha Tmfh_|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #GoZH?MAF  
7S^ba  
struts.serve.static.browserCache s0EF{2<F  
If static content served by the Struts filter should set browser caching header properties or not OGA_3|[S   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .AHf]X0  
')G, +d^  
struts.serve.static b3j?@31AD  
      Whether the Struts filter should serve static content or not $qndG,([F  
      是否struts过滤器应该提供静态内容 Vc2 (R^  
HRP  
struts.tag.altSyntax |j2b=0Rpk  
      Whether to use the alterative syntax for the tags or not 'BUix!k0<  
      是否可以用替代的语法替代tags (%N=7?  
`LroH>_  
struts.ui.templateDir /sU~cn^D5  
      The directory containing UI templates R_JB`HFy=  
      UI templates的目录夹 VK)vb.:  
_mBFmXHHS$  
struts.ui.theme Z+8Q{|Ev  
      The default UI template theme kJP` C\4}f  
      默认的UI template主题 A[7\!bq5  
p"'knZ G  
struts.url.http.port U!y GZEU"[  
      The HTTP port used by Struts URLs ;,WI_iP(w  
      设置http端口 O%H c%EfG  
Qk5pRoL_  
struts.url.https.port ?**9hu\BG  
      The HTTPS port used by Struts URLs W{@,DQ  
      设置https端口 e@j&c:p(Y  
6VUkZKc  
struts.url.includeParams W%&gvZre.  
      The default includeParams method to generate Struts URLs NUN~T (  
      在url中产生 默认的includeParams frh!dN  
$l W 7me  
VoG_'P  
struts.velocity.configfile OTy{:ID  
      The Velocity configuration file path )I{~Pcq  
      velocity配置文件路径 R(t1Ei.-?  
$c1zMkY)u  
struts.velocity.contexts 2%{(BT6  
      List of Velocity context names FN+x<VXo(  
      velocity的context列表 z<I@SI^>  
r$Tu``z \  
qpEK36Js  
struts.velocity.manager.classname XJSI/jpa@  
      org.apache.struts2.views.velocity.VelocityManager implementation class L>3-z>u,  
      org.apache.struts2.views.velocity.VelocityManager接口名 #qnK nxD  
/l%+l@  
struts.velocity.toolboxlocation w/49O;rV  
      The location of the Velocity toolbox m=K46i+NE  
      velocity工具盒的位置 vB?(|  
struts.xslt.nocache v?@=WG  
      Whether or not XSLT templates should not be cached t 3l-]  
      是否XSLT模版应该被缓存  S!Bnz(z  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八