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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 xUistwq  
\} :PLCKT  
struts.action.extension *=7U4W  
      The URL extension to use to determine if the request is meant for a Struts action ,nB5/Lx  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 tC9n k5~  
g'qa}/X  
struts.configuration 3kMf!VL  
      The org.apache.struts2.config.Configuration implementation class cpJ|w3x B  
        org.apache.struts2.config.Configuration接口名 7x4PaX(  
t1y4 7fX6  
struts.configuration.files )TH@# 1  
      A list of configuration files automatically loaded by Struts 0=E]cQwh  
      struts自动加载的一个配置文件列表 $H>W|9Kg,  
*w&Y$8c(  
struts.configuration.xml.reload EJNU761  
      Whether to reload the XML configuration or not fsWTF<Y  
      是否加载xml配置(true,false)  'CkIz"Wd  
'y3!fN =h  
struts.continuations.package ITT@,  
      The package containing actions that use Rife continuations OH(waKq2I  
      含有actions的完整连续的package名称 +&2%+[nBZ  
%n:k#  
struts.custom.i18n.resources e;}7G  
      Location of additional localization properties files to load q(2'\ _`u  
      加载附加的国际化属性文件(不包含.properties后缀) KNIn:K^/  
5,6"&vU,  
struts.custom.properties u^qT2Ss0  
      Location of additional configuration properties files to load ah+iZ}E%  
      加载附加的配置文件的位置 wx0j(:B]  
X*@dj_,  
_t #k,;  
struts.devMode 9c :cw  
      Whether Struts is in development mode or not ` v@m-j6  
      是否为struts开发模式 ~AT'[(6  
Y#P%6Fy  
struts.dispatcher.parametersWorkaround 'u |c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `, Tz Q  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) wov\kV  
ByNn  
struts.enable.DynamicMethodInvocation OA"q[s  
      Allows one to disable dynamic method invocation from the URL JB[~;nLlC  
        允许动态方法调用 Hn+~5@.  
!NvI:C_4|  
struts.freemarker.manager.classname l3I:Q^x@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  o!ebs0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pohp&Tcm  
}oGA-Qc}B  
struts.i18n.encoding ~g ZLY ls  
      The encoding to use for localization messages Q:k}Jl  
      国际化信息内码 o]M5b;1  
 DwE[D]7o  
struts.i18n.reload 8i#2d1O  
      Whether the localization messages should automatically be reloaded {:$>t~=D  
      是否国际化信息自动加载 f5VLw`m}.8  
y''z5['  
struts.locale ]a*d#  
      The default locale for the Struts application 0*D$R`$  
      默认的国际化地区信息 WuUk9_ g  
\$T(t/$9  
struts.mapper.class MC.) 2B7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ofw3S |F6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 V7fq4O^:  
::{Q1F  
struts.multipart.maxSize #-i>;Rt  
      The maximize size of a multipart request (file upload) UIN<2F_  
      multipart请求信息的最大尺寸(文件上传用) ]{mPh\  
!/i{l  
struts.multipart.parser 9c,'k#k  
      The org.apache.struts2.dispatcher.multipart. YvyNHW&  
      MultiPartRequest parser implementation for a multipart request (file upload) Jgd'1'FOs  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ++Ts  
8_B4?` k  
;dZZ;#k%  
struts.multipart.saveDir Mc_YPR:C  
      The directory to use for storing uploaded files 9u}Hmb  
      设置存储上传文件的目录夹 3E $f)  
Q%tXQP.r  
struts.objectFactory W^LY'ypT  
      The com.opensymphony.xwork2.ObjectFactory implementation class ( !fKNia@S  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :Cs4NF   
BdblLUGK#  
struts.objectFactory.spring.autoWire cZU=o\  
      Whether Spring should autoWire or not Y}|X|!0x  
      是否自动绑定Spring " h~Z u  
'RYIW/a  
struts.objectFactory.spring.useClassCache `1{ZqRFQ  
      Whether Spring should use its class cache or not V>-e y9Q\  
      是否spring应该使用自身的cache q"sed]  
FX`>J6l:X  
struts.objectTypeDeterminer KD7dye  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {|_M # w~&  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *>'V1b4}  
Yz"#^j}Kg  
struts.serve.static.browserCache <~'"<HwtK  
If static content served by the Struts filter should set browser caching header properties or not Wk4s reB  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 aPfO$b:  
suiS&$-E  
struts.serve.static /dQl)tL  
      Whether the Struts filter should serve static content or not sF?TmBQ*  
      是否struts过滤器应该提供静态内容 Jg\zdi:t  
j0S# >t  
struts.tag.altSyntax 1&evG-#<:  
      Whether to use the alterative syntax for the tags or not Gm.T;fc:  
      是否可以用替代的语法替代tags >xYpNtEs  
9gEwh<  
struts.ui.templateDir O/a4]r+_  
      The directory containing UI templates ]kRfB:4ED  
      UI templates的目录夹 J0\Fhe0'  
uHvp;]/0\  
struts.ui.theme lC("y' ::  
      The default UI template theme cr?Q[8%t1  
      默认的UI template主题 BsqP?/  
,nLy4T&"  
struts.url.http.port q#ClnG*  
      The HTTP port used by Struts URLs Ou!2 [oe@M  
      设置http端口 bvr^zH,C  
xH(lm2kvT  
struts.url.https.port 9_rYBX  
      The HTTPS port used by Struts URLs NAQAU *yP  
      设置https端口 E+R1 !.  
)Y6 +  
struts.url.includeParams i6tf2oqO7  
      The default includeParams method to generate Struts URLs ith 3 =`3  
      在url中产生 默认的includeParams Bp`]  
A8fOQ  
;F!5%}OcL%  
struts.velocity.configfile iWB=sL&p  
      The Velocity configuration file path aS{n8P6vW  
      velocity配置文件路径 (*nT(Adk  
[.'|_l  
struts.velocity.contexts &(G\[RWp\  
      List of Velocity context names gk[aM~p  
      velocity的context列表 3kIN~/<R+7  
+N9X/QFKV  
?{|q5n  
struts.velocity.manager.classname \y)rt )  
      org.apache.struts2.views.velocity.VelocityManager implementation class +[AQUc  
      org.apache.struts2.views.velocity.VelocityManager接口名 % X+:o]T  
THbh%)Zv+  
struts.velocity.toolboxlocation !N7s dY  
      The location of the Velocity toolbox }=UHbU.n~!  
      velocity工具盒的位置 ?'Xj g#}<  
struts.xslt.nocache W*4-.*U8a  
      Whether or not XSLT templates should not be cached o"Euwh!!  
      是否XSLT模版应该被缓存 M7a.8-!1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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