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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 m:Z=: -x  
p0'A\@|  
struts.action.extension vpOzF>O  
      The URL extension to use to determine if the request is meant for a Struts action [<f\+g2ct  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a.wRJ  
mY;Y$fz;xL  
struts.configuration b_\aSEaTT  
      The org.apache.struts2.config.Configuration implementation class [^~Fu9+"  
        org.apache.struts2.config.Configuration接口名 Ou8@7S  
LuR.;TiW  
struts.configuration.files 9$ UjZ$ v  
      A list of configuration files automatically loaded by Struts (K^9$w]tf  
      struts自动加载的一个配置文件列表 y=5s~7]  
R}>Gk  
struts.configuration.xml.reload BE}lzn=sF  
      Whether to reload the XML configuration or not uK}k]x\z  
      是否加载xml配置(true,false) duT2:~H2  
ihf5`mk/$  
struts.continuations.package 0=L:8&m  
      The package containing actions that use Rife continuations l"b78n  
      含有actions的完整连续的package名称 IqcPml{\  
.CrahV1G  
struts.custom.i18n.resources :m^eNS6:  
      Location of additional localization properties files to load !Edc]rg7  
      加载附加的国际化属性文件(不包含.properties后缀) pmIQD"  
FeLWQn/aV6  
struts.custom.properties 9(ANhG  
      Location of additional configuration properties files to load _%z)Y=Q  
      加载附加的配置文件的位置 wgzjuTqwBF  
jD$T  
ryN/sjQC  
struts.devMode !u>29VN  
      Whether Struts is in development mode or not 4TC !P}  
      是否为struts开发模式 b\dBt#mB!  
Qighvei  
struts.dispatcher.parametersWorkaround m0XK?;\V  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic B.Ic8'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c,X\1yLy  
`m@06Q  
struts.enable.DynamicMethodInvocation 7GWPsaPn  
      Allows one to disable dynamic method invocation from the URL ~\:+y  
        允许动态方法调用 HrEZ]iQ@O0  
AEOo]b*&d  
struts.freemarker.manager.classname Aj SIM.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~*THL0]~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,? <jue/bd  
OUnt?[U\  
struts.i18n.encoding o&fAnpia=  
      The encoding to use for localization messages 76mQ$ze  
      国际化信息内码 {C|#<}1  
ZMy7z|  
struts.i18n.reload %+Mi~k*A'  
      Whether the localization messages should automatically be reloaded ^nFa'=  
      是否国际化信息自动加载 Pm7,Nq)<>n  
mNWmp_c,1  
struts.locale @H1pPr  
      The default locale for the Struts application jYO@ %bQ  
      默认的国际化地区信息 y<8)mw  
L8/o9N1  
struts.mapper.class j}#48{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3Ki`W!C  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 i1\xZ<|0  
|Tf}8e  
struts.multipart.maxSize Yf7n0Etd,  
      The maximize size of a multipart request (file upload) T"dX)~E;  
      multipart请求信息的最大尺寸(文件上传用) +:mj]`=  
bX=ht^e [  
struts.multipart.parser eIg ' !8h?  
      The org.apache.struts2.dispatcher.multipart. !+JSguy  
      MultiPartRequest parser implementation for a multipart request (file upload) (s,Nq~O  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) bx!Sy0PUJ  
^md7ezXL  
s80:.B  
struts.multipart.saveDir TW:vL~L  
      The directory to use for storing uploaded files k2,n:7  
      设置存储上传文件的目录夹 V.: a6>]  
= 14'R4:  
struts.objectFactory ]J5[ZVz  
      The com.opensymphony.xwork2.ObjectFactory implementation class it D%sKo  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `i,ZwnLh{  
%4imlP  
struts.objectFactory.spring.autoWire /vD5C  
      Whether Spring should autoWire or not 3E y#?   
      是否自动绑定Spring Bwn9ZYu#r  
K:465r:  
struts.objectFactory.spring.useClassCache m/cbRuPWgP  
      Whether Spring should use its class cache or not UI_|VU>J  
      是否spring应该使用自身的cache K>,Kbs=D6  
Y%anR|  
struts.objectTypeDeterminer `m`jX|`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *x)WF;(]g  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M5: f^  
k_-=:(Z  
struts.serve.static.browserCache lVARe3#  
If static content served by the Struts filter should set browser caching header properties or not 2:&8FdU  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 i8Yl1nF  
7==Uz?}C  
struts.serve.static N@58R9P<p  
      Whether the Struts filter should serve static content or not tA3]6SIK@  
      是否struts过滤器应该提供静态内容 v}+axu/?  
:BC 0f9  
struts.tag.altSyntax ;7K5Bo  
      Whether to use the alterative syntax for the tags or not QKE$>G  
      是否可以用替代的语法替代tags 9'Pyo`hJ#U  
S TVJu![  
struts.ui.templateDir %0Ulh6g;Dt  
      The directory containing UI templates o3]B/  
      UI templates的目录夹 />FrMz8;(  
>O9j},X  
struts.ui.theme kIiId8l  
      The default UI template theme JUF[Y^C  
      默认的UI template主题 ~i fq_Ag.  
&!N5}N&  
struts.url.http.port )[~ #j6  
      The HTTP port used by Struts URLs \#m;L/D  
      设置http端口 g4oFUyk{  
vD[@cm  
struts.url.https.port N+"Y@X yg  
      The HTTPS port used by Struts URLs "5synfO  
      设置https端口 jE&kN$.7j  
|Rhx&/  
struts.url.includeParams .%U~ r2Y(  
      The default includeParams method to generate Struts URLs - EF(J  
      在url中产生 默认的includeParams L<1"u.3Z`}  
=yz#L@\!  
!jU<(eY  
struts.velocity.configfile rf@/<Wu  
      The Velocity configuration file path <{[AG3/Zj4  
      velocity配置文件路径 h<Yn0(.  
&oWWc$  
struts.velocity.contexts Hm-+1Wx  
      List of Velocity context names B(:Kw;r?  
      velocity的context列表 6pLB`1[v  
!_?<-f(  
$P866F  
struts.velocity.manager.classname 7B"J x^  
      org.apache.struts2.views.velocity.VelocityManager implementation class f0IljY!.  
      org.apache.struts2.views.velocity.VelocityManager接口名 m{JiF-=u  
Bag2sk  
struts.velocity.toolboxlocation e%R+IH5i  
      The location of the Velocity toolbox f`:e#x  
      velocity工具盒的位置 hIXGfvUy  
struts.xslt.nocache QTz{ZNi!  
      Whether or not XSLT templates should not be cached U4 m[@wF  
      是否XSLT模版应该被缓存 JAC W#'4hV  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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