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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 :o|\"3  
"@%7-nu  
struts.action.extension Q\^O64geD  
      The URL extension to use to determine if the request is meant for a Struts action rf $QxJ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X &uTSgN  
pf1BN@ t  
struts.configuration vMA]j>>  
      The org.apache.struts2.config.Configuration implementation class +AR5W(&  
        org.apache.struts2.config.Configuration接口名 zz+$=(T:M  
@G8lr  
struts.configuration.files _wTOmz%|R  
      A list of configuration files automatically loaded by Struts #xho[\  
      struts自动加载的一个配置文件列表 PH1p2Je  
)Q1"\\2j0  
struts.configuration.xml.reload K~c=M",mW  
      Whether to reload the XML configuration or not ;T"zV{;7BR  
      是否加载xml配置(true,false) `P@T$bC  
9KDEM gCW  
struts.continuations.package TT2d81I3m  
      The package containing actions that use Rife continuations Z'4./  
      含有actions的完整连续的package名称 M$y+q ^  
tX5"UQA  
struts.custom.i18n.resources W}m)cn3@  
      Location of additional localization properties files to load Yk)."r&?  
      加载附加的国际化属性文件(不包含.properties后缀) Jy)KqdkX+  
5~r33L%  
struts.custom.properties ".W8)  
      Location of additional configuration properties files to load E0Y-7&Fv  
      加载附加的配置文件的位置 U}6B*Xx'  
tmv&U;0Z  
?%O(mC]u&  
struts.devMode + ,%&e  
      Whether Struts is in development mode or not 4,sJE2"[9  
      是否为struts开发模式 ]Y%Vio  
qlb- jL  
struts.dispatcher.parametersWorkaround ).Fpgxs  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9f2UgNqe9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;1:Js0=;H  
"]"|"0#i  
struts.enable.DynamicMethodInvocation (a[y1{DLy  
      Allows one to disable dynamic method invocation from the URL lhYe;b(  
        允许动态方法调用 {{B%f.   
7Nk!1s :  
struts.freemarker.manager.classname Hc>m;[M)l  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xfpa]Z  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $K]m{  
)we}6sE"  
struts.i18n.encoding b6Wqr/  
      The encoding to use for localization messages { &"CH]r  
      国际化信息内码 ]!I7Y.w6  
d/ARm-D  
struts.i18n.reload q?4p)@#   
      Whether the localization messages should automatically be reloaded -db_E#  
      是否国际化信息自动加载 `}(b2Hc>  
eCqHvMp  
struts.locale F ~^Jmp7Y  
      The default locale for the Struts application j7jCm:  
      默认的国际化地区信息 AfX}y+Ah  
!9[>L@#G  
struts.mapper.class 3on7~*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class VtnRgdJ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 [Jogt#Fj ]  
;nodjbr,j  
struts.multipart.maxSize ;5zz<;Zy  
      The maximize size of a multipart request (file upload) Ove<mFI\  
      multipart请求信息的最大尺寸(文件上传用) fz\9 S  
Y"~gw~7OD  
struts.multipart.parser (#Wu# F1;  
      The org.apache.struts2.dispatcher.multipart. qAn!RkA  
      MultiPartRequest parser implementation for a multipart request (file upload) *:Vq:IU[D  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P(H8[,  
te3}d'9&|  
mS~o?q-n  
struts.multipart.saveDir hp#W 9@NR  
      The directory to use for storing uploaded files LcUh;=r}&  
      设置存储上传文件的目录夹 do*EKo  
JT3-AAi[Z  
struts.objectFactory _a6[{_Pc  
      The com.opensymphony.xwork2.ObjectFactory implementation class +89*)pk   
      com.opensymphony.xwork2.ObjectFactory接口(spring) q(`/Vo4g(  
t5y;CxL  
struts.objectFactory.spring.autoWire RloK,bg  
      Whether Spring should autoWire or not 3~uW I%I`  
      是否自动绑定Spring [H6hyG~  
Fs9I7~L3  
struts.objectFactory.spring.useClassCache l|kSsP:GO  
      Whether Spring should use its class cache or not t m7^yn:  
      是否spring应该使用自身的cache U)E(`{p]  
)}"wesNo".  
struts.objectTypeDeterminer ^Wt*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ^; )8VP6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #vti+A~n,4  
gBC@38|6)  
struts.serve.static.browserCache ?QFpv #4  
If static content served by the Struts filter should set browser caching header properties or not cc~O&?)i  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 K i'Fn"  
XCU7x i$d  
struts.serve.static L)@?e?9  
      Whether the Struts filter should serve static content or not v^d]~ !h  
      是否struts过滤器应该提供静态内容 /SrCElabP  
j$?{\iXZ  
struts.tag.altSyntax OmIg<v 0\;  
      Whether to use the alterative syntax for the tags or not ]pH-2_  
      是否可以用替代的语法替代tags KG|n  
|wH5sjT  
struts.ui.templateDir ^,/RO5  
      The directory containing UI templates Qo;zHZ'  
      UI templates的目录夹 G 8g<>d{j  
kXi6lh  
struts.ui.theme tt0f-:#  
      The default UI template theme Y@N,qHtz  
      默认的UI template主题 qI#;j%V  
2O.i\cH  
struts.url.http.port #xX5,r0  
      The HTTP port used by Struts URLs -* WXMzr  
      设置http端口 925|bX6I  
n1ly y0%u  
struts.url.https.port !cO]<CWPq  
      The HTTPS port used by Struts URLs _B/ dWA,P  
      设置https端口 gMWjk7  
@+Si?8\  
struts.url.includeParams }o(zj=7  
      The default includeParams method to generate Struts URLs wt!nMQ  
      在url中产生 默认的includeParams %s|}Fz->  
q7_ m&-0)  
'98VYCL  
struts.velocity.configfile y(CS5v#FG  
      The Velocity configuration file path -likj# Z  
      velocity配置文件路径 6p?,(  
Xejo_SV&?  
struts.velocity.contexts 9Uj $K>:  
      List of Velocity context names x[h^[oF0  
      velocity的context列表 _+K_5IO4  
(tIo:j  
eJxw) zd7  
struts.velocity.manager.classname x=b7':nQ  
      org.apache.struts2.views.velocity.VelocityManager implementation class =t9\^RIx)?  
      org.apache.struts2.views.velocity.VelocityManager接口名 i V'k}rXC  
6-z%633DL  
struts.velocity.toolboxlocation i~I%D%;  
      The location of the Velocity toolbox M?Dfu .t  
      velocity工具盒的位置 (.D~0a JU  
struts.xslt.nocache NidIVbT.A  
      Whether or not XSLT templates should not be cached wQ^EYKD  
      是否XSLT模版应该被缓存 ';3{T:I  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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