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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 z^9E;  
|87W*  
struts.action.extension L3g9b53\  
      The URL extension to use to determine if the request is meant for a Struts action 5d(qtFH1  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k)Zn>  
^K/G5  
struts.configuration AW62~*  
      The org.apache.struts2.config.Configuration implementation class ~Q_F~0y  
        org.apache.struts2.config.Configuration接口名 <\Vi,,  
z2ds8-z  
struts.configuration.files 0ovZ&l  
      A list of configuration files automatically loaded by Struts " C&x ,Ic  
      struts自动加载的一个配置文件列表 -2z,cj&E{  
%/X2 l  
struts.configuration.xml.reload !2wETs?  
      Whether to reload the XML configuration or not 4xpj<  
      是否加载xml配置(true,false) +{'lZa  
s ?5 d  
struts.continuations.package >Rr!rtc'x  
      The package containing actions that use Rife continuations YI/{TL8*KK  
      含有actions的完整连续的package名称 u9 %;{:]h  
+fkP+RVY  
struts.custom.i18n.resources (%Ng'~J\|  
      Location of additional localization properties files to load NuI T{3S  
      加载附加的国际化属性文件(不包含.properties后缀) ,R8n,az  
1x8(I&i  
struts.custom.properties *-{Omqw  
      Location of additional configuration properties files to load 8b{U tT  
      加载附加的配置文件的位置 P`z7@9*j  
9A(n _Rs7?  
+J%6bn)U  
struts.devMode l<s :%%CX  
      Whether Struts is in development mode or not QZ#3Bn%B5  
      是否为struts开发模式 JXlTN[O  
s87 a %  
struts.dispatcher.parametersWorkaround *>G ^!e.u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |G>q:]+AV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >y&[BB7S6  
4$ ..r4@  
struts.enable.DynamicMethodInvocation zI1(F67d`  
      Allows one to disable dynamic method invocation from the URL d$4WK)U  
        允许动态方法调用 t;h+Cf4  
A&D2T  
struts.freemarker.manager.classname ZDW,7b% U  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  fF\*v  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 b?sA EU;  
owP6dtd)  
struts.i18n.encoding IvPA|8(  
      The encoding to use for localization messages "tqS|ok.  
      国际化信息内码 -$xKv4  
:8GlyN<E  
struts.i18n.reload B 9%yd*SJ  
      Whether the localization messages should automatically be reloaded I:r($m  
      是否国际化信息自动加载 }]uB? +c  
Iz 1*4@  
struts.locale T^rz!k{  
      The default locale for the Struts application hz&^_ G6`  
      默认的国际化地区信息 Dh*~U :6$g  
.;]YJy  
struts.mapper.class B)_!F`9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class L&+% Wd~  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 V5hp Y ]  
|:!E HFr  
struts.multipart.maxSize ,{#RrF e  
      The maximize size of a multipart request (file upload) ;}UIj{sj*  
      multipart请求信息的最大尺寸(文件上传用) H[>klzh6 !  
T2c_vY   
struts.multipart.parser +OV%B .  
      The org.apache.struts2.dispatcher.multipart. ]L5Z=.z&  
      MultiPartRequest parser implementation for a multipart request (file upload) (:tTx>V#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )Mm;9UA  
YzforM^F  
Gnuo-8lb  
struts.multipart.saveDir iKR8^sj7S  
      The directory to use for storing uploaded files A>rWGo.{E  
      设置存储上传文件的目录夹 fRca"vV  
O=4c eE mz  
struts.objectFactory f(@"[-[  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,"v)vTt  
      com.opensymphony.xwork2.ObjectFactory接口(spring) >" PqQO  
6KBzlj0T+  
struts.objectFactory.spring.autoWire iA1;k*) q  
      Whether Spring should autoWire or not RE(=! 8lGR  
      是否自动绑定Spring %_%f# S  
ZC9.R$}Kl  
struts.objectFactory.spring.useClassCache Ppi-skT  
      Whether Spring should use its class cache or not Y;~~?[6  
      是否spring应该使用自身的cache VR5e CJ:i  
xPn'yo  
struts.objectTypeDeterminer  YiY&; )w  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5kRwSOG%'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 W>t&N  
qCxD{-9x{  
struts.serve.static.browserCache 3_R   
If static content served by the Struts filter should set browser caching header properties or not D-2v>l_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 D:RBq\8  
lN][xnP  
struts.serve.static D=q;+,Pc  
      Whether the Struts filter should serve static content or not d =B@EyN  
      是否struts过滤器应该提供静态内容  '!r+Tz  
Wzf1-0t  
struts.tag.altSyntax K@$L~G  
      Whether to use the alterative syntax for the tags or not Ok~W@sYST  
      是否可以用替代的语法替代tags AD!<%h:  
yjM@/b  
struts.ui.templateDir 9 z8<[>  
      The directory containing UI templates XYxm8ee"j  
      UI templates的目录夹 #$vhC u<I  
r%m7YwXo  
struts.ui.theme fEv<W  
      The default UI template theme bN7UO  
      默认的UI template主题 Fv7%TK{oe  
zb~MF_&gE  
struts.url.http.port D-b2E6 o6  
      The HTTP port used by Struts URLs 5M\=+5wB  
      设置http端口 *n|0\V<  
5qtmb4R~  
struts.url.https.port kT } '"  
      The HTTPS port used by Struts URLs M~{P',l*  
      设置https端口 l3Bxi1k[C  
\w0b"p  
struts.url.includeParams $b i_i|?  
      The default includeParams method to generate Struts URLs mZ0oa-Iy  
      在url中产生 默认的includeParams ,p/b$d1p  
:C:N]6_{SZ  
dD.d?rnZq7  
struts.velocity.configfile ^ yukn*L  
      The Velocity configuration file path UA!Gr3  
      velocity配置文件路径 mP$G9R  
";S*[d.2tA  
struts.velocity.contexts V.gY1   
      List of Velocity context names >2Qqa;nx|  
      velocity的context列表 <K=B(-~  
u0 oYb_Yv  
^tKOxW# a  
struts.velocity.manager.classname `j!2uRFe>  
      org.apache.struts2.views.velocity.VelocityManager implementation class )D@n?qbG  
      org.apache.struts2.views.velocity.VelocityManager接口名 <Ec)m69P  
sc $QbOc  
struts.velocity.toolboxlocation |gRgQGeB  
      The location of the Velocity toolbox !{ESeBSCG  
      velocity工具盒的位置 hte9l)  
struts.xslt.nocache _hyxKrm' 6  
      Whether or not XSLT templates should not be cached ^B!?;\4IM  
      是否XSLT模版应该被缓存 lKhh=Pc2  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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