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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 J nf@u  
. I#dR*  
struts.action.extension J={IGA  
      The URL extension to use to determine if the request is meant for a Struts action l*>, :y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 SOo}}a0  
YV/JZc f  
struts.configuration RI-)Qx&!f  
      The org.apache.struts2.config.Configuration implementation class ?UV!^w@L:0  
        org.apache.struts2.config.Configuration接口名 g)Dg=3+>  
Sv|jR r'  
struts.configuration.files '7/c7m/$X<  
      A list of configuration files automatically loaded by Struts x"n)y1y  
      struts自动加载的一个配置文件列表 -4nSiI  
J:Ncy}AO  
struts.configuration.xml.reload s2iL5N|"Q  
      Whether to reload the XML configuration or not @}iY(-V  
      是否加载xml配置(true,false) B>,&{ah/5J  
Fd/.\s  
struts.continuations.package  wA7^   
      The package containing actions that use Rife continuations %L eZd}v  
      含有actions的完整连续的package名称 ])uhm)U@  
%t J@)  
struts.custom.i18n.resources !O*uQB  
      Location of additional localization properties files to load xE%sPWbj  
      加载附加的国际化属性文件(不包含.properties后缀) )NL_))\  
29AWg(9?aS  
struts.custom.properties LKe ~  
      Location of additional configuration properties files to load t {RdqAF  
      加载附加的配置文件的位置 8:)itYE  
eJ tfQ@?  
!w=6>B^  
struts.devMode y9)Rl)7-:  
      Whether Struts is in development mode or not ':LV"c4 t  
      是否为struts开发模式 W<s5rMx  
<c$K3  
struts.dispatcher.parametersWorkaround Q=Y1kcTOn  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UfAN)SE"  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Mg76v<mv<  
?wYvBFRn7"  
struts.enable.DynamicMethodInvocation K1*]6x,  
      Allows one to disable dynamic method invocation from the URL 3lD1G~  
        允许动态方法调用 |\_d^U &`  
fPu,@ L  
struts.freemarker.manager.classname ^TCgSi7k`L  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qJPEq%'Q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 w.6Gp;O  
%q)*8  
struts.i18n.encoding g6 Nw].{  
      The encoding to use for localization messages .cA'6J"Bm\  
      国际化信息内码 :bV1M5  
DQRr(r~2Kj  
struts.i18n.reload yi$Jk}w  
      Whether the localization messages should automatically be reloaded ohj(1jt  
      是否国际化信息自动加载 |B/A)(c yV  
AEr8^6  
struts.locale I-?Dil3  
      The default locale for the Struts application Jt}0%C3d  
      默认的国际化地区信息 >@wyiBU  
?RVY%s;g  
struts.mapper.class 6Om)e=gU/  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class t;e+WZkV  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 T.kQ] h2ZG  
6e.?L  
struts.multipart.maxSize VL O !hA#  
      The maximize size of a multipart request (file upload) +9d]([Lx  
      multipart请求信息的最大尺寸(文件上传用) Y] "_}  
ZAcH`r*  
struts.multipart.parser #Kd^t =k  
      The org.apache.struts2.dispatcher.multipart. )`B n"=  
      MultiPartRequest parser implementation for a multipart request (file upload) [>N`)]fP  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "o.g}Pv  
p{BBqKv  
FqT2+VO~  
struts.multipart.saveDir b9gezXAcd  
      The directory to use for storing uploaded files [[sfuJD  
      设置存储上传文件的目录夹 N! N>/9  
G(6MLh1  
struts.objectFactory )r^)e 4UI  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4W$ t28)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .uGvmD <;x  
X[Q:c4'  
struts.objectFactory.spring.autoWire .*z Wm  
      Whether Spring should autoWire or not ]-b`uYb  
      是否自动绑定Spring Q7vTTn\  
X[{tD#  
struts.objectFactory.spring.useClassCache cun&'JOH?U  
      Whether Spring should use its class cache or not 7@*l2edXm+  
      是否spring应该使用自身的cache E=9xiS  
,J63 ?EQ3  
struts.objectTypeDeterminer v Ol<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~p0M|  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bm:"&U*tu'  
jx7b$x]  
struts.serve.static.browserCache [^4)3cj7}  
If static content served by the Struts filter should set browser caching header properties or not 9X-w5$<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 h &R1"  
cB ,l=/?  
struts.serve.static u6#=<FD/}  
      Whether the Struts filter should serve static content or not 6bXR?0$*M.  
      是否struts过滤器应该提供静态内容 8r46Wr7Q  
|)pRkn8x  
struts.tag.altSyntax @ppT;9<d  
      Whether to use the alterative syntax for the tags or not ^OWA   
      是否可以用替代的语法替代tags '!wI8f  
tDk!]  
struts.ui.templateDir wVms"U.  
      The directory containing UI templates `$5 QTte  
      UI templates的目录夹 Arzyq_ Yk  
v==b. 2=  
struts.ui.theme {-fhp@;  
      The default UI template theme m\hzQ9  
      默认的UI template主题 ?Dr K2;q  
Wu!s  
struts.url.http.port !iO%?nW;  
      The HTTP port used by Struts URLs 6yN8 (&`  
      设置http端口 SZhW)0  
S);SfNh%CL  
struts.url.https.port )*wM DM5q  
      The HTTPS port used by Struts URLs E1&9( L5  
      设置https端口 4%s6 d,6"  
p]-\\o}  
struts.url.includeParams } qf=5v  
      The default includeParams method to generate Struts URLs f=L&>X  
      在url中产生 默认的includeParams Q*J8`J:#^R  
~5Cid)Q}@o  
&Is}<Ew  
struts.velocity.configfile &Oih#I  
      The Velocity configuration file path VoTnm   
      velocity配置文件路径 bz1+AJG  
kU {>hG4  
struts.velocity.contexts 5@kNvi  
      List of Velocity context names Z Vin+z  
      velocity的context列表 +6$|No  
ls9 28  
|v6kZ0B<  
struts.velocity.manager.classname 3m#/1=@o  
      org.apache.struts2.views.velocity.VelocityManager implementation class H`:2J8   
      org.apache.struts2.views.velocity.VelocityManager接口名 Hv~& RZpe  
 KDX1_r=Y  
struts.velocity.toolboxlocation q|}%6ztv-  
      The location of the Velocity toolbox Q^H8gsv  
      velocity工具盒的位置 (1pR=  
struts.xslt.nocache DQ86(4e*g#  
      Whether or not XSLT templates should not be cached S1Nwm?z  
      是否XSLT模版应该被缓存 7%Q?BH7{  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五