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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~`OX}h/Z  
MgJ6{xzz  
struts.action.extension i1 E|lp)  
      The URL extension to use to determine if the request is meant for a Struts action )/;KxaKt  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T`bYidA  
/Y7^!3uM  
struts.configuration d9f7 &  
      The org.apache.struts2.config.Configuration implementation class }Ce9R2  
        org.apache.struts2.config.Configuration接口名 mk>; 3m*  
O*xx63%jR  
struts.configuration.files N"S`9B1eD(  
      A list of configuration files automatically loaded by Struts [ RyVR  
      struts自动加载的一个配置文件列表 HGQ</5Z  
o7) y~ ke  
struts.configuration.xml.reload Nm*(?1  
      Whether to reload the XML configuration or not 9c>i>Vja!  
      是否加载xml配置(true,false) X{-4w([  
>ED;_L*_o  
struts.continuations.package E'AR.!  
      The package containing actions that use Rife continuations UUt"8]@[  
      含有actions的完整连续的package名称 %F*9D3^h  
Ni_H1G  
struts.custom.i18n.resources [?]N GTr#  
      Location of additional localization properties files to load E)v~kC}7.  
      加载附加的国际化属性文件(不包含.properties后缀) noZbsI4  
K.Xy:l*z  
struts.custom.properties h3MdQlJ&  
      Location of additional configuration properties files to load :@L7RZ`_  
      加载附加的配置文件的位置 72<9xNcB!}  
x5lVb$!G  
Fy=GU<&AI  
struts.devMode 3q]0gU&??  
      Whether Struts is in development mode or not VE\L&d2S  
      是否为struts开发模式 m eF7[>!U  
*/aY $aWv  
struts.dispatcher.parametersWorkaround .n 9.y8C  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V._-iw]v  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9 [eiN  
$@AJg  
struts.enable.DynamicMethodInvocation yzS]FwW7  
      Allows one to disable dynamic method invocation from the URL *6s_7{;  
        允许动态方法调用 {*_Ln  
(}A$4?  
struts.freemarker.manager.classname ,1]UOQ>AP  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class '}OdF*L  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 X5)D[aE6  
529; _|  
struts.i18n.encoding K; #FU  
      The encoding to use for localization messages FnGKt\  
      国际化信息内码 r_7%|T8  
1[egCC\Mo_  
struts.i18n.reload mv9D{_,pD  
      Whether the localization messages should automatically be reloaded -)A:@+GF  
      是否国际化信息自动加载 t^#1=nK  
f|> rp[Gk  
struts.locale YU,zQ V'  
      The default locale for the Struts application {j wv+6]U  
      默认的国际化地区信息 </I%VHP,[f  
> X~\(|EM  
struts.mapper.class uLdHE5vr  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  5wK==hZ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 vl (``5{  
1g;2e##)  
struts.multipart.maxSize Kw fd S(  
      The maximize size of a multipart request (file upload) }&v}S6T  
      multipart请求信息的最大尺寸(文件上传用) L$ T2 bul  
,EQ0""G!  
struts.multipart.parser #$WnMJ@  
      The org.apache.struts2.dispatcher.multipart. u(9pRr L  
      MultiPartRequest parser implementation for a multipart request (file upload) +)c<s3OCE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q;K]NP-_p  
@&*TGU  
R @\fqNq  
struts.multipart.saveDir uP9b^LEoN  
      The directory to use for storing uploaded files M+t)#O4  
      设置存储上传文件的目录夹 S^s-md>  
Ar%*NxX  
struts.objectFactory M6-uTmN:d  
      The com.opensymphony.xwork2.ObjectFactory implementation class $QiMA,  
      com.opensymphony.xwork2.ObjectFactory接口(spring) p{E(RsA  
U6JD^G=qR,  
struts.objectFactory.spring.autoWire U]Q 5};FK  
      Whether Spring should autoWire or not tB;PGk_6  
      是否自动绑定Spring ^gVQ6=z%  
XfcYcN  
struts.objectFactory.spring.useClassCache < F5VJ  
      Whether Spring should use its class cache or not _a&gbSQv  
      是否spring应该使用自身的cache &v:zS$m>  
! fk W;|  
struts.objectTypeDeterminer <Sot{_"li  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )CXlPbhY?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =eA|gt  
yzEyOz@Q  
struts.serve.static.browserCache UP#@gxF  
If static content served by the Struts filter should set browser caching header properties or not *zRig|k!H  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 shw?_#?1dy  
^!tX+`,6^  
struts.serve.static T"\d,ug5[  
      Whether the Struts filter should serve static content or not N[@~q~v  
      是否struts过滤器应该提供静态内容 *)[fGxz \  
bU gg2iFS  
struts.tag.altSyntax w5Fk#zJv  
      Whether to use the alterative syntax for the tags or not 5c5!\g~'  
      是否可以用替代的语法替代tags ;(K/O?nrJ  
\J:+Wl.9A  
struts.ui.templateDir k4#j l<R  
      The directory containing UI templates 8wWp+Hk  
      UI templates的目录夹 #19O5  
#X] *kxQ<  
struts.ui.theme xxGm T.&  
      The default UI template theme x& _Y( bHA  
      默认的UI template主题 wPU5L*/*i  
kR+}7G+  
struts.url.http.port !>(uhuTBF  
      The HTTP port used by Struts URLs :V(C+bm *  
      设置http端口 WvU[9ME^)  
X -1r$.  
struts.url.https.port LR&MhG7  
      The HTTPS port used by Struts URLs i, ^-9  
      设置https端口 X au %v5r  
o?]Q&,tO  
struts.url.includeParams @<DRFP  
      The default includeParams method to generate Struts URLs :%sG'_d  
      在url中产生 默认的includeParams oDS7do  
k3&68+  
A8ViJ  
struts.velocity.configfile  +At [[  
      The Velocity configuration file path *6JA&zj0B  
      velocity配置文件路径 3MX#}_7A  
pg5W`4-F  
struts.velocity.contexts {]Mwuqn  
      List of Velocity context names uP4yJ/]  
      velocity的context列表 a@g <cl7a,  
7 \xCNOKh  
q?frt3o  
struts.velocity.manager.classname kRggVRM  
      org.apache.struts2.views.velocity.VelocityManager implementation class W. d',4)  
      org.apache.struts2.views.velocity.VelocityManager接口名 [fCnq  
mBIksts5h  
struts.velocity.toolboxlocation 0SD'&   
      The location of the Velocity toolbox Xf ^_y(?  
      velocity工具盒的位置 t tr`  
struts.xslt.nocache !ak760*A  
      Whether or not XSLT templates should not be cached ;(mNjxA  
      是否XSLT模版应该被缓存 *v#V%_o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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