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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 W/xPVmnV  
_!qD/ [/  
struts.action.extension P.@dB.Ny  
      The URL extension to use to determine if the request is meant for a Struts action Ih|4ISI  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 r8:"\%"f>  
8I RKCuV  
struts.configuration aH?Ygzw  
      The org.apache.struts2.config.Configuration implementation class ,^8':X"A{!  
        org.apache.struts2.config.Configuration接口名 GZu12\0nZ  
7$Z_'GJ]1C  
struts.configuration.files 5~?6]=hl  
      A list of configuration files automatically loaded by Struts SfC* ZM}<  
      struts自动加载的一个配置文件列表 B os`+Y  
H Eq{TUTr  
struts.configuration.xml.reload YR-G:-(#b  
      Whether to reload the XML configuration or not ;Y;r%DJ  
      是否加载xml配置(true,false) V<S6 a  
6[k<&;  
struts.continuations.package q9rm9#}[J#  
      The package containing actions that use Rife continuations fEXFnQ#  
      含有actions的完整连续的package名称 {c9 f v H  
ajk}&`Wj"  
struts.custom.i18n.resources 7`J2/(  
      Location of additional localization properties files to load 2} pZyS  
      加载附加的国际化属性文件(不包含.properties后缀) \^" Vqx  
sED"}F)  
struts.custom.properties ?[zw5fUDS  
      Location of additional configuration properties files to load ?8H{AuLB  
      加载附加的配置文件的位置 dv\bkDF4A  
hQ<7k'V  
xH:L6K/c  
struts.devMode FqA4 O U  
      Whether Struts is in development mode or not A)"L+Yu5  
      是否为struts开发模式 ZN $%\,<  
A1+:y,wXs  
struts.dispatcher.parametersWorkaround A/2$~4,  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic iZy>V$Aq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9h\RXVk{tA  
:Q("  
struts.enable.DynamicMethodInvocation ao9#E"BfM  
      Allows one to disable dynamic method invocation from the URL TYGI f4z  
        允许动态方法调用 Q&r. wV|  
1Y$%| `  
struts.freemarker.manager.classname T,9q~*"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _xCYh|DlQ|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #;ObugY,  
WyatHC   
struts.i18n.encoding 6H'A]0  
      The encoding to use for localization messages MZQDFuvDxZ  
      国际化信息内码 T{Xd>  
rHw#<oV  
struts.i18n.reload @ !su7  
      Whether the localization messages should automatically be reloaded ) dk|S\  
      是否国际化信息自动加载 g@!U^mr*3  
bI:W4y>I=  
struts.locale rIFW1`N}i  
      The default locale for the Struts application o|h=M/  
      默认的国际化地区信息 bKsjbYuo  
E5rV}>(Y  
struts.mapper.class QyVAs;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >"!ScYn  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 yYJ_;Va  
$L0sBW&  
struts.multipart.maxSize *z69ti/ t  
      The maximize size of a multipart request (file upload) E& 6I`8  
      multipart请求信息的最大尺寸(文件上传用) !Ea >tQ|  
e&ysj:W5 "  
struts.multipart.parser b;jdk w|  
      The org.apache.struts2.dispatcher.multipart. WC<[<uI*  
      MultiPartRequest parser implementation for a multipart request (file upload) Mw RLv,&"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a-|pSe*rx  
Skci;4T(  
$T3_~7N  
struts.multipart.saveDir 2 G_KTYJ  
      The directory to use for storing uploaded files [5L?#Y  
      设置存储上传文件的目录夹 ~;CNWJtcf(  
b/a\{  
struts.objectFactory i!}k5k*Z  
      The com.opensymphony.xwork2.ObjectFactory implementation class V4jMx[   
      com.opensymphony.xwork2.ObjectFactory接口(spring) %k4Qx5`?d  
#fa,}aj  
struts.objectFactory.spring.autoWire o]&q'>Rf  
      Whether Spring should autoWire or not {Cm!5QYy  
      是否自动绑定Spring @U=y}vi8  
'(B -{}l  
struts.objectFactory.spring.useClassCache JS ^Cc  
      Whether Spring should use its class cache or not KJQ8Yhq  
      是否spring应该使用自身的cache b3-j2`#  
FCNYfjB%  
struts.objectTypeDeterminer Jyg1z,B <  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class a~ jb%i_  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %pq.fZ I   
13F]7l-#  
struts.serve.static.browserCache VnW6$W?g  
If static content served by the Struts filter should set browser caching header properties or not 8%B_nVc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 I ==)a6^  
D^O[_/i&  
struts.serve.static }nPt[77U_7  
      Whether the Struts filter should serve static content or not *d=}HO/  
      是否struts过滤器应该提供静态内容 \0 h>!u  
G3TS?u8Q  
struts.tag.altSyntax 2o<*rH  
      Whether to use the alterative syntax for the tags or not [ K/l;Zd  
      是否可以用替代的语法替代tags $7AsMlq[(  
Ywhhs }f  
struts.ui.templateDir 05ClPT\BCr  
      The directory containing UI templates .TA)|df ^  
      UI templates的目录夹 9*I[q[>9  
7I w^  
struts.ui.theme / Q@4HV  
      The default UI template theme @>46.V{P}B  
      默认的UI template主题 p35)K5V  
qc,EazmU  
struts.url.http.port D+uo gRS61  
      The HTTP port used by Struts URLs l[[`-f8j  
      设置http端口 o`Z3}  
3HtM<su*h  
struts.url.https.port yT OZa-  
      The HTTPS port used by Struts URLs 9J7yR}2-F  
      设置https端口 9{fP.ifdv7  
@ xo8"kl  
struts.url.includeParams !b!An; ',  
      The default includeParams method to generate Struts URLs DDmC3  
      在url中产生 默认的includeParams $rj:K)P  
C {*?  
[x 7Rq_^  
struts.velocity.configfile ;q-c[TZC  
      The Velocity configuration file path [7.Num_L  
      velocity配置文件路径 >b\|%=(x!*  
qfT9g>EF  
struts.velocity.contexts cG0)F%?X?  
      List of Velocity context names aK6dy\  
      velocity的context列表 U>!TM##1QD  
Cw:|(`9  
Nk -xnTZ"  
struts.velocity.manager.classname > )Qq^?U  
      org.apache.struts2.views.velocity.VelocityManager implementation class z@IG"D  
      org.apache.struts2.views.velocity.VelocityManager接口名 n5 ~Dxk  
_`=qc/-0  
struts.velocity.toolboxlocation t9<BQg  
      The location of the Velocity toolbox m %+'St|qr  
      velocity工具盒的位置 f 1SKOq  
struts.xslt.nocache +/$&P3  
      Whether or not XSLT templates should not be cached oNXYBeu+  
      是否XSLT模版应该被缓存 /z^v% l  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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