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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vrbh+  
EdpR| z  
struts.action.extension 1PSb72h<  
      The URL extension to use to determine if the request is meant for a Struts action >.\E'e5^C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 PM7/fv*,  
9To6Rc;  
struts.configuration "QS7?=>*F  
      The org.apache.struts2.config.Configuration implementation class ||aU>Wj4  
        org.apache.struts2.config.Configuration接口名 `0:@`)&g1  
e,8-P-h~T  
struts.configuration.files C<>.*wlp=  
      A list of configuration files automatically loaded by Struts `f]O  
      struts自动加载的一个配置文件列表 {8RGW0 Y  
%A3Jd4DH  
struts.configuration.xml.reload aa/9o ]  
      Whether to reload the XML configuration or not ,qB081hPG  
      是否加载xml配置(true,false) 8F1!9W7  
^dv>n]?  
struts.continuations.package 7<D_ h/WV  
      The package containing actions that use Rife continuations y{JkY\g  
      含有actions的完整连续的package名称 >qA&;M  
SZvsJ)  
struts.custom.i18n.resources Uw"   
      Location of additional localization properties files to load Xk'.t|  
      加载附加的国际化属性文件(不包含.properties后缀) :f;|^(]"  
8t%1x|!  
struts.custom.properties )3sb 2 #  
      Location of additional configuration properties files to load mN02T@R-  
      加载附加的配置文件的位置 za7wNe(s  
K<GCP2  
W6Pg:Il7  
struts.devMode t/|^Nt@XT  
      Whether Struts is in development mode or not Di*>PE@  
      是否为struts开发模式 >kYyR.p.b  
S}X:LHr*  
struts.dispatcher.parametersWorkaround 4NV1v&"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic p~IvkW>ln)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )A%Y wI$  
G>x0}c  
struts.enable.DynamicMethodInvocation x]Ef}g  
      Allows one to disable dynamic method invocation from the URL `2B+8,{%  
        允许动态方法调用 ~vmY 2h\  
) |vFrR  
struts.freemarker.manager.classname k W,|>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class v0=~PN~E  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,dBI=D'  
z/b*]"g,  
struts.i18n.encoding rNc>1}DDS  
      The encoding to use for localization messages 5S LF1u;  
      国际化信息内码  >pKI'  
Gj=il-Po  
struts.i18n.reload Ry C7  
      Whether the localization messages should automatically be reloaded bxs@_fH  
      是否国际化信息自动加载 A7H=#L+C  
R 9(^CWs  
struts.locale OK=t)6&b  
      The default locale for the Struts application GF&"nW9A  
      默认的国际化地区信息 o/R-1\Dn  
Wm 61  
struts.mapper.class s/V[tEC*z  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )1/O_N6C  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^gG,}GTl  
rQJoaP+\q  
struts.multipart.maxSize YC~+r8ME$j  
      The maximize size of a multipart request (file upload) ^d,d<Uc  
      multipart请求信息的最大尺寸(文件上传用) 6]VTn-  
iYnt:C  
struts.multipart.parser y@I"Hk<T  
      The org.apache.struts2.dispatcher.multipart. pN[i%\vh  
      MultiPartRequest parser implementation for a multipart request (file upload) VMp6s%m  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +Ji dP  
*L=CJg  
''G @n*  
struts.multipart.saveDir ^s5)FdF8  
      The directory to use for storing uploaded files D$ \ EZ   
      设置存储上传文件的目录夹 $3>|R lxYA  
\;}dS SB1  
struts.objectFactory "TPMSx&Ei  
      The com.opensymphony.xwork2.ObjectFactory implementation class -t]0DsPg  
      com.opensymphony.xwork2.ObjectFactory接口(spring) i|*:gH  
<3HJkcYGz  
struts.objectFactory.spring.autoWire u|e2T@t=  
      Whether Spring should autoWire or not Oaui@q  
      是否自动绑定Spring c!zu0\[Id  
W8)GT`\  
struts.objectFactory.spring.useClassCache 8g\.1<~  
      Whether Spring should use its class cache or not _>s.V`N'  
      是否spring应该使用自身的cache Ab`Gb  
#ed]zI9O  
struts.objectTypeDeterminer ~F WmT(S  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y^ohns5{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 j2+&B9 (  
)jg3`I@  
struts.serve.static.browserCache 3jeR;N]x  
If static content served by the Struts filter should set browser caching header properties or not 5@Sb[za  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 b~r ?#2K  
~jgd92`{z  
struts.serve.static V;$lgTs|'  
      Whether the Struts filter should serve static content or not IcB>Hg5  
      是否struts过滤器应该提供静态内容 \a<E3 <  
R0Qp*&AL  
struts.tag.altSyntax q_!3<.sf  
      Whether to use the alterative syntax for the tags or not /Mv'fich(  
      是否可以用替代的语法替代tags  m{~r6@  
Js'|N%pi  
struts.ui.templateDir >Q YxX<W  
      The directory containing UI templates @I%m}>4Jm  
      UI templates的目录夹 : M Md@  
4R6X"T9-  
struts.ui.theme {+!_; zzZ  
      The default UI template theme 2l9_$evK~  
      默认的UI template主题 ^pn:SV  
s:%>H|-  
struts.url.http.port t^q/'9Ai&J  
      The HTTP port used by Struts URLs `| fF)kI  
      设置http端口 N3,EF1%  
l! GPOmf9`  
struts.url.https.port &kP>qTI^p~  
      The HTTPS port used by Struts URLs  M`bK   
      设置https端口 kHJjdgV  
GE>&fG  
struts.url.includeParams uy$o%NL-7  
      The default includeParams method to generate Struts URLs _$r+*nGDz  
      在url中产生 默认的includeParams d< y B ~Y  
O?P6rXKr  
FK->|  
struts.velocity.configfile cng 1k  
      The Velocity configuration file path h-<+Pjc  
      velocity配置文件路径 qu?D`29  
t JJaIb6Xj  
struts.velocity.contexts }RXm=ArN  
      List of Velocity context names dme_Ivt  
      velocity的context列表 "F=O   
_]B'C  
m$]?Jq  
struts.velocity.manager.classname ZW2U9  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^+-i7`|=  
      org.apache.struts2.views.velocity.VelocityManager接口名 &Oe,$%{hBh  
w!61k \  
struts.velocity.toolboxlocation 6b@:La  
      The location of the Velocity toolbox #U^@)g6  
      velocity工具盒的位置 X"yLo8y8$  
struts.xslt.nocache dD=dPi#  
      Whether or not XSLT templates should not be cached q?`bu:yS  
      是否XSLT模版应该被缓存 0 ~VniF^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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