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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?LwBF;Y  
K Y=$RO  
struts.action.extension -4;$NiB?  
      The URL extension to use to determine if the request is meant for a Struts action vWs#4JoG  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {%&!x;%  
59@PY!c>  
struts.configuration S/2lK*F  
      The org.apache.struts2.config.Configuration implementation class _+aMP=H  
        org.apache.struts2.config.Configuration接口名 1(diG&  
Q?g#?z&Pu\  
struts.configuration.files _;!$1lM[  
      A list of configuration files automatically loaded by Struts ja-,6*"k  
      struts自动加载的一个配置文件列表 b_&KL_vo{|  
znkc@8_4  
struts.configuration.xml.reload p=d,kY  
      Whether to reload the XML configuration or not Y 9SaYSX  
      是否加载xml配置(true,false) <Od5}  
(g*mC7 HN  
struts.continuations.package y0R9[ ;b07  
      The package containing actions that use Rife continuations * YR>u @  
      含有actions的完整连续的package名称 gj@>9  
Bo4MoSF}  
struts.custom.i18n.resources nK8IW3fX9)  
      Location of additional localization properties files to load Y(/y,bJ?jp  
      加载附加的国际化属性文件(不包含.properties后缀) EJid@  
uBUT84i  
struts.custom.properties v[b|J7k  
      Location of additional configuration properties files to load i"h~QEE  
      加载附加的配置文件的位置 o'KBe%@/  
:#zVF[Y(2  
sPP(>y( \  
struts.devMode &-c{  
      Whether Struts is in development mode or not  oB8LJZ;  
      是否为struts开发模式 ml1My1  
mD_sf_2>  
struts.dispatcher.parametersWorkaround ?X'l&k>  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NtDxwzj  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) dsG:DS`q  
wZsjbNf`K  
struts.enable.DynamicMethodInvocation ZWb\^N  
      Allows one to disable dynamic method invocation from the URL <ht^Ck  
        允许动态方法调用 K&{ruHoKB  
S] R.:T_%  
struts.freemarker.manager.classname E5X#9;U8E"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <"z9(t(V\%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 hcT5>w[  
?~9o2[  
struts.i18n.encoding ?58*#'r  
      The encoding to use for localization messages iGw\A!}w\  
      国际化信息内码 ,opS)C$  
rNl%I@G  
struts.i18n.reload ]^6r7nfR6|  
      Whether the localization messages should automatically be reloaded %%{f-\-7Ig  
      是否国际化信息自动加载 (,j ~s{  
6[3>[ej:x  
struts.locale j\\uW)ibG  
      The default locale for the Struts application Vwpy/5Hmp  
      默认的国际化地区信息 K9_@[}Ge  
lhBu?q  
struts.mapper.class (J5M+K\H  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class u|sdQ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 R/\qDY,@  
;8Ts  
struts.multipart.maxSize Ewa/6=]LA  
      The maximize size of a multipart request (file upload) (r-8*)Qh8  
      multipart请求信息的最大尺寸(文件上传用) LJwy,-  
_X~xfmU  
struts.multipart.parser }Sh3AH/  
      The org.apache.struts2.dispatcher.multipart. bcUa'ZfN<  
      MultiPartRequest parser implementation for a multipart request (file upload) ?hOv Y)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `s\E"QeZN  
o9+fA H`D  
We@wN:  
struts.multipart.saveDir Jl fIYf~  
      The directory to use for storing uploaded files @ [<B:Tqo  
      设置存储上传文件的目录夹 'R nvQ""  
d:g0XP  
struts.objectFactory 2rrC y C  
      The com.opensymphony.xwork2.ObjectFactory implementation class X_(n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) jMP;$w  
>/9Qgyc 0  
struts.objectFactory.spring.autoWire ~mvD|$1z  
      Whether Spring should autoWire or not a\xf\$Ym  
      是否自动绑定Spring X8 A$&  
+<^c2diX  
struts.objectFactory.spring.useClassCache T1A/>\Ns  
      Whether Spring should use its class cache or not t $u.  
      是否spring应该使用自身的cache Io4Ss1="  
t]XF*fZH  
struts.objectTypeDeterminer 8S@"6TG`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nyx(0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 blmY=/]  
VX'G\Zz@h|  
struts.serve.static.browserCache [-hsG E  
If static content served by the Struts filter should set browser caching header properties or not @ 5V3I^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cdv0:+[P  
^o[(F<q  
struts.serve.static "vo o!&<  
      Whether the Struts filter should serve static content or not ?Vc/mO2X  
      是否struts过滤器应该提供静态内容 S20E}bS:>  
7,2#0Z`ge  
struts.tag.altSyntax >_u5"&q  
      Whether to use the alterative syntax for the tags or not DxzNg_E]  
      是否可以用替代的语法替代tags <]u]rZc$  
hOr4C4  
struts.ui.templateDir 7D=gAMPvJ  
      The directory containing UI templates im@c||  
      UI templates的目录夹 WjF#YW\  
xX\A& 9m  
struts.ui.theme c#T0n !}  
      The default UI template theme ,H5o/qNU`{  
      默认的UI template主题 9@8)ZHf  
)'e9(4[V1  
struts.url.http.port wiM-TFT~  
      The HTTP port used by Struts URLs 7DB!s@"  
      设置http端口 Yzih-$g  
wbbr8WiU  
struts.url.https.port ZWy,NN1  
      The HTTPS port used by Struts URLs F=V_ACU  
      设置https端口 D*q:X O6b  
B0ZLGB  
struts.url.includeParams vf h*`G$  
      The default includeParams method to generate Struts URLs ]3~X!(O  
      在url中产生 默认的includeParams M<3m/l%`Y  
$m0-IyXcv  
M%N_4j.  
struts.velocity.configfile K~jN"ev  
      The Velocity configuration file path E )%r}4u>  
      velocity配置文件路径 {p7b\=WB-  
nm !H&#<  
struts.velocity.contexts b-)3MR:4  
      List of Velocity context names OIrr'uNH  
      velocity的context列表 W4rh7e4  
Nq ZR*/BOz  
ufXU  
struts.velocity.manager.classname ^ZG 3{>  
      org.apache.struts2.views.velocity.VelocityManager implementation class g?e-D.pSF  
      org.apache.struts2.views.velocity.VelocityManager接口名 S3Sn_zqG  
Kz9h{ Tu4  
struts.velocity.toolboxlocation IK|W^hH\8  
      The location of the Velocity toolbox LO;Z3Q>#0  
      velocity工具盒的位置 RLUH[[  
struts.xslt.nocache ~n9-  
      Whether or not XSLT templates should not be cached ul ag$ge  
      是否XSLT模版应该被缓存 zHt}`>y&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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